Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!ut-emx!nowhere!sking From: sking@nowhere.uucp (steven king) Newsgroups: comp.lang.lisp.x Subject: Re: Problem compiling XLISP under SCO XENIX/286 Message-ID: <9008182145.4141@nowhere.uucp> Date: 18 Aug 90 21:45:55 GMT Organization: nowhere Lines: 32 |in article <179@pepper.rc.nokia.fi> | stickler@rc.nokia.fi (Patrick Stickler RC 910) writes: | |I'm having trouble compiling XLISP vs. 2.0 under SCO XENIX/286 |vs 2.2. | |Using the following command: | | cc -O -Ml -o xlisp *.c | |I get the following unresolved externals when linking, all |of which come from xlmath.o (xlmath.c): | | _tan _cos _sin _sqrt _pow and _exp | |I've also tried alternating with several of the following: (obviously |I'm no C hacker...): -LARGE -M2 -M2e -lx -Mh etc... all unsuccessful. | |If anyone could provide any answers/advice, I would be very grateful. you need to use "-lm" to tell ld to search the math library, ie: cc -O -Ml -o xlisp *.c -lm -- NONE of the standard disclaimers apply =============================================================================== UUCP: ...!cs.utexas.edu!ut-emx!nowhere!sking