Hopefully, the subject line is clear enough. In any case, here are
the details:
Host: Debian Testing (Sarge)
Kernel 2.6.8-1-386
During the second pass on GCC 3.4.1 (page 80 of the LFS 6.0 book in
PDF format), I get the following errors when running the 'make' command:
(...)
TARGET_CPU_DEFAULT="" \
HEADERS="ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-3.4.1/gcc/mkconfig.sh tconfig.h
/mnt/lfs/sources/gcc-build/gcc/xgcc -B/mnt/lfs/sources/gcc-build/gcc/ \
-B/tools/i686-pc-linux-gnu/bin/ -B/tools/i686-pc-linux-gnu/lib/ -isystem
/tools/i686-pc-linux-gnu/include -isystem
/tools/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I. -I../../gcc-3.4.1/gcc
-I../../gcc-3.4.1/gcc/. -I../../gcc-3.4.1/gcc/../include -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer \
-c ../../gcc-3.4.1/gcc/crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /tools/include/linux/errno.h:4,
from /tools/include/bits/errno.h:25,
from /tools/include/errno.h:36,
from ../../gcc-3.4.1/gcc/tsystem.h:85, from
../../gcc-3.4.1/gcc/crtstuff.c:62:
/tools/include/asm/errno.h:4:31: asm-generic/errno.h: No such file or
directory make[1]: *** [crtbegin.o] Error 1 make[1]: Leaving directory
`/mnt/lfs/sources/gcc-build/gcc' make: *** [all-gcc] Error 2
I have done some searches, but only came across the following link:
http://www.linuxquestions.org/questions/archive/13/2004/06/4/180993
However, I'm using glibc-2.3.4-20040701.tar.bz2 as downloaded from the
following location:
http://mirrors.angelinacounty.net/pub/lfs/lfs-packages/6.0/
Am I using the wrong glibc package? Does anyone have a suggestion as to
how solve the problem? Incidentally, I *assume* I should follow the
directions for the second pass by unpacking the GCC sources from scratch
again, right? I mean, I'm not supposed to continue where I had left the
source tree during the first pass, correct?
I'd appreciate any suggestions. Thanks in advance.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page