Errors compiling pthread (for mysql) on Mac OS X Server

Someone Else

Registered
Installed Mac OS X Server and Dev Tools. Trying to compile pthread to get mysql compiled and I'm getting the following errors. It seems to center around the header fil cthreads.h being missing. Anyone know why it wouldn't have been included on the Dev Tools installation? Thanks!



[localhost:~/Desktop/pthread]% make
/usr/bin/cc -arch ppc -O -Wmost -g -fno-common -I. -pipe -c -o ./pthread.o pcthreads.c
pthread.h:14: header file 'mach/cthreads.h' not found
pthread.h:44: undefined type, found `cthread_t'
pthread.h:44: undefined type, found `any_t'
pthread.h:44: undefined type, found `any_t'
pthread.h:45: undefined type, found `any_t'
pthread.h:46: undefined type, found `cthread_t'
pthread.h:48: undefined type, found `cthread_t'
pthread.h:50: undefined type, found `mutex_t'
pthread.h:51: undefined type, found `mutex_t'
pthread.h:52: undefined type, found `mutex_t'
pthread.h:53: undefined type, found `mutex_t'
pthread.h:58: undefined type, found `any_t'
pthread.h:59: undefined type, found `condition_t'
pthread.h:60: undefined type, found `condition_t'
pthread.h:61: undefined type, found `condition_t'
pthread.h:62: undefined type, found `condition_t'
pthread.h:62: undefined type, found `mutex_t'
pcthreads.c:438: undefined type, found `any_t'
pcthreads.c:526: undefined type, found `cthread_t'
pcthreads.c:528: undefined type, found `any_t'
pcthreads.c:529: undefined type, found `any_t'
pcthreads.c:568: illegal function call, found `funcptr'
pcthreads.c:578: undefined type, found `cthread_t'
pcthreads.c:586: undefined type, found `mutex_t'
pcthreads.c:614: undefined type, found `mutex_t'
pcthreads.c:636: undefined type, found `mutex_t'
pcthreads.c:658: undefined type, found `mutex_t'
pcthreads.c:667: undefined type, found `condition_t'
pcthreads.c:676: undefined type, found `condition_t'
pcthreads.c:694: undefined type, found `condition_t'
pcthreads.c:713: undefined type, found `condition_t'
pcthreads.c:714: undefined type, found `mutex_t'
pcthreads.c:839: undefined type, found `any_t'
pcthreads.c:925: undefined type, found `cthread_t'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make: *** [pthread.o] Error 1
 
Back
Top