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.
Clint, That should do it: f77 -I$GEMPAK/include -I$GEMPAK/include/SunOS -o ssfgsf ssfgsf.f \ $GEMLIB/gemlib.a $GEMLIB/appl.a $GEMLIB/syslib.a $GEMLIB/gemlib.a The missing libraries you have are typical of trying to use the C compiler to link GEMPAK programs....but that isn't your case below. Are you using an old f77 compiler with $GEMLIB libraries that I compiled here? Generally, the missing libs are -lF77 -lU77 -lm. Anyhow, I'll send you a ssfgsf solaris binary. I just tested it using: % ssfgsf Enter name of SSF map file to be converted: /home/gempak/GEMPAK5.6/gempak/maps/ascii/asclakes.cia Enter name of GSF map file to be created: lakes.cia Enter data subset area: MINLAT;MINLON;MAXLAT;MAXLON Missing numbers imply all data in that direction. -9999;-9999;-9999;-9999 Data subset area: -90.0000 -180.000 90.0000 180.000 Intermediate SSF map file created Intermediate direct access file created. 129 blocks written to new GSF file. remember to remove the seqfil.int and dafil.int files when complete. Steve Chiswell Unidata User Support >From: Clint Rowe <address@hidden> >Organization: UCAR/Unidata >Keywords: 200102071737.f17HblL25016 >Chiz, > >Okay, so I'm ready to convert my file to a gempak map file, but I can't seem >to get ssfgsf.f to compile correctly. Here's the command I'm using and the >errors messages I get. > >f77 -I$GEMPAKHOME/include -I$GEMPAKHOME/include/SunOS -xildoff -o ssfgsf >ssfgsf.f \ > $GEMLIB/gemlib.a $GEMLIB/appl.a $GEMLIB/syslib.a $GEMLIB/gemlib.a >ssfgsf.f: > MAIN ssfgsf: >Undefined first referenced > symbol in file >__e_rdue_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flread.o) >__s_wsFi_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(stinch.o) >__e_wsfe_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(erlmsg.o) >__do_u_in_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flread.o) >__s_wdue_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flwrit.o) >__e_rsfe_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(ermmsg.o) >__s_wsFe_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(erlmsg.o) >__s_rdue_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flread.o) >__s_rsFe_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(ermmsg.o) >__do_f_out_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(erlmsg.o) >__do_f_in_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(ermmsg.o) >__do_u_out_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flwrit.o) >__e_wdue_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(flwrit.o) >__e_wsfi_pv /home/nawips/NAWIPS-5.6/lib/sol/gemlib.a(stinch.o) >ld: fatal: Symbol referencing errors. No output written to ssfgsf > >What am I doing wrong? Am I missing a library in my command? > >Clint > >==================================================================== >Clinton M. Rowe >Associate Professor >Meteorology/Climatology Program phone:(402)472-1946 >Department of Geosciences fax:(402)472-4917 >University of Nebraska-Lincoln address@hidden > >