[Plib-users] RE: ./configure Open GL problems
Brought to you by:
sjbaker
From: McEvoy, N. (Contractor) <nic...@ds...> - 2003-09-02 03:59:53
|
keerti kiran bhamidipati wrote: >I've been trying to get pLib 1.6 to compile on my Rehat9 w/ GeForce 4 box. >I installed the nVidia drivers from the website, which installs the OpenGL >libraries as well. I have compiled and installed freeglut 2.0.0 without >any problems (it found and linked to the OpenGL libraries without any >problems). I don't know what I'm doing wrong with plib. When I run >./configure, it fails saying: >... ><cut> >configure:2596: checking for glNewList in -lGL >configure:2615: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lGL >-lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5 >/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x28): In function >`_glthread_InitTSD':: undefined reference to `pthread_key_create' >/usr/X11R6/lib/libGL.a(glthread.o)(.text+0x83): In function >`_glthread_GetTSD': >: undefined reference to `pthread_getspecific' >/usr/X11R6/lib/libGL.a(glthread.o)(.text+0xc5): In function >`_glthread_SetTSD': >: undefined reference to `pthread_setspecific' >collect2: ld returned 1 exit status >configure: failed program was: >#line 2604 "configure" >#include "confdefs.h" ><cut> This is a known configure script bug (which has been fixed in the latest cvs). See this thread on how to manually fix it on your system: http://sourceforge.net/mailarchive/message.php?msg_id=2413992 It worked for me ! :) Nick |