Pri pokuse o kompilaciu s naistal. lib GLUT 3.7
gcc -o glut09_1 -L/usr/X11R6/lib glut09_1c.c -lglut -lGL -lGLU -lm -lX11 -lXmu
dostanem hlasku:
/usr/lib/libglut.so: undefined reference to `XGetExtensionVersion' /usr/lib/libglut.so: undefined reference to `XFreeDeviceList' /usr/lib/libglut.so: undefined reference to `XQueryDeviceState' /usr/lib/libglut.so: undefined reference to `XListInputDevices' /usr/lib/libglut.so: undefined reference to `XFreeDeviceState' /usr/lib/libglut.so: undefined reference to `XOpenDevice' /usr/lib/libglut.so: undefined reference to `XSelectExtensionEvent' collect2: ld returned 1 exit status
jo tak tohle to je zpusobeny nekompatibilitou ovladacu NVidie a Messy(teda jestli mas kartu od Nvidie), musis pri kompilaci glutu smazat v makefilech vsechny reference na messu(jestli nechces pouzivat ovladace vod messy :(( a to bych rozhodne nedoporucoval) navod je na: http://www.linuxhq.com/ldp/howto/mini/Nvidia-OpenGL-Configuration/instglut.html
Good Luck!