Errors building gcc 3.4.3

Francesco Piccirillo frapic at gmail.com
Mon Nov 28 03:38:39 PST 2005


Hi all,
I've got these errors building gcc 3.4.3:

In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:94:20: unistd.h: No such file or directory
In file included from ./include/syslimits.h:7,
                 from ./include/limits.h:11,
                 from ../../gcc-3.4.3/gcc/tsystem.h:97,
                 from ../../gcc-3.4.3/gcc/crtstuff.c:62:
./include/limits.h:122:61: limits.h: No such file or directory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/LFS/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/LFS/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


Before this error given by 'make bootstrap' command, I've configured
Binutils and Gcc with the option --enable-stack-protector set on,
because I'd like to have the stack protection built in my own kernel.

Then I've patched gcc with the following patches:
- gcc-3.4.3-linkonce-1.patch
- gcc-3.4.3-no_fixincludes-1.patch
- gcc-3.4.3-specs-2.patch
- gcc-3.4-ssp-3.patch

Could anyone help me, please?
Thanks,
Francesco
Then



More information about the lfs-support mailing list