On Thu, 2008-04-10 at 19:49 -0700, Andrew Morton wrote:
> On Thu, 10 Apr 2008 19:46:00 -0700 Andrew Morton <[EMAIL PROTECTED]> 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
> 

OK, so older glibc's (like that in FC3) won't have the necessary bits
for PI mutexes.  Subrata, from an LTP point of view, how should this be
detected?  I presume the "right thing" in this case is to detect the
fact that PTHREAD_PRIO_INHERIT doesn't exist (or perhaps just check the
glibc version) and not attempt to build the 'realtime' testsuite.  The
other question is if realtime should be enabled by default - I don't
recall if it is or not.

Andrew, were you just trying a standard build of LTP, or did you
specifically attempt to build the realtime tests?


> And quite a few failures after that one.  I ended up deleting 20-odd
> lines from 4-odd files.  Just chopped away until it worked.
> 
> -------------------------------------------------------------------------
> 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
-- 
Darren Hart
Real-Time Linux Team
IBM Linux Technology Center


-------------------------------------------------------------------------
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