hakutsuru
07-07-2001, 03:14 PM
Hello,
I have recently updated to XFree86 4.1.0 using NVIDIA 1.0-1251 drivers. The NVIDIA drivers were compiled against XFree 4.0.2 and until recently nothing appeared to be broken.
Now I am trying to compile a simple tutorial (lesson 03 off of NeHe's site) and I am getting the error output:
gcc -Wall -pedantic -ansi lesson03.c -o lesson03 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm
/usr/X11R6/lib/libGLU.so: undefined reference to `sqrt'
/usr/X11R6/lib/libGLU.so: undefined reference to `floor'
/usr/X11R6/lib/libGLU.so: undefined reference to `cos'
/usr/X11R6/lib/libGLU.so: undefined reference to `sin'
collect2: ld returned 1 exit status
make: *** [all] Error 1
I am curious if anyone has hit this before or might clue a newbie in some elementary OpenGL system setup :) Thanks in advance.
p.s I am running RH 7.1
I have recently updated to XFree86 4.1.0 using NVIDIA 1.0-1251 drivers. The NVIDIA drivers were compiled against XFree 4.0.2 and until recently nothing appeared to be broken.
Now I am trying to compile a simple tutorial (lesson 03 off of NeHe's site) and I am getting the error output:
gcc -Wall -pedantic -ansi lesson03.c -o lesson03 -L/usr/X11R6/lib -lGL -lGLU -lXxf86vm
/usr/X11R6/lib/libGLU.so: undefined reference to `sqrt'
/usr/X11R6/lib/libGLU.so: undefined reference to `floor'
/usr/X11R6/lib/libGLU.so: undefined reference to `cos'
/usr/X11R6/lib/libGLU.so: undefined reference to `sin'
collect2: ld returned 1 exit status
make: *** [all] Error 1
I am curious if anyone has hit this before or might clue a newbie in some elementary OpenGL system setup :) Thanks in advance.
p.s I am running RH 7.1