NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20060123: Linking to GEMPAK libraries

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



David,

Those routines are all in gemlib.a, however, it appears that you
didn't compile your code using the g77 flag -fno-second-underscore.
See the $CONFIGDIR/Makeinc.darwin for compilations flags you should
be using with your own code.

Steve Chiswell
Unidata User Support


On Mon, 2006-01-23 at 11:31, David Blanchard wrote:
> I'm trying to port an old fortran program that links to some of the
> gempak libraries.  In the past, I would link it against "gemlib.a" and
> the gempak routines were satisfied.
> 
> My current system is MacOS X 10.4 and the most current version of
> gempak.
> 
> The load errors are...
> 
> /usr/bin/ld: Undefined symbols:
> _in_bdta__
> _lc_sare__
> _sn_clos__
> _sn_gtim__
> _sn_opnf__
> _sn_rdat__
> _sn_snxt__
> _sn_sstn__
> _sn_stim__
> _ti_ctoi__
> 
> Which lib(s) do these require?
> 
> David
> 
> +------------------------------------------------------------------------+
> | David O. Blanchard  Flagstaff, Arizona  address@hidden  |
> +------------------------------------------------------------------------+