Problem with glut under linux

hi,all
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/…/…/…/libglut.so: undefined reference to glXBindChannelToWindowSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to glXQueryChannelDeltasSGIX’
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/…/…/…/libglut.so: undefined reference to glXChannelRectSyncSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to glXChannelRectSGIX’
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/…/…/…/libglut.so: 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.

thanx

Check out this thread: http://www.opengl.org/discussion_boards/ubb/Forum4/HTML/000943.html

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

https://sourceforge.net/forum/forum.php?thread_id=879028&forum_id=76063

-Jah Shaka

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