Re: XForms: More info, static linking, Solaris 2.5 vs Solaris 2.6

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 7 Jan 99 09:46:31 PST

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

> To answer some of the questions posed:
> 1. I have the static version of the X11 library (libX11.a).
> 2. the undefine symbol error is as follows:
>
> Undefined first referenced
> symbol in file
> XSolarisIASetProcessInfo /usr/openwin/lib/libX11.a(OpenDis.o)
> ld: fatal: Symbol referencing errors. No output written to act_ui

XSolarisIASetProcessInfo is defined in libXext.a.

> 3. It definitely is not an xhost permission problem. The error I get is:
> ./act_ui: Can't open display blah:0--Invalid argument

Hm. I'm surprised it runs at all.

> My current library link list is as follows:
> -Bstatic -lact_gui -lxf_cmn -lforms -lcmnmc -lXpm -lX11 -lm -lsocket -lnsl -lw -lintl -Bdynamic -ldl

Change that to

-Bstatic -lact_gui -lxf_cmn -lforms -lcmnmc -lXpm -lX11 -lXext -lm -lsocket \
-lnsl -lw -lintl -Bdynamic -ldl

and see what happens.

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/