Re: XForms: Comflicts with Open-Xforms

From: Lars Gullik Bjønnes (larsbj@lyx.org)
Date: Sun Apr 07 2002 - 09:39:12 EDT


# To subscribers of the xforms list from larsbj@lyx.org (Lars Gullik =?iso-8859-1?q?Bj=F8nnes?=) :

"R. Lahaye" <lahaye@users.sourceforge.net> writes:

| # To subscribers of the xforms list from "R. Lahaye" <lahaye@users.sourceforge.net> :
>
>
| Hi,
>
| I have FreeBSD 4.5 (most recent version) on my PC.
>
| I successfully compiled Open Xforms.
| I only changed XFormsInstallDir in Imakefile into "/opt",
| the rest I left untouched (all are "YES"). Result:
>
| 129586 /opt/include/X11/forms.h
| 9568172 /opt/lib/libforms.a
| 13 /opt/lib/libforms.so -> libforms.so.0
| 2400862 /opt/lib/libforms.so.0

libforms.a and libforms.so does not contain the same symbols, this is
imho bad.

[...]

| To my great surprise the following solves the problem:
>
| # cd /opt/lib
| # ln -s libforms.a libxforms.a
| # ls libxforms.a
| 10 libxforms.a -> libforms.a
>
| I then replace "-lforms" by "-lxforms" in the g++-line above
| and it simply compiles! What's going on?

By doing this you force the compiler to use the .a lib instead of the
dynamic one.

-- 
	Lgb
_________________________________________________
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://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:19 EDT