ogl compilation under linux

with ogl sources, i got messages (error) like this one :
1.o(.text+0x401): undefined reference to glutKeyboardFunc' 1.o(.text+0x409): undefined reference toglutMainLoop’

i got MesaGL lib and utah glx install…

anyone can help me ?

Your program requires glut (GL Utility library) this is a free library you need to download. You might already have it though. Try to include <glut.h>, and link to the glut library -lglut. If not you should download and install it, a quick see this:
http://reality.sgi.com/opengl/glut3/glut3.html