comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: call_external under Solaris
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: call_external under Solaris [message #2358] Wed, 29 June 1994 02:43
sjt is currently offline  sjt
Messages: 72
Registered: November 1993
Member
Ben Foster (foster@hao.ucar.edu) wrote:

: We have recently upgraded our Sun's from SunOS 4.x to Solaris (5.x),
: and my call_external no longer works. I have remade the shard object
: library (ld flags were different), but CALL_EXTERNAL cannot find the
: symbol:

: % CALL_EXTERNAL: Error loading sharable executable.
: Symbol: _calltselec_, File = ./msis.so
: ld.so.1: /opt/local/pkg/idl/bin.sunos.5.2.sun4/idl:
: fatal: relocation error: symbol not found:
: _fp_accrued_exceptions: referenced in ./msis.so

This is just typical of the irritating little differences between SunOS 4
and Solaris!

For some reason known only to the authors of the system, the preceding
underscore should not be there in Solaris. So just replace _calltselec_
with calltselec_ and similarly for any other entries and you should be
home free.

: msis.so is the object lib. When I use nm on msis.so and
grep for : calltselec I get:

: (vishnu) msis : nm msis.so | grep calltselec
: [37] | 0| 0|FILE |LOCL |0 |ABS |calltselec.f
: [493] | 9384| 188|FUNC |GLOB |0 |7 |calltselec_
: (vishnu) msis :

: So the module calltselec is in the lib. Is the problem the difference in
: underscores? Has anyone solved this yet? Thanks for suggestions...


: ---
: ------------------------------------------------------------ -----------
: Ben Foster High Altitude Observatory (HAO)
: foster@ncar.ucar.edu phone: 303-497-1595 fax: 303-497-1589
: Nat. Center for Atmos. Res. P.O. Box 3000 Boulder CO 80307 USA
: ------------------------------------------------------------ -----------



--
James Tappin, School of Physics & Space Research
University of Birmingham
sjt@xun8.sr.bham.ac.uk
"If all else fails--read the instructions!"

O__
-- \/`
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL and Emacs: idl.el, idl-shell.el updates
Next Topic: Re: Byte shift in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:16:38 PDT 2025

Total time taken to generate the page: 0.00475 seconds