Re: XForms: reading pixmaps

Steve Lamont (spl@szechuan.ucsd.edu)
Sun, 14 Nov 99 11:16:13 PST

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

> I am trying to compile a program that runs on Solarris on my Linux
> OS.I installed Xforms for linux, and Mesa 3.0 for Linux. When I try to
> compile the program, Xforms returns errors like:
>
> /usr/local/xforms/FORMS//libforms.so: undefined reference to `XSetCommand'
> [...]
> and many others. How can I solve this problem?

Make sure you're linking with the X libraries and that the the X
libraries follow the xforms library. For example:

gcc -o try -ggdb3 -L/usr/X11R6.3/lib try.o try_main.o \
-lforms -lXpm -lMesaGL -lMesaGLU -lXext -lX11 -lm

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