Disable declarations for NPTL.

Khem Raj kraj at mvista.com
Tue Jan 30 00:06:10 UTC 2007


Hi Steven,

The patch committed below to trunk

http://uclibc.org/lists/uclibc-cvs/2007-January/010942.html


is giving me this error on ARM NPTL


libc/libc_so.a(closedir.os): In function `closedir':
closedir.c:(.text+0x2a): undefined reference to 
`_pthread_cleanup_push_defer'
closedir.c:(.text+0x42): undefined reference to 
`_pthread_cleanup_pop_restore'
make[1]: *** [lib/libc.so] Error 1
make: *** [lib/libc.so.0] Error 2


I noticed that libc/misc/closedir.c used macros __UCLIBC_MUTEX_LOCK and 
__UCLIBC_MUTEX_UNLOCK
defined in (./libc/sysdeps/linux/common/bits/uClibc_mutex.h)
which are using these functions.

Thanks

-Khem



More information about the uClibc mailing list