In file included from ../include/openpbx/linkedlists.h:23, from ../include/openpbx/chanvars.h:26, from ../include/openpbx/channel.h:29, from stubfunctions-adsi.c:18: ../include/openpbx/lock.h: In function 'opbx_mutex_init': ../include/openpbx/lock.h:518: warning: implicit declaration of function 'pthread_mutexattr_settype' ../include/openpbx/lock.h:518: error: 'PTHREAD_MUTEX_RECURSIVE' undeclared (first use in this function) ../include/openpbx/lock.h:518: error: (Each undeclared identifier is reported only once ../include/openpbx/lock.h:518: error: for each function it appears in.) make[3]: *** [libopenpbx_la-stubfunctions-adsi.lo] Error 1 make[3]: Leaving directory `/usr/src/openpbx/corelib' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/src/openpbx/corelib' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/src/openpbx/corelib' make: *** [install-recursive] Error 1 [root@localhost openpbx]#