There is a preprocessor macro collision between KST and libhdf5:
#ifndef HDF5_H
#define HDF5_H
[...]
#endif
This collision occurs in the following files:
- /usr/include/hdf5/serial/hdf5.h (Debian libhdf5-dev 1.10.8+repack1)
- kst/datasources/hdf5/hdf5.h (KST master)
I recommend changing datasource/hdf5/* to datasource/hdf5/datasource_* and altering the preprocessor macros to match.