> >> I am using the lfs 6.3 book with the lfs liveCD as my installation >> medium and when trying to compile it exits with the error given below >> >> //////////ERROR//////////////// >> gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/signal.c -c -std=gnu99 -O2 >> -Wall -Winline -Wwrite-strings -fmerge-all-constants -g >> -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include >> -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build >> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 >> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 >> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread >> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu >> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv >> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix >> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu >> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 >> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu >> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 >> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 >> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 >> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio >> -I. -nostdinc -isystem >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem >> /tools/include -D_LIBC_REENTRANT -include >> ../include/libc-symbols.h -o >> /mnt/lfs/tools/glibc-build/signal/signal.o -MD -MP -MF >> /mnt/lfs/tools/glibc-build/signal/signal.o.dt -MT >> /mnt/lfs/tools/glibc-build/signal/signal.o >> gcc -B/tools/bin/ ../nptl/sysdeps/unix/sysv/linux/raise.c -c -std=gnu99 >> -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g >> -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include >> -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build >> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 >> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 >> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread >> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu >> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv >> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix >> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu >> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 >> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu >> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 >> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 >> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 >> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio >> -I. -nostdinc -isystem >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem >> /tools/include -D_LIBC_REENTRANT -include >> ../include/libc-symbols.h -o >> /mnt/lfs/tools/glibc-build/signal/raise.o -MD -MP -MF >> /mnt/lfs/tools/glibc-build/signal/raise.o.dt -MT >> /mnt/lfs/tools/glibc-build/signal/raise.o >> gcc -B/tools/bin/ ../sysdeps/posix/killpg.c -c -std=gnu99 -O2 -Wall >> -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes >> -mpreferred-stack-boundary=2 -I../include >> -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build >> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 >> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 >> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread >> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu >> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv >> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix >> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu >> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 >> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu >> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 >> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 >> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 >> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio >> -I. -nostdinc -isystem >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem >> /tools/include -D_LIBC_REENTRANT -include >> ../include/libc-symbols.h -o >> /mnt/lfs/tools/glibc-build/signal/killpg.o -MD -MP -MF >> /mnt/lfs/tools/glibc-build/signal/killpg.o.dt -MT >> /mnt/lfs/tools/glibc-build/signal/killpg.o >> gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/i386/sigaction.c -c >> -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g >> -Wstrict-prototypes -mpreferred-stack-boundary=2 >> -DWRAPPER_INCLUDE='<nptl/sigaction.c>' -I../include >> -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build >> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 >> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 >> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread >> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu >> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv >> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix >> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu >> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 >> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu >> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 >> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 >> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 >> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio >> -I. -nostdinc -isystem >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem >> /tools/include -D_LIBC_REENTRANT -include >> ../include/libc-symbols.h -o >> /mnt/lfs/tools/glibc-build/signal/sigaction.o -MD -MP -MF >> /mnt/lfs/tools/glibc-build/signal/sigaction.o.dt -MT >> /mnt/lfs/tools/glibc-build/signal/sigaction.o >> gcc -B/tools/bin/ ../nptl/sysdeps/pthread/sigprocmask.c -c -std=gnu99 >> -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g >> -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include >> -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build >> -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 >> -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 >> -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread >> -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu >> -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet >> -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv >> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix >> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu >> -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 >> -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu >> -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 >> -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 >> -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 >> -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio >> -I. -nostdinc -isystem >> /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem >> /tools/include -D_LIBC_REENTRANT -include >> ../include/libc-symbols.h -o >> /mnt/lfs/tools/glibc-build/signal/sigprocmask.o -MD -MP -MF >> /mnt/lfs/tools/glibc-build/signal/sigprocmask.o.dt -MT >> /mnt/lfs/tools/glibc-build/signal/sigprocmask.o >> make[2]: *** No rule to make target >> `/mnt/lfs/tools/glibc-build/s-proto.d', needed by >> `/mnt/lfs/tools/glibc-build/signal/kill.o'. Stop. >> make[2]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1/signal' >> make[1]: *** [signal/subdir_lib] Error 2 >> make[1]: Leaving directory `/mnt/lfs/tools/glibc-2.5.1' >> make: *** [all] Error 2 >> ////////////////////////////////// >> >> Also, here is what i ran for the configure (copied out of the book) >> >> ///////////////////////////////// >> ../glibc-2.5.1/configure --prefix=/tools --disable-profile >> --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/tools/bin >> --without-gd --with-headers=/tools/include --without-selinux >> ///////////////////////////////// >> >> I searched the mailing lists for a few hours and found no help on that. >> Thanks in advance for any suggestions and/or ideas >> >> > Just a shot in the dark, but, as far as you know everything go alright > in 5.5 Linux-2.6.22.5 API Headers? Check to see what is in > /tools/include. Unfortunately I don't have my LFS build machine running > right now, so I don't remember exactly what files go there at that time. > My experience has been at that stage that the problem is usually what > was done immediately before the problem showed. > Thanks for the help. I was actually able to get it compile and here is what I did.
After your reply I started my lfs system over completely since I wasn't very far, but again I came up with the same problem. I deleted the folders glibc-build, linux-2.6.22.5, and include. I then recompiled the Linux API Headers (everything seemed to go the same as previous times). However, when I ran the configure script for glibc I changed all the /tools* to /mnt/lfs/tools*, and it compiled correctly. Here is my modified configure commmand. ../glibc-2.5.1/configure --prefix=/mnt/lfs/tools --disable-profile --enable-add-ons --enable-kernel=2.6.0 --with-binutils=/mnt/lfs/tools/bin --without-gd --with-headers=/mnt/lfs/tools/include --without-selinux -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
