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.
Hello Chris, From the file `make.out`, I see the following: /bin/sh ../libtool --tag=F77 --mode=link -I../fortran -I../fortran -Msignextend -L/home/rousculp/Platforms/DarwinPGI/lib -o nf_test f03lib_f_interfaces.o test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o f03lib.o ../fortran/libnetcdff.la -lnetcdf It appears that you need to set your `F77` environmental variable to reflect your compiler; it is currently empty, and instead of passing `-I../fortran` to the compiler, it is being passed to `libtool`, which complains that it is an unrecognized option. I hope this helps, -Ward > Full Name: chris rousculp > Email Address: address@hidden > Organization: LANL > Package Version: netcdf-4.4.0, netcdf-fortran-4.4.4 > Operating System: osx 10.8.5 > Hardware: quad core intel xenon > Description of problem: Hi, > > I'm getting a netcdf fortran package build error when make check. See > attached files with build script, output, and configure.status for both C and > Fortran. > > Thanks, > Chris > > > > Ticket Details =================== Ticket ID: EOO-961163 Department: Support netCDF Priority: Normal Status: Closed