Re: XForms: VERY strange seg faults on fl_initialize()

Steve Lamont (spl@szechuan.ucsd.edu)
Wed, 10 Nov 99 07:05:07 PST

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

> gcc -g -I/home/todd/xforms/FORMS -L/usr/X11R6/lib -lX11 -lXpm -lm
> AgentFoo.cpp /home/tcz3/xforms/FORMS/libforms.a
>
> (as an aside, if I try to just link the shared forms library and avoid the
> X11 fun, the linker swears up and down that it cannot find fl_initialize.

I wonder if you have the right version of XForms for your system's
libc. This is the usual cause for gastric distress of this sort.

BTW, I'd link with

gcc -g -I/home/todd/xforms/FORMS -L/usr/X11R6/lib \
/home/tcz3/xforms/FORMS/libforms.a -lX11 -lXpm -lm \
AgentFoo.cpp

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/