Try this
http://www.opensubscriber.com/message/aolserver@listserv.aol.com/1619884.html"his was my fault, being overzealous in the very broad #ifdef check.
Really need to test for LinuxThreads and use #ifdef HAVE_LINUXTHREADS.
Newer Linux has NPTL and not LinuxThreads.
You can just comment out the pthread_kill_other_threads_np() line and
you should be fine.
To check whether your system is using LinuxThreads or NPTL, you can try
this:
$ getconf GNU_LIBPTHREAD_VERSION
NPTL 0.60
That's from my system, running Debian with a custom 2.6.10 kernel and
libc6 2.3.2, here. "