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, > > the buildung of the netcdf-4 snapshot with --disable-netcdf-4 appears > to be broken. I get during a build on a Linux machine: > > /bin/sh ../libtool --tag=CC --mode=link gcc -g -Os -pipe -o > nccopy nccopy.o nciter.o -lm ../libsrc/libnetcdf.la > libtool: link: gcc -g -Os -pipe -o nccopy nccopy.o nciter.o -lm > ../libsrc/.libs/libnetcdf.a > nccopy.o: In function `copy_var_data': > /home/hanlauf/xfer/netcdf-4.1-snapshot2010011100/ncdump/nccopy.c:728: > undefined reference to `nc_inq_type' > collect2: ld returned 1 exit status > > This is with netcdf-4.1-snapshot2010011100. > I had no such problem with netcdf-4.1-snapshot2009121100. > > For details see the attached config.log, config.status, make.log > > Cheers, > Harald > > -- Howdy Harald! This was my fault - I broke things trying to fix the way that netcdf.h is generated. But I've gone back to the way it was before, and will work on this problem again after the 4.1 release. The snapshot works with --disable-netcdf-4 again. Thanks, Ed Ticket Details =================== Ticket ID: PBC-856537 Department: Support netCDF Priority: High Status: Closed