[Clfs-support] Error Compiling GCC - Embeddedd
Luciano Greiner
luciano.greiner at gmail.com
Sun Mar 15 20:29:14 PDT 2009
Hi Jim.
I tryed everything again. Now i am not having missing headers errors
anymore, but, now my second stage gcc compile shows this error after
some minutes:
...
checking for i686-pc-linux-uclibc-lipo... i686-pc-linux-uclibc-lipo
checking for i686-pc-linux-uclibc-nm... /mnt/clfs/gcc-build/./gcc/nm
checking for i686-pc-linux-uclibc-ranlib...
/mnt/clfs/cross-tools/i686-pc-linux-
uclibc/bin/ranlib
checking for i686-pc-linux-uclibc-strip...
/mnt/clfs/cross-tools/i686-pc-linux-u
clibc/bin/strip
checking whether ln -s works... yes
checking for i686-pc-linux-uclibc-gcc...
/mnt/clfs/gcc-build/./gcc/xgcc -B/mnt/c
lfs/gcc-build/./gcc/
-B/mnt/clfs/cross-tools/i686-pc-linux-uclibc/bin/ -B/mnt/cl
fs/cross-tools/i686-pc-linux-uclibc/lib/ -isystem
/mnt/clfs/cross-tools/i686-pc-
linux-uclibc/include -isystem
/mnt/clfs/cross-tools/i686-pc-linux-uclibc/sys-inc
lude
checking for suffix of object files... configure: error: cannot
compute suffix o
f object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/clfs/gcc-build'
make: *** [all] Error 2
Do you know what may be going on?
Thank you!
Luciano Greiner
On Fri, Mar 13, 2009 at 12:53 AM, Jim Gifford <clfs at jg555.com> wrote:
> Luciano Greiner wrote:
>>
>> Hello.
>>
>> i am doing a fresh CLFS Embedded compile to run my own tiny pvr.
>>
>> Everything went ok until step 6.11 - GCC compiler final
>>
>> uClibc compile went ok.
>>
>> The error i got after running 'make':
>>
>> make[3]: Leaving directory
>> `/mnt/clfs/sources/gcc-build/i686-pc-linux-uclibc/libgcc'
>> /mnt/clfs/sources/gcc-build/./gcc/xgcc
>> -B/mnt/clfs/sources/gcc-build/./gcc/
>> -B/mnt/clfs/cross-tools/i686-pc-linux-uclibc/bin/
>> -B/mnt/clfs/cross-tools/i686-pc-linux-uclibc/lib/ -isystem
>> /mnt/clfs/cross-tools/i686-pc-linux-uclibc/include -isystem
>> /mnt/clfs/cross-tools/i686-pc-linux-uclibc/sys-include -O2 -g -g -O2
>> -O2 -O2 -g -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
>> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
>> -Wold-style-definition -isystem ./include -fPIC -g
>> -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I.
>> -I../.././gcc -I../../../gcc-4.3.3/libgcc
>> -I../../../gcc-4.3.3/libgcc/. -I../../../gcc-4.3.3/libgcc/../gcc
>> -I../../../gcc-4.3.3/libgcc/../include
>> -I../../../gcc-4.3.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
>> -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF
>> _muldi3.dep -DL_muldi3 -c ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c \
>> -fvisibility=hidden -DHIDE_EXPORTS
>> In file included from ../../../gcc-4.3.3/libgcc/../gcc/libgcc2.c:33:
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:90:19: error: stdio.h: No
>> such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:93:23: error: sys/types.h:
>> No such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:96:19: error: errno.h: No
>> such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:103:20: error: string.h: No
>> such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:104:20: error: stdlib.h: No
>> such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:105:20: error: unistd.h: No
>> such file or directory
>> ../../../gcc-4.3.3/libgcc/../gcc/tsystem.h:111:18: error: time.h: No
>> such file or directory
>> make[2]: *** [_muldi3.o] Error 1
>> make[2]: Leaving directory
>> `/mnt/clfs/sources/gcc-build/i686-pc-linux-uclibc/libgcc'
>> make[1]: *** [all-target-libgcc] Error 2
>> make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
>> make: *** [all] Error 2
>>
>> I am building from an Ubuntu 8 host machine
>>
>> $CLFS_HOST = i486-cross-linux-gnu
>> $MACHTYPE = i486-pc-linux-gnu
>>
>> uCLIBC - /mnt/clfs/usr/i386-linux-uclibc
>>
>>
>> Does anyone know why gcc isn't finding includes properly? It seems to
>> have find uClibc dirs during configure stage.
>>
>> Thanks!
>>
>> Luciano Greiner
>> _______________________________________________
>> Clfs-support mailing list
>> Clfs-support at lists.cross-lfs.org
>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>
>
> Sorry have been tied up with work, but did you validate the headers were
> installed into the /usr/include directory from the uClibc install section
> 6.10?
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>
More information about the Clfs-support
mailing list