Re: IDL 5.2 loses shared object lib. [message #14333] |
Fri, 19 February 1999 00:00 |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Ed Wright wrote:
>
> To: IDL users of Earth
> From: Ed Wright JPL - NAIF Team
>
> IDL Users,
>
> I have an odd problem. I use call_external to access an external
> shared lib under IRIX. After the 5.1 -> 5.2 upgrade, I tested
> the external access (once) and all seemed fine.
>
> Since then, I found a problem. I load the IDL script, compile it,
> run, all is well. If I run the script again (without doing anything
> else), IDL returns an error "unable to find symbol in symbol table."
> The script has several call_externals, the screw up happens at a routine
> returning a string. The error will not expree if I recompile the script
> between runs.
>
> Any ideas what I did wrong? Bad shared object compile? Buffer
> overrun? IDL doen't like me and is determined to make me miserable?
>
Ed -
I have seen problems like this caused by an upgrade, when the compiler
itself was not upgraded. Forgive me, I'm not familiar with IRIX, so
I don't know if the upgrade includes a new compiler or not. If not,
you may need to upgrade it. Sometimes just recompiling the shared
object is enough.
Also, be careful about returning strings, as an IDL string may not
be what you expect.
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2240
La Jolla, CA 92037
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|