[Plib-users] Re: ./configure opengl problem
Brought to you by:
sjbaker
From: McEvoy, N. <nic...@ds...> - 2002-11-07 05:24:28
|
Steve Baker wrote: >> ./configure --with-GL=/usr > ^^^^^^^^^^^^^^ > Why this? > >Does a straight "./configure" without the "--with-GL=/usr" work? I can't quite remember what I was doing using --with-GL option !? I think the "./configure" was failing so I started mucking around with it (I misunderstood the purpose of this option I think) ... and your right ... I don't need it (but I can't confirm this now as I'm at work). As you point out it seems to be failing on expecting pthread linkage. >> /usr/X11R6/lib/libGL.a(glthread.o): In function `_glthread_InitTSD': >> glthread.o(.text+0x28): undefined reference to `pthread_key_create' >It seems to be missing Pthreads (-lpthread) >Some versions of Mesa need it - and are not pre-linked with it...so >OpenGL applications under Linux are recommended to link to pthreads >even if they don't explicitly need it. >I've never seen this be a problem with ./configure though. So do I need to add -lpthread to the ./configure script or something ??? Or should I be tracking down a version of Mesa with pthread pre-linked ? Thanks for your help on this. Nick |