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

Home » Public Forums » archive » SGI 6.5 and CALL_EXT Problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SGI 6.5 and CALL_EXT Problem [message #15716 is a reply to message #15641] Fri, 04 June 1999 00:00 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
rmlongfield@my-deja.com wrote:
>
> Hi all,
> I need help with something that used to work and now doesn't.
> My SGI O2 has just been upgraded to 6.5. Prior to this I have used
> CALL_EXTERNAL successfully with C and Fortran programs.
>

There are various reasons why a DSO failed to load. The simplest is that
IDL
really couldn't find it, either because it is incorrectly named or
because it
isn't on the run-time library search path. Another reason is that IDL
requires
the DSO to be built using the O32 ABI under IRIX. A third reason is that
it may have
undefined externals if you link against library which has changed
between OS
releases.

You can check for the first by copying the DSO to the directory where
you are
running IDL from, the current directory should be searched for DSOs.

You can check for the second reason by using the 'file' command:
% file idl_calc_pos.so
will tell you what type of library has been created.
IDL needs mips-2 dynamic libs. If it is a mips-3 dynamic lib it was
built using
the N32 ABI and will need to be re-compiled.

If the compiler defaults have changed this could happen. See the man
page for the
compiler and ABI(5) for more details. If the installation has changed
the compiler
defaults to N32 then you will need to compile and link with the -o32
option
added to the command line.

Finally, to check for undefined externals use the nm command. There will
be many
instances (e.g. any calls to routines in the C library). But if you
eliminate these
you should be able to find which external is not satisfied.

--
-----------------------------------------------------------
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523568, Fax : +44 (0)116 2523555
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ascii templates & also IDL from emacs
Next Topic: I' want "Hough Transform" idl source..please..

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

Current Time: Fri Oct 10 23:07:18 PDT 2025

Total time taken to generate the page: 0.88350 seconds