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

Home » Public Forums » archive » Re: 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
Re: CALL_EXTERNAL error when calling a C program [message #45858 is a reply to message #45840] Mon, 10 October 2005 17:46 Go to previous messageGo to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Sun, 09 Oct 2005 11:27:40 -0700, golembeski wrote:

> 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.

Your code (simul2.c) somehow needs the dynamic loader.

Try including libdl.dylib (add -ldl)

or maybe add the -dynamic option.

anyway, dyld_stub_binding_helper is defined in libdl.
I assume that you just made a typo above - "blinding".
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Asynchronous reading
Next Topic: group leader for iTools

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

Current Time: Wed Oct 08 17:34:24 PDT 2025

Total time taken to generate the page: 0.00413 seconds