LFS version 6.6 Chapter 6.9.1 error

nidujay nidujay at gmail.com
Sat May 8 20:47:19 PDT 2010


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 (buildd at vernadsky) (gcc version 4.2.4
(Ubuntu 4.2.4-1ubuntu3)) #1 SMP Tue Dec 1 18:37:31 UTC 2009

lfs at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20100509/40985b91/attachment.html>


More information about the lfs-support mailing list