gcc 3.4.3 make bootstrap error chapter 5
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 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
RE: gcc 3.4.3 make bootstrap error chapter 5
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 In the chapter 5.4 donĀ“t need any patch, and in the 5.11 you only need aply : gcc-3.4.3-no_fixincludes-1.patch and gcc-3.4.3-specs-2.patch The gcc-3.4.3-linkonce-1.patch is for the chapter 6. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
about the nfs-server script
On all my LFS/BLFS builds, the nfs-server script seems to be a little buggy. There's always an 80 second delay when shutting down, and it always return [FAIL] even if the nfsd processes are actually killed. I've tried a few solutions from the BLFS-dev list. in the stop section, I changed 'killproc nfsd' to 'rpc.nfsd -- 0' which works. The problem the is that there's no message indicating success or failure. So i added 'evaluate_retval' after that command, but that always return success even if it's not e.g. processes not running it should return [WARN], and processes not stopped it should return [FAIL]. I'm trying to wrap it in some if() statements to see if I can get a nice solution to this, but if someone have already fixed it I would appreciate if you share it, and maybe update the script in SVN. Thanks --Tor Olav -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: gcc 3.4.3 make bootstrap error chapter 5
Henry Grefrath wrote: Hi, I have been following the book using the LiveCD 6.1.3 on my Toshiba Laptop Satellite Pro 430CDT. I'm not a LFS building expert but I would question whether your hardware platform has the resources for the job. That model laptop maxes RAM at 48MB and the standard hard drive is only 2 GB snip 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 Are you sure you that a lack of disk space is not the cause of the missing files? Regards Tony Sauri -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: gcc 3.4.3 make bootstrap error chapter 5
Hi Tony, I was hoping I could build a small system on this laptop. It has 32MB of RAM and I setup a 75MB swap partition. The rest of the hard disk 1.2GB is mounted as /mnt/lfs. So far I have only copied the sources onto the HD and I have build the binutils. Regards Henry At 24.10.2005 22:59 +1300, you wrote: Henry Grefrath wrote: Hi, I have been following the book using the LiveCD 6.1.3 on my Toshiba Laptop Satellite Pro 430CDT. I'm not a LFS building expert but I would question whether your hardware platform has the resources for the job. That model laptop maxes RAM at 48MB and the standard hard drive is only 2 GB snip 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 Are you sure you that a lack of disk space is not the cause of the missing files? Regards Tony Sauri -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: gcc 3.4.3 make bootstrap error chapter 5
Henry Grefrath wrote: Hi Tony, I was hoping I could build a small system on this laptop. It has 32MB of RAM and I setup a 75MB swap partition. The rest of the hard disk 1.2GB is mounted as /mnt/lfs. I think you might struggle with that, I'm afraid. Building just chapter 5 on an Athlon XP 2400+ with 512MB RAM and 512MB swap took just over 3.5 hours over the weekend (admittedly that included all the toolchain testsuites as well). A better approach, if possible, would be to utilise a much faster machine than your laptop, then copy the resulting system across, minus any binaries and libraries you don't require. Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page