[uClinux-dev] Re: uClinux-dev Digest, Vol 70, Issue 8

Peter Voslak voslak at gmail.com
Thu Feb 12 19:49:33 EST 2009


> I have downloaded uClinux-dist-20080808, gcc version 4.3.1 20080507
> (prerelease) and while compling on my openSUSE11 I got "unknown
> arm-linux-gcc" (I have also gnuarm 3.4.3 installed - could that be the
> case?). So I have downloaded arm-linux-tools-20070808 - this fixed
> 'arm-linux-gcc' issue. Now I am getting new error. After running 'make
> xconfig' and selecting LPC2294, 2.6 kernel and uC-lib I can not
> 'make':
> ...
> checking build system type... i686-pc-linux-gnu
> checking host system type... arm-unknown-linux-gnu
> checking target system type... arm-unknown-linux-gnu
> checking for arm-linux-gcc... ucfront-gcc arm-linux-gcc
> checking for C compiler default output file name... configure: error:
> C compiler cannot create executables
> See `config.log' for more details.
> make[3]: *** [build/build] Error 77
> ...
>
> Error 77 is defined as 'File descriptor in bad condition'.

I found that the problem is that during compilation there is a command issued:

rm -rf build
mkdir build
(cd build; sh ../configure --host=arm-linux --build=i686-pc-linux-gnu
--target=arm-linux --with-pcap=linux
--with-headers=/home/voslak/uClinux-dist/include)

It looks that the folder 'build' has no options set to 'write' in the
directory. How can I find where this command comes from (which file),
or is there any other way to fix it?

I think that this can help but have to know the name of file:

rm -rf build
mkdir build
chmod 777 build


I also installed flex and bison - compiler was also complaining about them.

Regards,
Peter Voslak.



More information about the uClinux-dev mailing list