Hello All, I'm trying to compile PJSIP library on my mac and i'm getting below error. Could anyone tell me if i'm doing something wrong please? Commands, ./configure --host=arm-elf-linux; $ make dep $ make *../src/pj/os_core_unix.c:1128:40: **error: * > *use of undeclared identifier 'PTHREAD_MUTEX_FAST_NP'* rc = > pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_FAST_NP); > > * ^**../src/pj/os_core_unix.c:1138:40: > **error: * > *use of undeclared identifier 'PTHREAD_MUTEX_RECURSIVE_NP'* rc = > pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); > > * ^**../src/pj/os_core_unix.c:1588:9: > **warning: * > *'sem_init' is deprecated [-Wdeprecated-declarations]* if (sem_init( > sem->sem, 0, initial) != 0) > > * ^**/usr/include/sys/semaphore.h:55:5: note: *'sem_init' has been > explicitly marked deprecated here > int sem_init(sem_t *, int, unsigned int) __deprecated; > > * ^**../src/pj/os_core_unix.c:1711:14: **warning: * > *'sem_destroy' is deprecated [-Wdeprecated-declarations]* result = > sem_destroy( sem->sem ); > > * ^**/usr/include/sys/semaphore.h:53:5: note: *'sem_destroy' > has been explicitly marked deprecated here > int sem_destroy(sem_t *) __deprecated; > > * ^*2 warnings and 2 errors generated. > make[2]: *** [output/pjlib-arm-unknown-linux-uclibcgnueabi/os_core_unix.o] > Error 1 > make[1]: *** [libpj-arm-unknown-linux-uclibcgnueabi.a] Error 2 > make: *** [all] Error 1 Best Regards, Prasad. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160104/712763ac/attachment.html>