And another warning: abort() used but <stdlib.h> not included. Fix:
2009-01-25 Bruno Haible <br...@clisp.org> * lib/glthread/threadlib.c: Include <stdlib.h>. --- lib/glthread/threadlib.c.orig 2009-01-25 23:43:45.000000000 +0100 +++ lib/glthread/threadlib.c 2009-01-25 23:42:40.000000000 +0100 @@ -26,6 +26,7 @@ /* Use the POSIX threads library. */ # include <pthread.h> +# include <stdlib.h> # if PTHREAD_IN_USE_DETECTION_HARD