stickler@rc.nokia.fi (Patrick Stickler RC 910) (08/19/90)
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. Patrick Stickler Nokia Research Center FINLAND
sking@nowhere.uucp (steven king) (08/19/90)
|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