errors in hdf5 installation

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

Dear Elisabetta,

on Debian Linux hdf5 os provided precompiled. If you would install Linux
on your Mac or buy a cheap PC and install it there, you could overcome
all these problems.

Best regards,
Tim

路路路

On 07/12/2015 05:38 PM, Elisabetta Strazzeri wrote:

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
--
Dr Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen
phone: +49 (0)551 39 22149

GPG Key ID = A46BEE1A

can you try the CMake based build system? I have never had any issues with the CMake build system. It might help reduce the issue it the CMake based build system works and the automaker system does not for some reason.

My guess is that you already have another HDF5 installation and you are getting a conflict with how that version is built. Have you cleared out your /usr/local/include and /opt/local/include directories? Or any other MacPorts, HomeBrew, Fink locations?

Mike Jackson

路路路

On Jul 12, 2015, at 11:38 AM, Elisabetta Strazzeri <elisabetta.strazz@gmail.com> wrote:

Hello,

I've run the ./configure in my Mac in this way:
./configure --prefix=/usr/local --enable-fortran --enable-cxx --with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

./H5f90proto.h:100:16: error: function cannot return function type 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f *access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:83:46: note: expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:100:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:83:47: note: expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:101:16: error: function cannot return function type 'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags, hid_t_f *acc_prp, hid_t_f *file_id);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:86:46: note: expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:101:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:86:47: note: expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:102:16: error: function cannot return function type 'int_f (_fcd, int_f *, int_f *)'

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:87:46: note: expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:102:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:87:47: note: expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:103:16: error: function cannot return function type 'int_f (hid_t_f *)'

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:85:46: note: expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:103:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:85:47: note: expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:104:16: error: function cannot return function type 'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen, hid_t_f *file_id, hid_t_f *acc_prp);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:88:46: note: expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:104:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:88:47: note: expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:105:16: error: function cannot return function type 'int_f (hid_t_f *, _fcd, int_f *)'

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:89:46: note: expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:105:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:89:47: note: expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:106:16: error: function cannot return function type 'int_f (hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:90:46: note: expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:106:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:90:47: note: expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:107:16: error: function cannot return function type 'int_f (hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:91:46: note: expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, H5FGET_CREATE_PLIST_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:107:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:91:47: note: expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c, H5FGET_CREATE_PLIST_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:108:16: error: function cannot return function type 'int_f (hid_t_f *, hid_t_f *)'

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f *access_id);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:92:46: note: expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, H5FGET_ACCESS_PLIST_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:108:16: error: a parameter list without types is only allowed in a function definition

./H5f90proto.h:92:47: note: expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c, H5FGET_ACCESS_PLIST_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:109:16: error: function cannot return function type 'int_f (hid_t_f *, int_f *, size_t_f *)'

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type, size_t_f *obj_count);

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

./H5f90proto.h:93:46: note: expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c, H5FGET_OBJ_COUNT_C)

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Hi,

I am out of guesses on what to try next. I never had any issue building HDF5 on
mac or linux. On mac this was before the move to clang though.

A final advice though: have a consistent developer environment. one of
icc+ifort, gcc+gfortran, etc. make sure to build everything with that same
environmnent (including compiler versions), that is szip if you use it, etc. the
parallel system must use the same compilers.

If you want to proceed step wise you could make sure that you are able to
compile and use the regular C HDF5 library, then use the parallel version (to
obtain h5pcc) and then add fortran to obtain h5pfc.

always clean up your build directory (by deleting the build directory and
re-unpacking the tar file for instance) and the installation location.

If you still do not succeed, you may want to find local assistance (sys admin,
hpc user, it support, etc).

Regards,

Pierre

路路路

On Sun, Jul 12, 2015 at 06:38:33PM +0300, Elisabetta Strazzeri wrote:

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
-----------------------------------------------------------
Pierre de Buyl
KU Leuven - Institute for Theoretical Physics
T +32 16 3 27355
W http://pdebuyl.be/
-----------------------------------------------------------

Hi Elisabetta and Tim

If we're going to mention binary packages of HDF5, I think it might be good to point out that on OS X there are non-apple package managers that provide HDF5 too.
- Mac Ports ( https://www.macports.org/ )
- Fink ( http://www.finkproject.org/ )
- Brew ( http://brew.sh/ )

A more extensive list is on wikipedia:

Regards
Timothy

路路路

On Jul 12, 2015, at 10:40 AM, Tim Gruene <tg@shelx.uni-ac.gwdg.de> wrote:

Dear Elisabetta,

on Debian Linux hdf5 os provided precompiled. If you would install Linux
on your Mac or buy a cheap PC and install it there, you could overcome
all these problems.

Best regards,
Tim

On 07/12/2015 05:38 PM, Elisabetta Strazzeri wrote:

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
--
Dr Tim Gruene
Institut fuer anorganische Chemie
Tammannstr. 4
D-37077 Goettingen
phone: +49 (0)551 39 22149

GPG Key ID = A46BEE1A

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Regards,

I have not paid attention to the thread until this point.
I am not sure how to solve the compile errors present.

However, I have two macs, one mavericks, one yosemite. On both machines I have used homebrew (http://brew.sh) very happily to manage my software installations.

Homebrew provides an hdf5 installer (in the lingo, you have to 鈥渂rew tap homebrew-science鈥 and then it provides the ruby install script). It supports both scalar and parallel builds. see this thread

I have removed any trace of macports and fink from my machines (actually, never installed them on these two), and only use homebrew to install packages it has, and then set up my env to use my brew installed gcc (or native clang) compiled code. I have also used it to successfully build my own python env, and can then pip install any python packages I want. Bottom line, this is not the type of thing I am particularly good at, and so far, I have not found a package I want that homebrew (+ google searches for help) has not provided.

A nice feature of homebrew is that it installs in /usr/local by default, and so does not require any sys-admin privileges.

I highly recommend the homebrew method.

Regards,

Andre

路路路

On Jul 14, 2015, at 12:06 PM, Pierre de Buyl <pierre.debuyl@chem.kuleuven.be> wrote:

Hi,

I am out of guesses on what to try next. I never had any issue building HDF5 on
mac or linux. On mac this was before the move to clang though.

A final advice though: have a consistent developer environment. one of
icc+ifort, gcc+gfortran, etc. make sure to build everything with that same
environmnent (including compiler versions), that is szip if you use it, etc. the
parallel system must use the same compilers.

If you want to proceed step wise you could make sure that you are able to
compile and use the regular C HDF5 library, then use the parallel version (to
obtain h5pcc) and then add fortran to obtain h5pfc.

always clean up your build directory (by deleting the build directory and
re-unpacking the tar file for instance) and the installation location.

If you still do not succeed, you may want to find local assistance (sys admin,
hpc user, it support, etc).

Regards,

Pierre

On Sun, Jul 12, 2015 at 06:38:33PM +0300, Elisabetta Strazzeri wrote:

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
-----------------------------------------------------------
Pierre de Buyl
KU Leuven - Institute for Theoretical Physics
T +32 16 3 27355
W http://pdebuyl.be/
-----------------------------------------------------------

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

small correction, this is the precise brew command you need to access hdf5

brew tap homebrew/science

路路路

On Jul 14, 2015, at 12:06 PM, Pierre de Buyl <pierre.debuyl@chem.kuleuven.be> wrote:

Hi,

I am out of guesses on what to try next. I never had any issue building HDF5 on
mac or linux. On mac this was before the move to clang though.

A final advice though: have a consistent developer environment. one of
icc+ifort, gcc+gfortran, etc. make sure to build everything with that same
environmnent (including compiler versions), that is szip if you use it, etc. the
parallel system must use the same compilers.

If you want to proceed step wise you could make sure that you are able to
compile and use the regular C HDF5 library, then use the parallel version (to
obtain h5pcc) and then add fortran to obtain h5pfc.

always clean up your build directory (by deleting the build directory and
re-unpacking the tar file for instance) and the installation location.

If you still do not succeed, you may want to find local assistance (sys admin,
hpc user, it support, etc).

Regards,

Pierre

On Sun, Jul 12, 2015 at 06:38:33PM +0300, Elisabetta Strazzeri wrote:

Hello,

I've run the ./configure in my Mac in this way:

./configure --prefix=/usr/local --enable-fortran --enable-cxx
--with-szlib=/usr/lib

and I typed : make but at the end a lot of errors were found:

*./H5f90proto.h:100:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fcreate_c (_fcd name, int_f *namelen, int_f
*access_flags, hid_t_f *crt_prp, hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:83:46: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:100:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:83:47: **note: *expanded from macro 'nh5fcreate_c'

#define nh5fcreate_c H5_FC_FUNC_(h5fcreate_c, H5FCREATE_C)

* ^*

*./H5f90proto.h:101:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fopen_c (_fcd name, int_f *namelen, int_f *access_flags,
hid_t_f *acc_prp, hid_t_f *file_id);

* ^*

*./H5f90proto.h:86:46: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:101:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:86:47: **note: *expanded from macro 'nh5fopen_c'

#define nh5fopen_c H5_FC_FUNC_(h5fopen_c, H5FOPEN_C)

* ^*

*./H5f90proto.h:102:16: **error: **function cannot return function type
'int_f (_fcd, int_f *, int_f *)'*

H5_FCDLL int_f nh5fis_hdf5_c (_fcd name, int_f *namelen, int_f *flag);

* ^*

*./H5f90proto.h:87:46: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:102:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:87:47: **note: *expanded from macro 'nh5fis_hdf5_c'

#define nh5fis_hdf5_c H5_FC_FUNC_(h5fis_hdf5_c, H5FIS_HDF5_C)

* ^*

*./H5f90proto.h:103:16: **error: **function cannot return function type
'int_f (hid_t_f *)'*

H5_FCDLL int_f nh5fclose_c (hid_t_f *file_id);

* ^*

*./H5f90proto.h:85:46: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:103:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:85:47: **note: *expanded from macro 'nh5fclose_c'

#define nh5fclose_c H5_FC_FUNC_(h5fclose_c, H5FCLOSE_C)

* ^*

*./H5f90proto.h:104:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *, hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fmount_c (hid_t_f *loc_id, _fcd dsetname, int_f *namelen,
hid_t_f *file_id, hid_t_f *acc_prp);

* ^*

*./H5f90proto.h:88:46: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:104:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:88:47: **note: *expanded from macro 'nh5fmount_c'

#define nh5fmount_c H5_FC_FUNC_(h5fmount_c, H5FMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **function cannot return function type
'int_f (hid_t_f *, _fcd, int_f *)'*

H5_FCDLL int_f nh5funmount_c (hid_t_f *loc_id, _fcd dsetname, int_f
*namelen);

* ^*

*./H5f90proto.h:89:46: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:105:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:89:47: **note: *expanded from macro 'nh5funmount_c'

#define nh5funmount_c H5_FC_FUNC_(h5funmount_c, H5FUNMOUNT_C)

* ^*

*./H5f90proto.h:106:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5freopen_c (hid_t_f *file_id1, hid_t_f *file_id2);

* ^*

*./H5f90proto.h:90:46: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:106:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:90:47: **note: *expanded from macro 'nh5freopen_c'

#define nh5freopen_c H5_FC_FUNC_(h5freopen_c, H5FREOPEN_C)

* ^*

*./H5f90proto.h:107:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_create_plist_c (hid_t_f *file_id, hid_t_f *prop_id);

* ^*

*./H5f90proto.h:91:46: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:107:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:91:47: **note: *expanded from macro 'nh5fget_create_plist_c'

#define nh5fget_create_plist_c H5_FC_FUNC_(h5fget_create_plist_c,
H5FGET_CREATE_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **function cannot return function type
'int_f (hid_t_f *, hid_t_f *)'*

H5_FCDLL int_f nh5fget_access_plist_c (hid_t_f *file_id, hid_t_f
*access_id);

* ^*

*./H5f90proto.h:92:46: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:108:16: **error: **a parameter list without types is only
allowed in a function definition*

*./H5f90proto.h:92:47: **note: *expanded from macro 'nh5fget_access_plist_c'

#define nh5fget_access_plist_c H5_FC_FUNC_(h5fget_access_plist_c,
H5FGET_ACCESS_PLIST_C)

* ^*

*./H5f90proto.h:109:16: **error: **function cannot return function type
'int_f (hid_t_f *, int_f *, size_t_f *)'*

H5_FCDLL int_f nh5fget_obj_count_c (hid_t_f *file_id, int_f *obj_type,
size_t_f *obj_count);

* ^*

*./H5f90proto.h:93:46: **note: *expanded from macro 'nh5fget_obj_count_c'

#define nh5fget_obj_count_c H5_FC_FUNC_(h5fget_obj_count_c,
H5FGET_OBJ_COUNT_C)

* ^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [H5f90kit.lo] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1

/////////////////////////////////////////////////////////////////////////////

How can I remove these errors and install completely hdf5?

Thank you very much

My Kindest Regards

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

--
-----------------------------------------------------------
Pierre de Buyl
KU Leuven - Institute for Theoretical Physics
T +32 16 3 27355
W http://pdebuyl.be/
-----------------------------------------------------------

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5