[netcdf-hdf] netcdf-beta-4/HDF5 build problem with H5Adelete

Hello,

I'm attempting to build NetCDF version beta 4.0 including support for HDF5 using version 1.8.0 beta 4. My system is running an up-to-date installation of FedoraCore 7, the gcc and g95 compilers and has open MPI installed.

My build of HDF5 passed 'make check' with no problems. On building NetCDF (for C, FORTRAN and parallel IO but not C++) I hit problems which I've fixed with the patch provided here:

http://www.unidata.ucar.edu/mailing_lists/archives/netcdf-hdf/2007-September/000768.html

This patch affects libsrc4/netcdf.h and the configure script but I don't think it makes changes that affect my problem below.

After patching, my build gets further but fails with:

libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc4 -I../libsrc -I/usr/local/hdf5-1.8.0-beta4/hdf5/include -I/usr/local/hdf5-1.8.0-beta4/hdf5/include -g -O2 -MT nc4attr.lo -MD -MP -MF .deps/nc4attr.Tpo -c nc4attr.c -o nc4attr.o
nc4attr.c: In function 'nc_del_att':
nc4attr.c:777: error: too few arguments to function 'H5Adelete2'
make[2]: *** [nc4attr.lo] Error 1
make[2]: Leaving directory `/usr/local/netcdf-4.0-beta1/libsrc4'

Does anyone have any suggestions as to what might be going wrong?

Many thanks,

Andy.

--
Andrew Porter
Computational Scientist
Advanced Research Computing Group
Computational Science and Engineering Dept.
STFC Daresbury
Warrington
WA4 4AD

Tel: 01925 603362