|
|
#1 | |
|
Registered User
Join Date: Apr 2003
Posts: 1
|
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. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Apr 2003
Posts: 161
|
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 |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Sep 2002
Posts: 2,262
|
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 |
|
|
|
|
|
#4 | |
|
Registered User
|
i thought that glX... functions were in the glx library? (-lglx)
am i so wrong? |
|
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Apr 2003
Posts: 161
|
quote from Andy's reply to other thread (http://www.nvnews.net/vbulletin/show...threadid=10763):
Quote:
|
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Sep 2002
Posts: 2,262
|
Quote:
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 |
|
|
|
|
![]() |
| Thread Tools | |
|
|