Re: XForms: Undefined symbol _ceil in SunOS 4.1.

P.R.D.S. Mendonca (prdsm2@eng.cam.ac.uk)
Fri, 7 Aug 1998 10:56:08 +0100 (BST)

# To subscribers of the xforms list from "P.R.D.S. Mendonca" <prdsm2@eng.cam.ac.uk> :

On Thu, 6 Aug 1998, Steve Lamont wrote:

> # 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

Many thanks! Everything is perfect now!

Paulo.
_____________________________________________________________
Paulo Ricardo dos Santos Mendonca | Home: (+44 01223) 740360
Speech, Vision and Robotics Group |Office: (+44 01223 3)32808
Department of Engineering | prdsm2@eng.cam.ac.uk
University of Cambridge | www.eng.cam.ac.uk/~prdsm2

_________________________________________________
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/