Re: XForms: Undefined symbol _ceil in SunOS 4.1.

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 6 Aug 98 11:43:31 PDT

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

> I have just compiled the demos of xforms 0.88.1 for SunOS 4.1
> without complaints, but at run time I get the following error message:
>
> ld.so: Undefined symbol: _ceil

If you're using the GNU linker/loader then you will have strangenesses
like this, due to its somewhat odd notions about dynamic libraries.

Do

gcc -O -s demo.o -o demo -L../FORMS -lforms -lX11 -lm -B/usr/bin/
^^^^^^^^^^^
and this should make the problem go away. This option will cause the
gcc driver to use the SunOS's `ld' rather than /usr/local/bin/ld,
which it tends to prefer.

This one drove me bats for a while until I discovered this solution.

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/