compiling source code (*.c)

If have *.c file and I will compile it with the openterminal and type in
for example:
gcc -o cube cube.c -L/usr/X11R6/lib/ -Wall -lX11 -lXi -lXmu -lglut -lmesaGL -lmesaGLU -lm

and I get warnings so
he doesn’t compile my source code

OpenGL
SuSE linux 6.4

Warnings is not errors so your code will be compiled but it is a good idea to check out what the compiler complains about.

To make life easier for yourself use a makefile.

gav