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