Re: LFS version 6.6 Chapter 6.9.1 error
You're right. I noticed that the file system was pretty corrupted. Luckily it wasn't too far from the point where I took a snapshot of the tools, etc. On 10 May 2010 00:03, Ken Moffat zarniwhoo...@googlemail.com wrote: On 9 May 2010 04:47, nidujay nidu...@gmail.com wrote: Hi, I get the following errors with glibc installation: Make install ... /sources/glibc-build/csu/init-first.o In file included from ../posix/unistd.h:887, from ../include/unistd.h:2, from ../sysdeps/unix/sysv/linux/init-first.c:23: ../include/getopt.h:4:26: error: posix/getopt.h: No such file or directory That file is part of glibc. You said you are building on a usb stick, I wonder if it has become damaged ? If your stick is mounted as /mnt/lfs it will be subjected to a lot of i/o during the build. We've all seen discussions about how many times we can write to solid-state disks before they fail - usb sticks are probably the poor brother of solid state drives for this. ĸen -- After tragedy, and farce, OMG poneys! -- 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: LFS version 6.6 Chapter 6.9.1 error
On 9 May 2010 04:47, nidujay nidu...@gmail.com wrote: Hi, I get the following errors with glibc installation: Make install ... /sources/glibc-build/csu/init-first.o In file included from ../posix/unistd.h:887, from ../include/unistd.h:2, from ../sysdeps/unix/sysv/linux/init-first.c:23: ../include/getopt.h:4:26: error: posix/getopt.h: No such file or directory That file is part of glibc. You said you are building on a usb stick, I wonder if it has become damaged ? If your stick is mounted as /mnt/lfs it will be subjected to a lot of i/o during the build. We've all seen discussions about how many times we can write to solid-state disks before they fail - usb sticks are probably the poor brother of solid state drives for this. ĸen -- After tragedy, and farce, OMG poneys! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
LFS version 6.6 Chapter 6.9.1 error
Hi, I get the following errors with glibc installation: Make install ... /sources/glibc-build/csu/init-first.o In file included from ../posix/unistd.h:887, from ../include/unistd.h:2, from ../sysdeps/unix/sysv/linux/init-first.c:23: ../include/getopt.h:4:26: error: posix/getopt.h: No such file or directory make[2]: *** [/sources/glibc-build/csu/init-first.o] Error 1 make[2]: Leaving directory `/sources/glibc-2.11.1/csu' make[1]: *** [csu/subdir_lib] Error 2 make[1]: Leaving directory `/sources/glibc-2.11.1' make: *** [install] Error 2 Prior to that I got the following errors with make check: ... /sources/glibc-build/stdlib/tst-strtod4 /sources/glibc-build/stdlib/tst-strto d4.out Timed out: killed the child process make[2]: *** [/sources/glibc-build/stdlib/tst-strtod4.out] Error 1 ... /sources/glibc-build/stdlib/tst-strtod5 /sources/glibc-build/stdlib/tst-strto d5.out Timed out: killed the child process make[2]: *** [/sources/glibc-build/stdlib/tst-strtod5.out] Error 1 ... ... /sources/glibc-build/posix/annexc.out make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) ... I assumed that I was getting the timeout errors because I'm building on a USB stick. My host system specs are: cat /proc/version Linux version 2.6.24-26-generic (bui...@vernadsky) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Tue Dec 1 18:37:31 UTC 2009 l...@jangiya:/mnt/lfs/sources/glibc-build$ cat /proc/cpuinfo processor: 0 vendor_id: AuthenticAMD cpu family: 6 model: 8 model name: AMD Athlon(tm) XP 2000+ stepping: 1 cpu MHz: 1665.469 cache size: 256 KB fdiv_bug: no hlt_bug: no f00f_bug: no coma_bug: no fpu: yes fpu_exception: yes cpuid level: 1 wp: yes flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts bogomips: 3330.93 clflush size: 32 Any idea what I can do? Thanks, D -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS version 6.6 Chapter 6.9.1 error
On Sat, May 8, 2010 at 10:47 PM, nidujay nidu...@gmail.com wrote: ... /sources/glibc-build/csu/init-first.o In file included from ../posix/unistd.h:887, from ../include/unistd.h:2, from ../sysdeps/unix/sysv/linux/init-first.c:23: ../include/getopt.h:4:26: error: posix/getopt.h: No such file or directory That's not good... I've never ran into that when I was building LFS, so maybe something's not right with the Chapter 5 toolchain? I think you should investage this further. Prior to that I got the following errors with make check: ... /sources/glibc-build/stdlib/tst-strtod4 /sources/glibc-build/stdlib/tst-strto d4.out Timed out: killed the child process make[2]: *** [/sources/glibc-build/stdlib/tst-strtod4.out] Error 1 ... /sources/glibc-build/stdlib/tst-strtod5 /sources/glibc-build/stdlib/tst-strto d5.out Timed out: killed the child process make[2]: *** [/sources/glibc-build/stdlib/tst-strtod5.out] Error 1 ... ... /sources/glibc-build/posix/annexc.out make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored) ... I assumed that I was getting the timeout errors because I'm building on a USB stick. It's more likely that they were because that you were building this on old hardware (ie: a Athlon XP 2000+ clocked at 1.66 gigahertz), in which it's normal to have some tests have their timeout's exceed. As for the previous problem, that needs some more investegating, as I've never seen that happen before. -- William Immendorf The ultimate in free computing. Messages in plain text, please, no HTML. GPG key ID: 1697BE98 If it's not signed, it's not from me. -- Every nonfree program has a lord, a master -- and if you use the program, he is your master. Richard Stallman -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page