Ticket #2297 (closed defect: fixed)
gdal does not compile against hdf5-1.8.0 with mixed API
|Reported by:||vincentschut||Owned by:||warmerdam|
hdf5 from 1.8.x onwards has a new API for some function calls. However, usually (depends on compile flag) the older functions are still available by appending '1' after the function name (see http://www.hdfgroup.uiuc.edu/HDF5/doc_1.8pre/doc/RM/APICompatMacros.html). I don't know for other linux distro's, but for arch linux this is the case.
Attached is a diff which can be applied to fix the issue. With the patch applied, gdal compiles cleanly against my hdf5-1.8.0-3 (arch linux)