* Ampere K. Hardraade -- Saturday 30 April 2005 23:50:
> gcc  -g -O2 -D_REENTRANT  -L/usr/X11R6/lib -L/usr/local//lib -o gl-info  
> gl-info.o -lSM -lICE -lXi -lXext -lX11 -ldl -lm
> gl-info.o(.text+0xd): In function `getPrints':
> /usr/local/src/FlightGear-0.9.8/tests/gl-info.c:28: undefined reference to 
> `glGetString'

These libs are missing from the command line: -lglut -lGLU -lGL (that is
libglut, libGLU and libGL). I wonder why the configuration script didn't
point this out, but it seems as if OpenGL isn't installed. Maybe only the
respective *-devel packages are missing.



> I am seeing double slashes in the above outputs.

Same here. That's ugly, but valid and certainly not the cause.



> I've moved to Xorg recently

That explains it. Apparently you had the OpenGL libs/headers installed in
the XFree86 tree, but not yet in the Xorg tree. Installing the (nvidia?)
graphics drivers again (and probably glut, too --> http://freeglut.sf.net/)
should fix the problem.

m.

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to