Hi all,

I've got some problem in compiling hdf5 with MacOSX10.6 (snow leopard).
I ran a shell script:
export FC='gfortran  -DDEC$=DEC_ -DMS$=MS_'
sudo ./configure --prefix=/usr/local/hdf5 --enable-fortran --enable-cxx
sudo make

Then, there are a lot of similar errors like this:
In file included from H5f90.h:23,
                 from H5f90kit.c:19:
H5f90proto.h:48: error: ‘H5_FC_FUNC_’ declared as function returning a
function
H5f90proto.h:48: warning: parameter names (without types) in function
declaration

My compilers are:
gcc: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
gfortran: GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5646)

Is there any advice about this ? Thanks a lot.

Hiusuet
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to