my libraries condiction: mesa 2.6, xform 0.99, XFree86 22.214.171.124, linux RH 5.2
when I am compiling with xforms and mesagl together using g++ -O0 …(other options)
/usr/lib/libMesaGL.so: undefined reference to ‘XShmDetach’
/usr/lib/libglut.so: undefined reference to ‘XGetExtensionVersion’
if I get rid of -L…/lib -glut -lMesaGLU -lMesaGL when I am linking the object files.
it compiles well. however, when I am trying to run the execute file, like ./a.out
it would say:
Sorry, no matching visuals found.
What is this? A palm pilot?
what should I do? should I upgrade the mesa2.6 to mesa3.2? (since I saw missing 'XGetExtensionVersion, is it a hint?)