20060123: Linking to GEMPAK libraries

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  david_blanchard@xxxxxxxxxxxxx  |
+------------------------------------------------------------------------+


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: