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

Home » Public Forums » archive » Re: CALL_EXTERNAL Compilation Question
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_EXTERNAL Compilation Question [message #7856] Wed, 22 January 1997 00:00
Charles Thompson is currently offline  Charles Thompson
Messages: 2
Registered: January 1997
Junior Member
Charles Thompson wrote:
>
> I am trying to compile a large FORTRAN program in order to use it with
> IDL's CALL_EXTERNAL routine. I'm working on a Solaris machine, so I
> wrote a C wrapper to the FORTRAN program, then compiled each based upon
> the directions in the IDL user manual (p. 18-23). When I tried to load
> the two object files to create a shared object, I got the message:
>
> ld: fatal: too many symbols require "small" PIC references:
> have 2170, maximum 2048 -- recompile some modules -K PIC.
>
> I then tried to compile my FORTRAN program using the -KPIC option, but
> when I tried to perform the loading procedure, the same message as above
> popped up. Any suggestions on how to alleviate this problem would be
> greatly appreciated, thanks.
>
> ckt
>
> --
> -----------------------------------------
> Charles Thompson
> Member of Technical Staff
> Visualization and Earth Science Applications (VESA) Group
> Science Data Processing and Systems Section 388
>
> Jet Propulsion Laboratory
> 4800 Oak Grove Drive
> Mail Stop 168-514
> Pasadena, CA 91109-8099
>
> 818-354-9602 (office)
> 818-393-6962 (fax)
>
> charles@spicoli.jpl.nasa.gov
> -----------------------------------------



The answer, apparently, is to go to another Solaris machine. I tried
the -KPIC option on a different Sun workstation and, so far, success.

ckt
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TCPIP-Ports and IDL...
Next Topic: CALL_EXTERNAL Compilation Question

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

Current Time: Wed Oct 08 16:00:39 PDT 2025

Total time taken to generate the page: 0.00466 seconds