Re: XForms: OpenGL error message

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 4 Sep 98 10:17:23 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I receive the following errors while running a program built with
> xforms version .088 on a DEC Alpha running Digital UNIX V3.2.
>
> /sbin/loader: Error: unresolvable symbol in /usr/lib/libforms.so.0.88:
> glXQueryExtension

Hm. Looks as if the gl.c source has been built into the shared
library somehow. According to TC, that's not supposed to be the case.

If you have OpenGL on the system, you might try linking with

cc ... -lforms ... -lGL -lGLU ...

to see if the error messages go away. Or try linking against the
static version of the library. Then the linker shouldn't see the
stuff in gl.c.

Are you perchance using a glcanvas object? If so, then you will also
need to include the OpenGL stuff in your link line.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/