nvidia-driver and glut (Mesa)?

Martin Klaffenboeck martin.klaffenboeck at gmx.at
Mon Jul 14 14:13:55 PDT 2003


Hello,

I've installed nvidia-driver right now, and I can run it quite well.

But I cannot install applications anymore, which use Mesa.

The interesting thing is:  I installed tux_aqfh and bzflag before I 
installed nvidia-driver, this programms can run quite well with 3d 
feature of my Nvidia 2 card.


All this ports, using mesa (haveing USE_MESA= yes in the Makefiles) 
happen to the following error:

for example xracer:
===>   xracer-0.94 depends on shared library: glut.3 - found
[...]
checking for glutKeyboardUpFunc in -lglut... no
configure: error: GLUT library not found or too old version. 3.7 (beta) 
or later required.

 From config.log:
configure:2881: checking for glutKeyboardUpFunc in -lglut
configure:2900: cc -o conftest -O -pipe -march=pentiumpro -I/usr/local/
include - I/usr/X11R6/include -D_THREAD_SAFE  conftest.c -lglut -lGLU -
lGL -L/usr/local/lib -L/usr/X11R6/lib -pthread  -L/usr/X11R6/lib  -lSM 
-lICE -lX11 -lXi -lXext -lXmu -lXt  -lm   -lGLU -lGL -L/usr/local/lib -
L/usr/X11R6/lib -pthread 1>&5
/usr/X11R6/lib/libglut.so: undefined reference to 
`glXBindChannelToWindowSGIX'
/usr/X11R6/lib/libglut.so: undefined reference to 
`glXQueryChannelDeltasSGIX'
/usr/X11R6/lib/libglut.so: undefined reference to 
`glXChannelRectSyncSGIX'
/usr/X11R6/lib/libglut.so: undefined reference to `glXChannelRectSGIX'
/usr/X11R6/lib/libglut.so: undefined reference to 
`glXQueryChannelRectSGIX'
configure: failed program was:
#line 2889 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
char glutKeyboardUpFunc();
  int main() {
glutKeyboardUpFunc()
; return 0; }

The same happens to gl-117, foobillard, etc. etc, all I tried.

Am I doing something wrong?

Thanks for help,
Martin

-- 
If you've got an idea and need help,
or just need general encouragement,
write me a message. ;-)


More information about the freebsd-ports mailing list