Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-24-03, 06:50 PM   #1
Gadget
Registered User
 
Join Date: Apr 2003
Posts: 1
Default Version: 1.0-4363 and glut problem

after installing linux driver Version: 1.0-4363 I get the following error when compiling OpenGL:

----------------------------------------------------
g++ -L/usr/X11R6/lib/ bounce.o -lGL -lGLU -lglut -lXi -lXmu -o bounce
/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: *** [bounce] Error 1

----------------------------------------------------
it worked with version 4349. any ideas?

I'm running RedHat 9.

thanks for any help.
Gadget is offline   Reply With Quote
Old 04-24-03, 08:34 PM   #2
bahamot
Registered User
 
Join Date: Apr 2003
Posts: 161
Default

that's known problem with rh9 glut package, try download glut*.src.rpm from www.rpmfind.net
,compile and installed it over default glut and glut-devel
that should do
bahamot is offline   Reply With Quote
Old 04-24-03, 10:07 PM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Yep, and you can find the full history/explanation of this problem by searching this single forum for your undefined symbols.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-25-03, 09:19 AM   #4
alien999999999
Registered User
 
alien999999999's Avatar
 
Join Date: Apr 2003
Location: Belgium
Posts: 218
Send a message via ICQ to alien999999999
Default

i thought that glX... functions were in the glx library? (-lglx)
am i so wrong?
alien999999999 is offline   Reply With Quote
Old 04-25-03, 09:43 AM   #5
bahamot
Registered User
 
Join Date: Apr 2003
Posts: 161
Default

quote from Andy's reply to other thread (http://www.nvnews.net/vbulletin/show...threadid=10763):

Quote:
http://www.nvnews.net/vbulletin/sho...&threadid=10032

--andy


__________________
Andy Mecham
NVIDIA Corporation
cheers
bahamot is offline   Reply With Quote
Old 04-25-03, 10:47 AM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Quote:
Originally posted by alien999999999
i thought that glX... functions were in the glx library? (-lglx)
am i so wrong?
There is no -lglx.

The only libglx.so file on your system is in /usr/X11R6/lib/modules/extensions -- it is NOT intended to be used by user programs, only X itself.

If you try to link against that libglx.so, it WILL fail with a bunch of other unresolved symbols (stuff that the X binary defines, I think). The only purpose of libglx.so is to implement the GLX extension, server-side.

The glX* functions that user programs call are provided either by libX11, or by libGL.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:01 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.