--- b/configure.in +++ a/configure.in @@ -1499,6 +1499,9 @@ dnl though we do not do this as it breaks the big test on older versions dnl of linux (CentOS 4.6) using newer versions of gcc (4.6.2). AM_CPPFLAGS="-D_BSD_SOURCE $AM_CPPFLAGS" + + dnl _GNU_SOURCE is needed for vasprintf + AM_CPPFLAGS="-D_GNU_SOURCE $AM_CPPFLAGS" ;; esac --- a/test/cache_common.h +++ b/test/cache_common.h @@ -702,5 +702,9 @@ hbool_t compare_init, int test_num); +hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a, + const H5C_auto_size_ctl_t *b, + hbool_t compare_init); + #endif /* _CACHE_COMMON_H */ --- a/tools/misc/talign.c +++ b/tools/misc/talign.c @@ -23,6 +23,7 @@ #include "hdf5.h" #include "H5private.h" +#include "h5tools.h" const char *fname = "talign.h5"; const char *setname = "align"; --- a/tools/h5repack/testh5repack_detect_szip.c +++ b/tools/h5repack/testh5repack_detect_szip.c @@ -17,6 +17,7 @@ #include "h5repack.h" #include "h5tools.h" #include "h5test.h" +#include "h5tools_utils.h" /* Name of tool */ --- a/hl/src/H5LTanalyze.c +++ b/hl/src/H5LTanalyze.c @@ -49,7 +49,8 @@ #define YY_FLEX_MINOR_VERSION 5 #include +#include "H5pubconf.h" #ifdef H5_HAVE_UNISTD_H #include #endif