netcdf-3.6.2-beta6 released - last beta release of 3.6.2

Mark Hadfield m.hadfield at niwa.co.nz
Sun Jan 21 15:51:42 MST 2007


Ed Hartnett wrote:
> Howdy all!
>
> I have just release netCDF-3.6.2 beta6. Get it here:
>
> ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.gz
>   
A build problem cropped up in 3.6.2-beta5 and is still there in 3.6.2-beta6.

It occurs with g95 on Linux, which I configure as follows (non-essential 
details omitted):

CC=gcc FC=g95 CPPFLAGS=-DpgiFortran FFLAGS=-fno-second-underscore 
FCFLAGS=-fno-second-underscore ./configure

The failure occurs during "make check" with

libtool: link: g95 -I../libsrc -I../f90 -fno-second-underscore -o 
tst_f90 tst_f90.o  ../libsrc/.libs/libnetcdf.a
ftest.o(.data+0x9124): undefined reference to `nf_set_log_level_'
[followed by several more "undefined reference" messages]

Library libsrc/.libs/libnetcdf.a seems to contain most of the 
Fortran-interface routines (nf_put_var_double_, etc, etc) but not 
nf_set_log_level_.

I had no problem building beta4 with this combination and I have no 
trouble building beta5 and beta6 with gfortran or g77.

Any ideas?

-- 
Mark Hadfield          "Ka puwaha te tai nei, Hoea tahi tatou"
m.hadfield at niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)




More information about the netcdfgroup mailing list