Problem with glut under linux

i am a beginner.
when i want to compile my opengl programm, i got the following messages:
gcc -Wall -I/usr/X11R6/include/ -I/usr/include/GL -o cube -L/usr/X11R6/lib -L/usr/lib/a cube.o -lX11 -lXi -lXmu -lGL -lGLU -lglut -lm
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/…/…/…/ undefined reference to glXBindChannelToWindowSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../ undefined reference to glXQueryChannelDeltasSGIX’
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/…/…/…/ undefined reference to glXChannelRectSyncSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../ undefined reference to glXChannelRectSGIX’
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/…/…/…/ undefined reference to `glXQueryChannelRectSGIX’
collect2: ld returned 1 exit status
make: *** [cube] Error 1

who can tell me what happened. how can i solve this problem.


Check out this thread:

Theres a quick and easy fix for this in the jahshaka forums!

-Jah Shaka

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.