Hi,

I'm trying to install HDF 1.8.5 on a Mac Pro with 10.5.8 installed. I 
configured the install with

./configure --enable-fortran FC=ifort --prefix=$HOME/usr/hdf5 --enable-hl 
--enable-cxx

and then typed

make

and I get the following error:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DNDEBUG 
-UH5_DEBUG_API -std=c99 -pedantic -Wall -Wextra -Wundef -Wshadow 
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings 
-Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline 
-Wno-long-long -Wfloat-equal -Wmissing-format-attribute -Wmissing-noreturn 
-Wpacked -Wdisabled-optimization -Wendif-labels -Wdeclaration-after-statement 
-Wold-style-definition -Winvalid-pch -Wvariadic-macros -Wnonnull -Winit-self 
-Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-macros -O3 
-fomit-frame-pointer -finline-functions -MT H5f90kit.lo -MD -MP -MF 
.deps/H5f90kit.Tpo -c H5f90kit.c -o H5f90kit.o
In file included from H5f90.h:23,
                from H5f90kit.c:19:
[...]
H5f90proto.h:1216: warning: redundant redeclaration of 'H5_FC_FUNC_'
H5f90proto.h:1213: warning: previous declaration of 'H5_FC_FUNC_' was here
H5f90proto.h:1218: error: 'H5_FC_FUNC_' declared as function returning a 
function
H5f90proto.h:1218: warning: parameter names (without types) in function 
declaration
H5f90proto.h:1218: warning: redundant redeclaration of 'H5_FC_FUNC_'
H5f90proto.h:1216: warning: previous declaration of 'H5_FC_FUNC_' was here
make[3]: *** [H5f90kit.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

I've used exactly the same commands on MacOS 10.6 and didn't run into any 
issues. Does anyone have any ideas what the problem could be?

Thanks for any help,

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

Reply via email to