Glut linking problem

Hi
I’ve problem when trying to link program which contains glut as an
object (ie l used glut to create glutSolidCube), but when I want to link
it, got this eror messages

CC -O -o bounce2 bounce2.o -L/usr/local/CAVE/lib32 -lcave_ogl
-lGL -lGLU -lXi -lX11 -lm

ld32: ERROR 33 : Unresolved text symbol “glutSolidCube” –
1st referenced by bounce2.o.
Use linker option -v to see when and which objects, archives
and dsos are loaded.
ld32: INFO 152: Output file removed because of error

Pease advice.

you need to link to the glut library ie -lglut or perhaps -lglut32, I’m not really sure what the library is called