Re: IDL: CALL_EXTERNAL under Solaris 2.3 [message #3504] |
Tue, 07 February 1995 13:18 |
afl
Messages: 51 Registered: December 1994
|
Member |
|
|
In article <3h83tp$3dt@kwuz.nerc-keyworth.ac.uk>, Fergus Gallagher
<f.Gallagher@nerc.ac.uk> writes:
|> Having upgraded my Sparcstation 20 to Solaris 2.3 and F77 3.0,
|> I find that my makefile for my shareable object no longer compiles.
|> Call_external.doc leaves an obvious "to be continued" gap under
|> Solaris 2.3.
|>
|> Anybody know the appropriate libraries I should link?
|>
|> Fergus Gallagher
|> British National Space Centre
I had a lot of trouble with this myself. I tried a number of
libraries before settling on the final one listed below...
##F_LIBS = /usr/lib/libV77.a /usr/lib/libF77.a /usr/lib/libsunmath.a
##F_LIBS = /usr/lib/libF77.so /usr/lib/libM77.so.2 /usr/lib/libm.so
##F_LIBS = /usr/lib/libM77.so.2 /usr/lib/libV77.so.2 -lm -lF77
##F_LIBS = -lF77 -lm -lM77 -lV77
##F_LIBS = -lm -lF77
F_LIBS = /usr/lib/libV77.a /usr/lib/libF77.a /usr/lib/libsunmath.a
What I learned is that you must try one list within an IDL session, and if
it does not work, completely exit from IDL, start up IDL again, then
make another attempt. DO NOT try multiply attempts within one IDL
session because you will never know which combination worked.
--
Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
|
|
|