[oe] pthread issue with GNU_SOURCE

E Robertson e.robertson.svg at gmail.com
Wed Jul 2 21:44:56 UTC 2008


Hi,
I haven't been able to explain this and I'm looking for some help.
I'm building the microwindows package and always stuck with this error:

 error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' undeclared here (not in a 
function)

It is defined in pthread.h and after some checking the headers is included 
properly. I explicitly defined _GNU_SOURCE to be true in the package for it 
to compile.

I checked the header files used by pthread.h and it is alredy defined. Does 
anyone knows what could be the cause?




More information about the Openembedded-devel mailing list