Article View: comp.lang.lisp.x
Article #126Re: Problem compiling XLISP under SCO XENIX/286
From: steven king
Date: Sat, 18 Aug 1990 21:45
Date: Sat, 18 Aug 1990 21:45
32 lines
1267 bytes
1267 bytes
|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
Technical Details
Message-ID:
<9008182145.4141@nowhere.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!samsung!cs.utexas.edu!ut-emx!nowhere!skingShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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