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 
Switch to threaded view of this topic Create a new topic Submit Reply
RE: CALL_EXT with SunOS [message #6968] Fri, 06 September 1996 00:00
mallozzi is currently offline  mallozzi
Messages: 60
Registered: August 1994
Member
Sorry, I forgot to give the fortran compile line:
f77 -c -PIC -w -e -Nl100

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


-bob
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: read_tif problem
Next Topic: Re: PV-WAVE date/time plots

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

Current Time: Fri Oct 10 20:22:24 PDT 2025

Total time taken to generate the page: 1.12230 seconds