Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 23:13:49 +0200
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        ports freebsd group <ports@FreeBSD.org>
Subject:   nvidia-driver and glut (Mesa)?
Message-ID:  <20030714211349.GA35640@martin.kleinerdrache.org>

next in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030714211349.GA35640>