[comp.unix.xenix] iProblems compo

stickler@cc.helsinki.fi (08/19/90)

I`m having the following problem compiling XLISP under
SCO XENIX/286 vs. 2.2:

Using the following command:

	cc -O -Ml -o xlisp *.c

I get the following unresolved externals, all of which
are in xlmath.o (xlmath.c):

	_tan _cos _sin _sqrt _pow _exp

If anyone has any answer/solution, I would be very
grateful.


//////////////////////////////////////////////////////////////////////
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Patrick Stickler  University of Helsinki   stickler@hylka.helsinki.fi
(BIX: stickler)   Nokia Research Center    stickler@pepper.rc.nokia.fi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//////////////////////////////////////////////////////////////////////

art@pilikia.pegasus.com (Art Neilson) (08/20/90)

In article <2934.26cd83e3@cc.helsinki.fi> stickler@cc.helsinki.fi writes:
>I`m having the following problem compiling XLISP under
>SCO XENIX/286 vs. 2.2:
>
>Using the following command:
>
>	cc -O -Ml -o xlisp *.c
>
>I get the following unresolved externals, all of which
>are in xlmath.o (xlmath.c):
>
>	_tan _cos _sin _sqrt _pow _exp
>
>If anyone has any answer/solution, I would be very
>grateful.

you probably need to add -lm to the command, looks like you
need the math library.  Why not just use the Makefile which
comes with Xlisp ?  It takes care of all the compiling and
linking for you.
-- 
Arthur W. Neilson III		| ARPA: art@pilikia.pegasus.com
Bank of Hawaii Tech Support	| UUCP: uunet!ucsd!nosc!pegasus!pilikia!art