Re: XForms: SunOS 4.1.4 Undefined symbol _ceil

Rob Fletcher (rpf1@york.ac.uk)
Thu, 18 Jun 1998 14:04:58 +0100 (BST)

# To subscribers of the xforms list from Rob Fletcher <rpf1@york.ac.uk> :

On Thu, 18 Jun 1998, AMIT BHATNAGAR wrote:

> # To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :
>
>
> > make sure that the -lm comes after the -lforms. Here's my link line.
> >
> > -lforms -lXt -lX -lm
> >
> > Michael
>
>
> my -lm is before anything else..::
>
> -lm -lX11 -lforms
>

The wisdom is that it should come *after* as the link/loader will
search the libraries in the order on the command line (unlike
VMS where the libs are searched regardless of order to satisfy
globals!!).

My simplistic cc line I put on our system for my "novice"
users looks like this:

cc -o $1 $main $cb $form $2 \
-I/usr/local/include/xforms \
-rpath /usr/local/lib/xforms \
-L/usr/local/lib/xforms -lforms -s -lX11 -lm

Where the "$main, $cb and $form" are derived from "$1" and
"$2" is there to allow me to link in "external" libs etc.

So for a music app they could do something like:

% makexforms sequencer "-L/mypath/mymidilib -lmidi"

Regards, Rob
+===========================+=======================================+
| Dr R P Fletcher (Rob) | Email R.Fletcher@york.ac.uk |
| Graphics Coordinator | Phone +44 1904 433816 (ddi) |
| Computing Service | Frontdesk +44 1904 433800 (ddi) |
| University of York | Fax +44 1904 433740 |
| YORK YO10 5DD, UK | DU Moo Rob_F | ICQ UIN 4019164 |
| www.york.ac.uk/~rpf1/ or www.geocities.com/SiliconValley/Bay/8428/|
| The RobCam: www.york.ac.uk/~rpf1/robcam.html |
+===================================================================+

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