Many of the Android headers are not in the standard layout. You can use the following command to search for the NDK to locate the missing find . -name fcntl.h files find . -name fcntl.h find . -name fcntl.h . It looks like include <sys/fcntl.h> needs to be changed to include <fcntl.h> .
There is no pthread_cancel Android library pthread see "docs / OVERVIEW.html". It is easy to replace pthread_cancel .
I'm not sure what to do with mqueue .
Frohnzie
source share