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

Home » Public Forums » archive » Call External on SUN 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
Call External on SUN Solaris [message #9686] Mon, 11 August 1997 00:00 Go to next message
bijan is currently offline  bijan
Messages: 1
Registered: August 1997
Junior Member
I am trying to call c routines from idl4 using
call external on a sun solaris system.

i use the following compile/link commands without
getting any error messages:

cc -G -c -Kpic idl/*.c camos/*.c f_exit.c
cc -G -c -Kpic f2c/*.c
ld -G -o amos_idl.so objs/*.o f2c_objs_ab/*.o


and i get the following error message when i try to use the
amos_idl.so executable:

% CALL_EXTERNAL: Error loading sharable executable.
Symbol: zairy, File =
/tmp_mnt/net/icarus/usr2/bijan/imsl/lm/amos_idl.so
ld.so.1: /server/usr2/common/idl/bin/bin.solaris2/idl:
fatal:
/tmp_mnt/net/icarus/usr2/bijan/imsl/lm/amos_idl.so:


i have managed to do this on a sunos system so i am pretty sure it's not
the code itself.

thanks in advance,
Bijan Pesaran

-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
Re: Call External on SUN Solaris [message #9758 is a reply to message #9686] Wed, 13 August 1997 00:00 Go to previous message
wonko is currently offline  wonko
Messages: 22
Registered: March 1997
Junior Member
bijan@physics.bell-labs.com wrote:

> I am trying to call c routines from idl4 using
> call external on a sun solaris system.

[...]

> % CALL_EXTERNAL: Error loading sharable executable.
> Symbol: zairy, File =
> /tmp_mnt/net/icarus/usr2/bijan/imsl/lm/amos_idl.so
> ld.so.1: /server/usr2/common/idl/bin/bin.solaris2/idl
> : fatal:
> /tmp_mnt/net/icarus/usr2/bijan/imsl/lm/amos_idl.so:

Under Solaris 2.x the compiler generates additional underbars. Try the
symbol _zairy instead of zairy, I think it will work then.


Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Unknow Error
Next Topic: processing keyboard events in X

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

Current Time: Fri Nov 28 09:42:24 PST 2025

Total time taken to generate the page: 0.00779 seconds