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

Home » Public Forums » archive » RE: CALL_EXT with SunOS
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_EXT with SunOS [message #6971 is a reply to message #6968] Fri, 06 September 1996 00:00 Go to previous message
Jeffrey Newmark is currently offline  Jeffrey Newmark
Messages: 8
Registered: April 1996
Junior Member
mallozzi@ssl.msfc.nasa.gov wrote:
>
> Hi all,
> I have a large IDL/FORTRAN package that I've ported to VMS Alpha,
> SGI, and Solaris. When I tried SunOS, CALL_EXTERNAL fails with the
> error
>
> ld.so: mmap error(22)
>
> Does anyone know what would cause this error? The shared image linked
> with no errors or warnings. Compile line was
> cc -O -PIC -c
> and link line was
> ld -o TEST_SHARE $(OBJS) $(LIBS)
>
> Thanks,
> bob

Hi Bob,

I'm not sure about the error message but the compile and link
statements we use are:

cc -pic -fsingle -c test_share
ld -o TEST_SHARE.so -shared test_share.o -assert pure-text
$(OBJS) $(LIBS)

I think the big difference is the -shared option????

have fun,
Jeff Newmark
[Message index]
 
Read Message
Read Message
Previous Topic: read_tif problem
Next Topic: Re: PV-WAVE date/time plots

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

Current Time: Mon Dec 01 08:04:54 PST 2025

Total time taken to generate the page: 0.24156 seconds