Hi, I try to compile gdal with hdf5 support, but the compile fail:
In file included from /usr/include/hdf5.h:24, from hdf5dataset.cpp:34: /usr/include/H5public.h:57:20: error: mpi.h: No such file or directory In file included from /usr/include/hdf5.h:46, from hdf5dataset.cpp:34: /usr/include/H5FDmpi.h:66: error: expected identifier before '*' token /usr/include/H5FDmpi.h:66: error: 'MPI_Comm' declared as function returning a function In file included from /usr/include/H5FDmpi.h:71, from /usr/include/hdf5.h:46, from hdf5dataset.cpp:34: /usr/include/H5FDmpio.h:50: error: 'MPI_Comm' has not been declared /usr/include/H5FDmpio.h:50: error: 'MPI_Info' has not been declared /usr/include/H5FDmpio.h:51: error: 'MPI_Comm' has not been declared /usr/include/H5FDmpio.h:52: error: 'MPI_Info' has not been declared In file included from /usr/include/H5FDmpi.h:72, from /usr/include/hdf5.h:46, from hdf5dataset.cpp:34: /usr/include/H5FDmpiposix.h:46: error: 'MPI_Comm' has not been declared /usr/include/H5FDmpiposix.h:47: error: 'MPI_Comm' has not been declared In file included from /usr/include/hdf5.h:46, from hdf5dataset.cpp:34: /usr/include/H5FDmpi.h:99: error: 'MPI_Offset' was not declared in this scope /usr/include/H5FDmpi.h:100: error: 'MPI_Offset' has not been declared /usr/include/H5FDmpi.h:101: error: 'MPI_Comm' was not declared in this scope /usr/include/H5FDmpi.h:101: error: 'MPI_Info' was not declared in this scope /usr/include/H5FDmpi.h:102: error: 'MPI_Comm' was not declared in this scope /usr/include/H5FDmpi.h:102: error: 'comm_new' was not declared in this scope /usr/include/H5FDmpi.h:102: error: 'MPI_Info' was not declared in this scope /usr/include/H5FDmpi.h:102: error: 'info_new' was not declared in this scope /usr/include/H5FDmpi.h:102: error: initializer expression list treated as compound expression /usr/include/H5FDmpi.h:103: error: 'MPI_Comm' was not declared in this scope /usr/include/H5FDmpi.h:103: error: 'comm' was not declared in this scope /usr/include/H5FDmpi.h:103: error: 'MPI_Info' was not declared in this scope /usr/include/H5FDmpi.h:103: error: 'info' was not declared in this scope /usr/include/H5FDmpi.h:103: error: initializer expression list treated as compound expression /usr/include/H5FDmpi.h:108: error: 'MPI_Datatype' has not been declared /usr/include/H5FDmpi.h:109: error: 'MPI_Datatype' has not been declared /usr/include/H5FDmpi.h:115: error: 'MPI_Comm' does not name a type make[2]: *** [../o/hdf5dataset.lo] Error 1 make[2]: Leaving directory `/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts/hdf5' make[1]: *** [hdf5-install-obj] Error 2 make[1]: Leaving directory `/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts' make: *** [frmts-target] Error 2 -- View this message in context: http://n2.nabble.com/gdal-1-6-2-compile-fail-mpi-h-tp3865413p3865413.html Sent from the GDAL - Dev mailing list archive at Nabble.com. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev