chap 6.14 GCC build, failed

Howard Wang hwang at circadiant.com
Tue Oct 25 07:51:22 PDT 2005


Hi All,

while building gcc pass 2, it failed for the following:

/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory

I checked both LFS /usr/include/ and /tools/include dir, the entire dir
asm-generic is missing.

do we need this dir ? can I copy the entire dir from my suse 9.3 host ?

thanks

howard



/bin/sh ../../gcc-3.4.3/gcc/mkconfig.sh tconfig.h
/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/. -I../../gcc-3.4.3/gcc/../include   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
   -c ../../gcc-3.4.3/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from /usr/include/linux/errno.h:4,
                 from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from ../../gcc-3.4.3/gcc/tsystem.h:85,
                 from ../../gcc-3.4.3/gcc/crtstuff.c:62:
/usr/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/sources/gcc-build/gcc'
make: *** [all-gcc] Error 2
root:/sources/gcc-build#       



More information about the lfs-support mailing list