Ticket #2297 (closed defect: fixed)
gdal does not compile against hdf5-1.8.0 with mixed API
| Reported by: | vincentschut | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.3 |
| Component: | GDAL_Raster | Version: | 1.5.1 |
| Severity: | normal | Keywords: | HDF5 |
| Cc: |
Description
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)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

