Strange problem with posix timers

lanas lanas at
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

/sysdeps/unix/clock_nanosleep.c:73:  undefined reference to

collect2: ld returned 1 exit status
make[2]: *** [/usr/src/glibc-build/rt/] 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.


More information about the lfs-support mailing list