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.
Robert, The makefile was copied from another that used that make target. To build a _gf version, edit the LIBINC_GF list in the Makefile to include: LIBINC_GF = \ $(GPLT_NC) \ $(GEMLIB) \ $(CGEMLIB) \ $(GPLT) \ $(DEVICE) \ $(GF) \ $(GN) \ $(GEMLIB) \ $(CGEMLIB) \ $(NETCDF) \ $(PNGLIB) \ $(ZLIB) \ $(RSLLIB) \ $(LIBBZ2) eg, add the NETCDF, PNGLIB, RSLLIB, and LIBBZ2 variables (each continued line must start with a tab). Steve Chiswell Unidata User Support >From: Robert Mullenax <address@hidden> >Organization: UCAR/Unidata >Keywords: 200406221913.i5MJDuWb016955 >I downloaded the source code for gpnids and placed it in my GEMPAK5.7.2p2 >distro. gpnids itself built fine, but when I tried to do a make programs_gf >in ~/GEMPAK5.7.2p2/unidata/programs/gpnids, I got the following error: > >Undefined first referenced > symbol in file >RSL_sweep_to_cart >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(crnex2.o) >png_init_io >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >nc_close >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >RSL_read_these_sweeps >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >png_read_row >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >png_get_IHDR >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >RSL_free_radar >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >nc_inq_attlen >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >png_destroy_read_struct >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >png_create_info_struct >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >RSL_get_first_ray_of_sweep >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >RSL_select_fields >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >png_create_read_struct >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >png_set_read_status_fn >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >nc_get_att_int >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >png_read_info >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(pngread.o) >RSL_wsr88d_to_radar >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >RSL_add_dbz_offset_to_sweep >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(crnex2.o) >RSL_get_closest_sweep >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrnex2.o) >nc_open >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >nc_get_att_text >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >nc_inq_dimlen >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >nc_get_var1_double >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) >nc_get_vara_uchar >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gn.a(crncdf.o) >nc_get_att_float >/usr/nawips/GEMsm/GEMPAK5.7.2p2/lib/x86/gemlib.a(imrcdf.o) > > > >I went back and did a make distclean and rebuilt the entire distro, and >tried >again with the same result. Did I miss a step here? > >Thanls, >Robert Mullenax > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publically available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.