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

Home » Public Forums » archive » CALL_EXTERNAL error when calling a C program
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
CALL_EXTERNAL error when calling a C program [message #45889] Sun, 09 October 2005 11:27
dmg31 is currently offline  dmg31
Messages: 3
Registered: October 2005
Junior Member
Hey,

I am running on mac os x. I have an IDL program which calls a C
program, and this worked when I ran the program on a SUN but now I have
just moved my files onto a new mac. I have been reading many of the
responses to similar questions on this board but I have had no success
in solving these errors.

When I compile the c code using:

gcc -c simul2.c
ld simul2.o -bundle -lm -o simul.so

i get the error:

ld: Undefined symbol:
dyld_stub_blinding_helper

I am not sure how to solve that problem.

Also when I compile the code a few other ways and I do get a .so file,
when I run the IDL program I get the error:
CALL_EXTERNAL: Error loading sharable executable.
Symbol: reflect, File =
/USers/dmg31/jup/SIMUL/simul.so
dlopen(/Users/dmg31/jup/SIMUL/simul.so, 1):
no suitable image found. Did find:
/Users/dmg31/jup/SIMUL/simul.so:
unknown file type, first eight bytes: 0x21...

so I have a feeling that I am not making the .so file correctly. If
someone could help me that would be great.

Thank you so much
dan
[Message index]
 
Read Message
Previous Topic: Re: idl6.2 and if statemente
Next Topic: Calling IDL from C language: sunmath problem.

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

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

Total time taken to generate the page: 0.00167 seconds