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.
> The netcdf4-beta1 'make check' still fails in the f77 section with my > default build which is > > make[2]: Entering directory `/data/zender/tmp/netcdf-4.0-beta1/nf_test' > /bin/sh ../libtool --tag=F77 --mode=link g95 -I../fortran > -I/usr/local/netcdf4/include -I../libsrc4 -I../f90 -g -O2 > -L/usr/local/netcdf4/lib -o nf_test test_get.o test_put.o nf_error.o > nf_test.o test_read.o test_write.o util.o fortlib.o > ./libsrc4/libnetcdf.la -lhdf5_hl -lhdf5 > libtool: link: g95 -I../fortran -I/usr/local/netcdf4/include > -I../libsrc4 -I../f90 -g -O2 -o nf_test test_get.o test_put.o nf_error.o > nf_test.o test_read.o test_write.o util.o fortlib.o > -L/usr/local/netcdf4/lib ../libsrc4/.libs/libnetcdf.a > -L/data/zender/tmp/netcdf-4.0-beta1/libsrc4 > /usr/local/netcdf4/lib/libhdf5_hl.so /usr/local/netcdf4/lib/libhdf5.so > -lz -lm -Wl,-rpath -Wl,/usr/local/netcdf4/lib -Wl,-rpath > -Wl,/usr/local/netcdf4/lib > test_get.o:(.data+0x154): undefined reference to `nf_inq_grp_ncid__' > test_get.o:(.data+0x16c): undefined reference to `nf_inq_grp_parent__' > test_get.o:(.data+0x18c): undefined reference to `nf_inq_var_fill__' > > If Unidata wants to support g95 with default (no) switches, then > there is an issue with the linking in 'make check'. > My previous email has more details. > This is now fixed in the netCDF-4 snapshot, and g95 working in our nightly testing. Thanks for pointing this out... Ed Ticket Details =================== Ticket ID: YSY-473903 Department: Support netCDF Priority: Normal Status: Closed