MacOS X 10.3 build problems
flip phillips <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Trying to build on MacOS X 10.3 reveals a compile issue with pthreads- [ebv.skidmore.edu] % make gcc -D_REENTRANT=1 -I. -Igw -DDARWIN=1 -I/usr/include/libxml2 -o gw/bb_smscconn.o -c gw/bb_smscconn.c gw/bb_smscconn.c:108: error: `PTHREAD_RWLOCK_INITIALIZER' undeclared here (not in a function) gw/bb_smscconn.c:108: error: initializer element is not constant gw/bb_smscconn.c:108: error: (near initialization for `smsc_list_lock.rwlock') make: *** [gw/bb_smscconn.o] Error 1 indeed, pthread.h contains no PTHREAD_RWLOCK_INITIALIZER which is interesting, since configure gives: Checking for POSIX threads support ... checking for working pthreads... yes checking for pthread_spinlock support... no checking for pthread_rwlock support... yes bug? -- flip phillips, phd http://www.skidmore.edu/~flip