Vasp reading and writing HDF5 files

I am also facing the same error when command make all.
vhdf5_base.F(6): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [HDF5]
use hdf5
------^
vhdf5_base.F(35): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5intermediategroup_id
----------^
vhdf5_base.F(36): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5infileid
----------^
vhdf5_base.F(37): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5outfileid
----------^
vhdf5_base.F(38): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5wavefileid
----------^
vhdf5_base.F(39): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5ininputgroup_id
----------^
vhdf5_base.F(40): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5outinputgroup_id
----------^
vhdf5_base.F(41): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T):: ih5outoriginalgroup_id
----------^
vhdf5_base.F(56): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T) :: create_inter_prop
----------^
vhdf5_base.F(203): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(217): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(231): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(246): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(262): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(273): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: fileid
------------^
vhdf5_base.F(315): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: fileid
------------^
vhdf5_base.F(343): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: locid
------------^
vhdf5_base.F(345): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: groupid
------------^
vhdf5_base.F(356): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: groupid
------------^
vhdf5_base.F(369): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: locid
------------^
vhdf5_base.F(371): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: groupid
------------^
vhdf5_base.F(386): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: locid
------------^
vhdf5_base.F(388): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(out) :: groupid
------------^
vhdf5_base.F(409): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: groupid
------------^
vhdf5_base.F(425): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: locid
------------^
vhdf5_base.F(450): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: groupid
------------^
vhdf5_base.F(456): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T) :: dset_id, attr_id, aspace, string_type
------------^
vhdf5_base.F(457): error #6683: A kind type parameter must be a compile-time constant. [HSIZE_T]
integer(HSIZE_T) :: dimensions(1)
------------^
vhdf5_base.F(458): error #6683: A kind type parameter must be a compile-time constant. [HSIZE_T]
integer(HSIZE_T) :: strlen
------------^
vhdf5_base.F(499): error #6683: A kind type parameter must be a compile-time constant. [HID_T]
integer(HID_T), intent(in) :: locid
------------^
vhdf5_base.f90(2790): catastrophic error: Too many errors, exiting
compilation aborted for vhdf5_base.f90 (code 1)
makefile:166: recipe for target ‘vhdf5_base.o’ failed
make[2]: *** [vhdf5_base.o] Error 1
make[2]: Leaving directory ‘/home/ramesh/vasp/vasp.6.3.2/build/std’
cp: cannot stat ‘vasp’: No such file or directory
makefile:129: recipe for target ‘all’ failed
make[1]: *** [all] Error 1
make[1]: Leaving directory ‘/home/ramesh/vasp/vasp.6.3.2/build/std’
makefile:13: recipe for target ‘std’ failed
make: *** [std] Error 2

makefile flags are good according to vasp

HDF5-support (optional but strongly recommended)

CPP_OPTIONS+= -DVASP_HDF5
HDF5_ROOT ?= /home/ramesh/HDF5/1.14.0
LLIBS += -L$(HDF5_ROOT)/lib/libhdf5_fortran.a
INCS += -I$(HDF5_ROOT)/include
anyone have solution of this.Please respond