[LFS 6.7] 5.10. GCC-4.5.1 - Pass 2 compile error

Mateusz Kaźmierczak kazik117 at gmail.com
Tue Nov 30 15:28:16 PST 2010


Hello,

When I compile gcc I have that error:

/mnt/lfs/sources/gcc-build/./gcc/xgcc
-B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/x86_64-lfs-linux-gnu/bin/
-B/tools/x86_64-lfs-linux-gnu/lib/ -isystem
/tools/x86_64-lfs-linux-gnu/include -isystem
/tools/x86_64-lfs-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -fomit-frame-pointer -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc  -I. -I. -I../.././gcc -I../../../gcc-4.5.1/libgcc
-I../../../gcc-4.5.1/libgcc/. -I../../../gcc-4.5.1/libgcc/../gcc
-I../../../gcc-4.5.1/libgcc/../include
-I../../../gcc-4.5.1/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS  -DUSE_TLS -o bid_decimal_globals.o -MT
bid_decimal_globals.o -MD -MP -MF bid_decimal_globals.dep -c
../../../gcc-4.5.1/libgcc/config/libbid/bid_decimal_globals.c
../../../gcc-4.5.1/libgcc/config/libbid/bid_decimal_globals.c:47:18:
fatal error: fenv.h: No such file or directory
compilation terminated.
make[2]: *** [bid_decimal_globals.o] Error 1
make[2]: Leaving directory
`/mnt/lfs/sources/gcc-build/x86_64-lfs-linux-gnu/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2

I run command the same as in book.
What's wrong?

-- 
Mateusz Kaźmierczak



More information about the lfs-support mailing list