Strange problem with posix timers

lanas lanas at securenet.net
Mon Feb 21 14:21:23 PST 2005


Hi all,

  I get the following rather strange error when compiling glibc (LFS
5.1.1) in Chap 05.  I've triple-checked the compile instructions and
verified if the environment (i.e. bashrc and .bash_profile of user) was
properly loaded.  So far, I have squarely no clue about what is the
problem exactly.  Here goes (lines may be wrapped by e-mail editor) :

../sysdeps/unix/clock_nanosleep.c:59: undefined reference to
`__libc_missing_posix_timers'

/usr/src/glibc-build/rt/librt_pic.a(clock_nanosleep.os)(.text+0x16d):..
/sysdeps/unix/clock_nanosleep.c:73:  undefined reference to
`__libc_missing_posix_timers'

collect2: ld returned 1 exit status
make[2]: *** [/usr/src/glibc-build/rt/librt.so] Error 1
make[2]: Leaving directory `/usr/src/glibc-2.3.3-lfs-5.1/rt'
make[1]: *** [rt/others] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.3.3-lfs-5.1'
make: *** [all] Error 2

Why would the posix timers be undefined ?  Aren"t they installed along
with glibc itself ?

Any hint would be greatly appreciated.

Al



More information about the lfs-support mailing list