Hi,
I am having a problem building GCC under the chroot environment (Chapter 6.12), similar to errors mentioned in two previous posts:-
http://www.linuxquestions.org/questi...d.php?t=444805
http://www.linuxquestions.org/questi...d.php?t=397346
The error, which occurs during the "make" step:-
Code:
In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64:
../../gcc-4.0.3/gcc/tsystem.h:90:19: stdio.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:93:23: sys/types.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:96:19: errno.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:103:20: string.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:104:20: stdlib.h: No such file or directory
../../gcc-4.0.3/gcc/tsystem.h:105:20: unistd.h: No such file or directory
In file included from /sources/gcc-build/gcc/include/syslimits.h:7,
from /sources/gcc-build/gcc/include/limits.h:11,
from ../../gcc-4.0.3/gcc/tsystem.h:108,
from ../../gcc-4.0.3/gcc/crtstuff.c:64:
/sources/gcc-build/gcc/include/limits.h:122:61: limits.h: No such file ordirectory
In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64:
../../gcc-4.0.3/gcc/tsystem.h:111:18: time.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
I am using the LFS Book 6.2 in conjunction with the LFS Live CD (lfslivecd-x86-6.2-5.iso). I'm installing LFS on a VMWare Player virtual machine.
So far I performed all the tests and the sanity checks that came before this step and they've been successful.
Oh, I also checked /usr/include and the headers seem to be there...
Any help would be appreciated
Cheers,
/Fuad