On Thursday 10 April 2008, Andrew Morton wrote:
> librttest.c: In function `init_pi_mutex':
> librttest.c:463: warning: implicit declaration of function
> `pthread_mutexattr_setprotocol' librttest.c:463: error:
> `PTHREAD_PRIO_INHERIT' undeclared (first use in this function)
> librttest.c:463: error: (Each undeclared identifier is reported only once
> librttest.c:463: error: for each function it appears in.)
> librttest.c:466: warning: implicit declaration of function
> `pthread_mutexattr_ge

old glibc ?  pthread.h should be defining PTHREAD_PRIO_INHERIT when 
_GNU_SOURCE is defined.

echo '#include <pthread.h>' | gcc -D_GNU_SOURCE -E -dD - | grep PRIO
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to