Hello,
Just an obvious fixup for the pthread_exit function, see attached patch.
Samuel
--- ./stubs.c.orig 2009-11-02 01:21:03.000000000 +0100
+++ ./stubs.c 2009-11-02 01:21:12.000000000 +0100
@@ -157,7 +157,7 @@
#ifndef HAVE_PTHREAD_EXIT
#define NEED_EXIT_STUB
# ifdef SUPPORT_ATTRIBUTE_ALIAS
-int pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub")));
+void pthread_exit() __attribute__ ((weak, alias ("__pthread_exit_stub")));
# else
# pragma weak pthread_exit = __pthread_exit_stub
# endif