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

Home » Public Forums » archive » Call_External on IDL5.0
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 on IDL5.0 [message #18678] Thu, 03 February 2000 00:00 Go to previous message
whowhere is currently offline  whowhere
Messages: 1
Registered: February 2000
Junior Member
Hi -

I have an annoying problem when using call_external on a sunOS
with IDL v 5.0. I call C subroutines.

It works fine if I exit from IDL and recompile from scratch
But if I make a change to the C program and compile it using
cc -G -Kpic -c junk.c
ld -G -o junk.so junk.o

then do
IDL> .r junkcaller
IDL> junkcaller
it gives
Segmentation fault (core dumped) or
Illegal instruction (core dumped)
and crashes IDL.

Then I restart IDL, do the same as above, without changing anything., It
works fine
Has anybody else faced this wierdness ?
I assure you there is no problem with either the code or the
calling because it works fine the second time I do it. It can't be some
cross-referencing
issue because IDL crashes - so the cross referencing can;t be saved.

Thanks for your time, Ranga
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Projects, anyone?
Next Topic: Faster than this...

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

Current Time: Fri Oct 10 06:35:16 PDT 2025

Total time taken to generate the page: 1.20560 seconds