error glibc-2.3.3-lfs-5.1 make check chapter 5

ESPASA Franck anklinux at wanadoo.fr
Mon Jul 12 23:14:44 PDT 2004


I use Fedore-core1 to make my LFS 5.1.1, when i make
glibc-2.3.3-lfs-5.1, I get following compile error:

../linuxthreads/sysdeps/pthread/timer_create.c:61: undefined reference to `pthread_once'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_delete.os)(.text+0xf4): In function `timer_delete':
../linuxthreads/sysdeps/pthread/timer_delete.c:51: undefined reference to `_pthread_cleanup_push'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_delete.os)(.text+0x10a):../linuxthreads/sysdeps/pthread/timer_delete.c:57: undefined reference to `_pthread_cleanup_pop'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x201): In function `__timer_init_once':
../linuxthreads/sysdeps/pthread/timer_routines.c:221: undefined reference to `pthread_atfork'
/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x5ec): In function `thread_func':
../linuxthreads/sysdeps/pthread/timer_routines.c:382: undefined reference to `_pthread_cleanup_push'/mnt/lfs/sources/glibc-build/rt/librt_pic.a(timer_routines.os)(.text+0x84c): In function `__timer_thread_start':
../linuxthreads/sysdeps/pthread/timer_routines.c:492: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[2]: *** [/mnt/lfs/sources/glibc-build/rt/librt.so] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.3-lfs-5.1'
make: *** [check] Error 2
lfs:/mnt/lfs/sources/glibc-build$

Can anyone help me ????

thanks !



More information about the lfs-support mailing list