gcc 3.4.3 make bootstrap error chapter 5

Henry Grefrath henry at grefrath.net
Mon Oct 24 00:20:12 PDT 2005


Hi,

I have been following the book using the LiveCD 6.1.3 on my Toshiba 
Laptop Satellite Pro 430CDT.

I used all the sources from the live CD and I applied the following 
patches from the CD:
gcc-3.4.3-linkonce-1.patch
gcc-3.4.3-no_fixincludes-1.patch
gcc-3.4.3-specs-2.patch

make bootstrap ended in the following error:

..... -o crtbegin.o
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:19: 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 '/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2

I have tried now two times and always I get the same error. Could 
that be a problem with the CD or do I need to set some more path 
variables. Currently these are set:
HOME="/home/lfs"
LC_ALL="POSIX"
LFS="/mnt/lfs"
OLDPWD="/mnt/lfs/sources"
PATH="/tools/bin:/bin:/usr/bin"
PS1="\\u:\\w\\\$ "
PWD="/mnt/lfs/sources/gcc-build"
SHLVL="1"
TERM="linux"

Thanks and Kind Regards
Henry




More information about the lfs-support mailing list