gcc -DHAVE_CONFIG_H -I. -I. -I./include -I/home/jcollie/openpbx/include -I. -D__Darwin__ -fomit-frame-pointer -D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -O2 -c -o openpbx-sched.o `test -f 'sched.c' || echo './'`sched.c
In file included from sched.c:37:
include/openpbx.h:16:22: warning: extra tokens at end of #include directive
In file included from ./include/openpbx/linkedlists.h:23,
from ./include/openpbx/chanvars.h:26,
from ./include/openpbx/channel.h:29,
from sched.c:43:
./include/openpbx/lock.h: In function opbx_mutex_init:
./include/openpbx/lock.h:495: warning: implicit declaration of function pthread_mutexattr_settype
./include/openpbx/lock.h:495: error: PTHREAD_MUTEX_RECURSIVE undeclared (first use in this function)
./include/openpbx/lock.h:495: error: (Each undeclared identifier is reported only once
./include/openpbx/lock.h:495: error: for each function it appears in.)
make[1]: *** [openpbx-sched.o] Error 1
make[1]: Leaving directory `/home/jcollie/openpbx'
make: *** [all-recursive] Error 1