[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compiling OpenGL on Debian


I am trying to compile opengl code and have the following errors 

gcc -Wall -I/usr/X11R6/include/ -o cube -L/usr/X11R6/lib cube.o -lX11
-lXi -lXmu -lglut -lGL -lGLU -lm
/usr/X11R6/lib/libGL.a(glxext.o): In function `__glXGetCurrentContext':
glxext.o(.text+0x1a): undefined reference to `pthread_key_create'
glxext.o(.text+0x31): undefined reference to `pthread_getspecific'

- seems like there's some problem with pthread(?) - anyone programs
openGL ? what do I miss here ? 


Reply to: