On Wed, Mar 02, 2005 at 09:36:43PM -0800, Karol Krizka wrote: > On Thu, 03 Mar 2005 00:11:45 -0500, Javier Kohen > <[EMAIL PROTECTED]> wrote: > > > > What's the compiler command-line that causes the error and what does the > > compiler display? > The following is the command: > g++ -o conftest -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib > conftest.cc -lGL -L /usr/X11R6/lib64/ -lSM -lICE -lX11 -ldl > and the following is the error: > /usr/X11R6/lib/libGL.a(glthread.o)(.text+0x17): In function > `_glthread_InitTSD':: undefined reference to `pthread_key_create' > /usr/X11R6/lib/libGL.a(glthread.o)(.text+0x55): In function > `_glthread_GetTSD': > : undefined reference to `pthread_getspecific' > /usr/X11R6/lib/libGL.a(glthread.o)(.text+0x96): In function > `_glthread_SetTSD': > : undefined reference to `pthread_setspecific' > collect2: ld returned 1 exit status
Looks like something was configured and/or compiled with pthread support (or expecting it). Does amd64 even support pthreads? Are you perhaps missing a -lpthread in there? Len Sorensen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

