Home »
Public Forums »
archive »
Re: Call External Error
Re: Call External Error [message #45899] |
Thu, 20 October 2005 15:35 |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Have you tried adding an underscore before or after "reflect" in the
call_external statement?
"dmg31" <golembeski@gmail.com> wrote in message
news:1129842807.461261.253080@z14g2000cwz.googlegroups.com.. .
> Hey, I am calling a c routine from IDL and I get the following error:
>
> CALL_EXTERNAL: Error loading sharable executable.
> Symbol: reflect, File = /Users/dmg31/jup/SIMUL/simul.so
> dlsym(0x10f7c0, reflect): symbol not found
>
> reflect is a function in the C code. I am guessing it is a compiling
> error. I am having trouble with this becuase this program worked when
> it was running on a Sun OS but now I am running on mac OS X and I have
> trouble using call external. My code to compile the C routine is as
> follows:
>
> ld simul2.o -flat_namespace -lbundle1.o -undefined suppress -lm -o
> simul.so
>
> if anyone could help me out that would be great!
>
> thanks
> dan
>
|
|
|
Current Time: Wed Oct 08 20:03:40 PDT 2025
Total time taken to generate the page: 0.00361 seconds