I am trying to compile libupnp 1.6.18 for android system. It seems that the bionic does not implement full posix thread functionality. I am able to configure it but if fails in the build throwing this error
/Volumes/androidSpace/nomad/toolchain/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: common/tv_ctrlpt-sample_util.o: in function SampleUtil_Initialize:common/sample_util.c:68: error: undefined reference to 'pthread_mutexattr_setkind_np
Does anybody know whats the best way to resolve this issue?