PDA

View Full Version : redhat 9, nvidia drivers, and glut


wjarosz
04-25-03, 12:39 AM
Ever since I installed redhat 9 and the new nvidia drivers (both 4349 and 4363) I cannot compile anything that uses glut. Yes, I have glut and glut-devel installed. The errors I get are always like this:

gcc -Wall -I/usr/include/ -o lesson2 -L/usr/X11R6/lib lesson2.o -lX11 -lXi -lXmu -lglut -lGL -lGLU -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: *** [lesson2] Error 1

This is running a sample glut program downloaded from http://nehe.gamedev.net/data/lessons/linux/lesson02.tar.gz
as a simple test. All other programs that use glut give me the same errors.

When I use the Mesa drivers everything compiles fine. When I was using redhat 8 with the nvidia drivers everything worked fine also.

Any ideas what could be the problem?

card: GeForce4 Ti 4600
driver: 4363
distro: redhat 9
video BIOS: 04.25.00.27.10
processor: Pentium 4, 2.4 GHz
glut version: 3.7-12


Thanks,
Wojciech Jarosz

Andy Mecham
04-25-03, 01:38 AM
http://www.nvnews.net/vbulletin/showthread.php?s=&threadid=10032

--andy