Re: CALL_EXTERNAL Compilation Question [message #7856] |
Wed, 22 January 1997 00:00 |
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
|
|
|