Hi
I am trying to compile the HDF5 library version hdf5-1.10.5 using the intel compilers on a Linux kernel 2.6.32-573.12.1.el6.x86_64. The ultimate goal is to use it inside a Fortran program. While building the library, I encounter the error:
In file included from H5Fprivate.h(34),
from H5Cprivate.h(35),
from H5ACprivate.h(33),
from H5.c(23):
H5VMprivate.h(464): error: identifier "CHAR_BIT" is undefined
if(n >= (hsize_t)1 << ((sizeof(hsize_t) * CHAR_BIT) - 1))
I encountered this problem with almost all release versions of the HDF library so I am assuming the C compiler is somehow misconfigured. Do you have any ideas on how to circumvent this problem?
I saw some previous threads on this topic and also on the internet but did not find anything relavant.