From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030313 Galeon/1.3.4 Description of problem: Can not link GLUT programs with the version of libglut.so distributed with RedHat 9 Version-Release number of selected component (if applicable): glut-3.7-12 How reproducible: Always Steps to Reproduce: 1. create file: test.c --- #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> int main(int argc, char **argv){ return; glutInit(&argc, argv); glutInitWindowSize(512,512); glutInitDisplayMode(GLUT_RGB|GLUT_DEPTH|GLUT_DOUBLE); glutCreateWindow("Test"); glutMainLoop(); return 0; } --- 2. gcc -o test test.c -L/usr/X11R6/lib -lglut -lGL -lGLU -lX11 -lXmu -lXext -lXi Actual Results: /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' Expected Results: should produce an executable test binary Additional info: -NVIDIA drivers verion 1.0-4349 are installed on the test system -Recompiling glut from srpm and installing that instead, fixes the problem.
Are you using nVidia binary drivers when trying to do this instead of the supplied nv driver from XFree86? If so, you need to be using the supplied nv driver from XFree86, then try to link to libglut.so to see if it works or not. When using the nVidia binary driver, you have tainted the system with specs that no one has access to outside of nVidia, therefore no way of troubleshooting any problems. Please use the nv driver instead, then try to link to libglut.so with the original glut package that came with Shrike to see if that works.
You are right! It works with the "nv" driver. This appears to be a problem with the NVIDIA driver and not glut. So I'm closing this bug. Marking it as WONTFIX and reporting the problem to NVIDIA.
*** This bug has been marked as a duplicate of 90734 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.