From: dreier@fb5.uni-siegen.de (Ralf Dreier) Subject: Re: Error when compiling SlingShot examples. Date: 17 Mar 1993 08:33:10 GMT
Hello,
I have asked the same question some times ago and I have gotten two replies.
The first one have fixed my problem.
1.
From jmalahti@cs.Helsinki.FI (Jussi Lahtinen)
Newsgroups: comp.os.linux
Subject: Re: SlingShot problem
Date: 10 Feb 1993 01:41:40 +0200
In <1l7o5nINN6i@homer-lab.FB5.Uni-Siegen.DE> dreier@fb5.uni-siegen.de (Ralf
Dreier) writes:
>Hello,
>I have a problem with the SlingShot extensions to XView. When I try to compile
>the examples I get an error message like this:
> /usr/lib/libsspkg.sa(00_Data.o): Undefined Symbol ___jump_libm_v4
> referenced from text segment
>My os is Linux 0.99pl4 (SLS) and my XView version is xview3L3.
>If anyone had the same problem and have solved it, please let me know.
I had. You need an old shared math-library (4.1
/usr/lib/shlib/jump/libm.a and /lib/libm.so.4). Link it to
/usr/lib/libm.sa
ln -s /usr/lib/shlib/jump/libm.a /usr/lib/libm.sa
Then you can link you slingshot-programs :-)
>Thanks in advance
>Ralf
>--------------------------------------------------------------------------
>Ralf Dreier | Universitaet-GH-Siegen
> | Institut fuer
>email dreier@fb5.uni-siegen.de | Wirtschaftsinformatik
>Phone 49 271/740-3262 | Hoelderlinstr. 3
>Fax 49 271/740-2310 | D-W-5900 Siegen, Germany
JL
2.
From KELLYDK%QUCDN.QueensU.CA@QUCDN.QUEENSU.CA Wed Feb 10 16:17:47 1993
Date: Wed, 10 Feb 93 10:08:57 EST
From: KELLYDK@QUCDN.QueensU.CA
Subject: Re: SlingShot problem
To: dreier@fb5.uni-siegen.de
Content-Length: 319
Hi
I got around this problem by explicitly including the math
library on the command line. I don't remember specifically
which one, but 'nm' will tell you which lib the symbol is defined in.
It went something like
cc -o prog prog.c -lsspkg /usr/lib/libm.ca -lwhatever
Good luck
Doug Kelly
kellydk@qucdn.queensu.ca
==========================================================================
Ralf Dreier | Universitaet-GH-Siegen
| Institut fuer
email dreier@fb5.uni-siegen.de | Wirtschaftsinformatik
Phone 49 271/740-3262 | Hoelderlinstr. 3
Fax 49 271/740-2310 | D-W-5900 Siegen, Germany