On Thu, 2006-09-28 at 16:36 -0700, bob wrote: > Help, > > I am pretty new to Linux, and I'm getting "No such file or directory" > during 'make bootstrap' > > 1. LFS Book version: 6.2 > > 2. Host system: Debian 3.1 (sarge) > > 3. Problem section: 5.4. GCC-4.0.3 - Pass 1 > > 4. Error from 'make bootstrap' > In file included from ../../gcc-4.0.3/gcc/crtstuff.c:64: > ../../gcc-4.0.3/gcc/tsystem.h:90:19: error: stdio.h: No such file or > directory > ../../gcc-4.0.3/gcc/tsystem.h:93:23: error: sys/types.h: No such file or > directory > ../../gcc-4.0.3/gcc/tsystem.h:96:19: error: errno.h: No such file or > directory > ../../gcc-4.0.3/gcc/tsystem.h:103:20: error: string.h: No such file or > directory > ../../gcc-4.0.3/gcc/tsystem.h:104:20: error: stdlib.h: No such file or > directory > ../../gcc-4.0.3/gcc/tsystem.h:105:20: error: unistd.h: No such file or > directory > ./include/limits.h:122:61: error: limits.h: No such file or directory > ../../gcc-4.0.3/gcc/tsystem.h:111:18: error: time.h: No such file or > directory > make[2]: *** [crtbegin.o] Error 1I do not have a $LFS/usr directory. > make[1]: *** [stage1_build] Error 2 > make: *** [bootstrap] Error 2 > > 5. I think I followed the book. > > I cut and pated the text of the configure and make statements into a > terminal window where I executed them as commands. The output from > configure was clean. I received the same error both with and without > the patch. When I applied the patch, I entered it as "patch -Np1 > -i ../gcc-4.0.3-specs-1.patch" > > "Hello world" compiles and runs OK. > > A reply in > http://archives.linuxfromscratch.org/mail-archives/lfs-support/2005-September/028445.html > asks whether the poster looked at $LFS/usr/include/stdio.h. My $LFS/usr > is empty. > > What am I doing wrong? > > Thanks, > Bob >
The line that says "make[2]: *** [crtbegin.o] Error 1I do not have a $LFS/usr directory" should have said "make[2]: *** [crtbegin.o] Error 1" -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
