Problems compöiling HDF fortran example

Hi Folks,

Ia hvae just downloaded HDF from, and I am failing on compiling one
of the provided fortran examples using h5fc. I am running the following

h5fc -shlib -Wall -o hh hfd5_test.f90


And here is the output:


  use hdf5
Fatal Error: Parse error when checking module version for file 'hdf5.mod'
opened at (1)

What is the possible reason of this problem?

I an running gfortran 4.5.2 on a ubuntu 11.0.4 64 bit machine.

Best wishes