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.
Eirh-Yu Hsie, >Date: Thu, 7 Dec 1995 12:43:31 -0700 >From: address@hidden (Eirh-Yu Hsie) >Organization: NOAA >Subject: Re: 951206: netCDF 2.4 >Keywords: 199512061703.AA12237 In the above message you wrote: > Those routines are there. My results are: > > mustang:[211]% nm -r /wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib/libnetcdf.a > | grep FUNC | grep GLOB | grep jackets > [30] | 672| 56|FUNC |GLOB |0 |2 |jackets.o:ncpopt_ ... Good. I notice that your build-line was f77 -L/wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib -lnetcdf -o rdtest.ex rdtest.F I believe the problem is caused referencing the netCDF library (-lnetcdf) before referencing the main routine (rdtest.F). Try the following build command f77 -o rdtest.ex rdtest.F -L/wrk/d0/newsoft/netcdf/netcdf-2.4-beta5/lib -lnetcdf Please let me know if this works. -------- Steve Emmerson <address@hidden>