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

Home » Public Forums » archive » linkimage query
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
linkimage query [message #24223] Wed, 14 March 2001 11:42
src is currently offline  src
Messages: 9
Registered: January 2001
Junior Member
hi,
I realise many people don't use Linkimage, but maybe someone might know
what's happening here. Basically I've written some code that links to IDL
with LinkImage, it seems to work fine in most circumstances, but the fact
I've a problem in one case makes me wonder if I've just been lucky in all
the other cases.

The code is used on two platforms, gcc/Linux/x86 and cc/DEC
unix/alpha. What compiler flags should be used when compiling a binary to
be used with linkimage? I've been using:

-shared for gcc
-std -shared for cc

Are these o.k. or should different flags be used? The problem I mentioned
above is a segmentation fault that occurs with only one of the alpha boxes
I use (I think it might have a different version of the alpha chip, but
the binary should work on all alphas). The reason I asked about the
compiler flags is that cc produces the following warning but gcc doesn't:

ld:
Warning: Unresolved:
sqrt
IDL_VarEnsureSimple
IDL_Message
exp
log

...etc, even thought I've #include <math.h> and export.h.

any info would be much appreciated,
Rich
[Message index]
 
Read Message
Previous Topic: Re: converting to array
Next Topic: frustrated by hdf_sd_adddata

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

Current Time: Fri Oct 10 14:26:03 PDT 2025

Total time taken to generate the page: 2.00037 seconds