alfreale,<br><br>Looks like this problem is related to hdf5 and mpi. IMHO you should check your mpi and hdf5 packages.<br><br><div class="gmail_quote">On Wed, Oct 21, 2009 at 7:22 PM, alfreale <span dir="ltr"><<a href="mailto:alfreale74@gmail.com">alfreale74@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I try to compile gdal with hdf5 support, but the compile fail:<br>
<br>
<br>
In file included from /usr/include/hdf5.h:24,<br>
from hdf5dataset.cpp:34:<br>
/usr/include/H5public.h:57:20: error: mpi.h: No such file or directory<br>
In file included from /usr/include/hdf5.h:46,<br>
from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpi.h:66: error: expected identifier before '*' token<br>
/usr/include/H5FDmpi.h:66: error: 'MPI_Comm' declared as function returning<br>
a function<br>
In file included from /usr/include/H5FDmpi.h:71,<br>
from /usr/include/hdf5.h:46,<br>
from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpio.h:50: error: 'MPI_Comm' has not been declared<br>
/usr/include/H5FDmpio.h:50: error: 'MPI_Info' has not been declared<br>
/usr/include/H5FDmpio.h:51: error: 'MPI_Comm' has not been declared<br>
/usr/include/H5FDmpio.h:52: error: 'MPI_Info' has not been declared<br>
In file included from /usr/include/H5FDmpi.h:72,<br>
from /usr/include/hdf5.h:46,<br>
from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpiposix.h:46: error: 'MPI_Comm' has not been declared<br>
/usr/include/H5FDmpiposix.h:47: error: 'MPI_Comm' has not been declared<br>
In file included from /usr/include/hdf5.h:46,<br>
from hdf5dataset.cpp:34:<br>
/usr/include/H5FDmpi.h:99: error: 'MPI_Offset' was not declared in this<br>
scope<br>
/usr/include/H5FDmpi.h:100: error: 'MPI_Offset' has not been declared<br>
/usr/include/H5FDmpi.h:101: error: 'MPI_Comm' was not declared in this scope<br>
/usr/include/H5FDmpi.h:101: error: 'MPI_Info' was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: 'MPI_Comm' was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: 'comm_new' was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: 'MPI_Info' was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: 'info_new' was not declared in this scope<br>
/usr/include/H5FDmpi.h:102: error: initializer expression list treated as<br>
compound expression<br>
/usr/include/H5FDmpi.h:103: error: 'MPI_Comm' was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: 'comm' was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: 'MPI_Info' was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: 'info' was not declared in this scope<br>
/usr/include/H5FDmpi.h:103: error: initializer expression list treated as<br>
compound expression<br>
/usr/include/H5FDmpi.h:108: error: 'MPI_Datatype' has not been declared<br>
/usr/include/H5FDmpi.h:109: error: 'MPI_Datatype' has not been declared<br>
/usr/include/H5FDmpi.h:115: error: 'MPI_Comm' does not name a type<br>
make[2]: *** [../o/hdf5dataset.lo] Error 1<br>
make[2]: Leaving directory<br>
`/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts/hdf5'<br>
make[1]: *** [hdf5-install-obj] Error 2<br>
make[1]: Leaving directory<br>
`/home/alfredo/archivio/GRASS_INSTALL/gdal-1.6.2/frmts'<br>
make: *** [frmts-target] Error 2<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/gdal-1-6-2-compile-fail-mpi-h-tp3865413p3865413.html" target="_blank">http://n2.nabble.com/gdal-1-6-2-compile-fail-mpi-h-tp3865413p3865413.html</a><br>
Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>