I use:
cc -o jojozhong jojozhong.c -lglut -lGL -lGLU -lXmu -lXi -lXext -lX11 -lm
to compile the file jojozhong.c, but it said:
Undefined first referenced symbol in file
sunOglCurrentContext jojozhong.o
sunOglCurPrimTablePtr jojozhong.o
ld: fatal: Symbol referencing errors. No output written to jojozhong
I dont know whether there are some more lib path I should include in the command?I am using a SUN,
I think there must be another lib that can be used as the GL, GLU X11 I used in the command.