Description of problem: gcc OSMesa.c -lGL /tmp/ccWBprIs.o(.text+0x27): In function `main': OSMesa.c: undefined reference to `OSMesaCreateContext' /tmp/ccWBprIs.o(.text+0x38):OSMesa.c: undefined reference to `OSMesaDestroyContext' /tmp/ccWBprIs.o(.text+0x54):OSMesa.c: undefined reference to `OSMesaMakeCurrent' same on FC5. Is this intentional? The entries are in the GL/osmesa.h header. Version-Release number of selected component (if applicable): xorg-x11-devel-6.8.2-37.FC4.49.2
You're linking to the wrong library.
Which for the record in -lOSMesa. Sorry about that.