[gdal-dev] Failure to compile 1.6.0 with errors 'libgdal.so:
undefined reference to `PMPI::Intracomm::current_op'
Steve Walker
walker at mfgis.com
Thu Feb 26 14:39:49 EST 2009
Hi, I'm a brand new visitor to your list here.
I'm working on Debian Squeeze and have had a functioning 1.6.0 install
(compiled, not from a .deb) version up until this morning, when I went to
re-compile so as to include additional support, specifically ogdi.
After a half day of trying and failing, I felt it time to come here. The
error looks like this:
/bin/sh /home/walker/admin/gdal-1.6.0/libtool --mode=link g++ gdalinfo.o \
/home/walker/admin/gdal-1.6.0/libgdal.la -o gdalinfo
libtool: link: g++ gdalinfo.o -o .libs/gdalinfo
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so -L/usr/lib -L/usr/local/lib
-L/usr/lib/lib -L/usr/include/ogdi -L/usr/include/ogdi/lib
-L/usr/lib/grass/lib -L/usr/local/Geo_DSDK-7.0.0.2167/lib/Release
-L/usr/local/Geo_DSDK-7.0.0.2167/3rd-party/lib/Release
/usr/lib/libgeos_c.so /usr/lib/libgeos.so /usr/lib/libodbc.so
/usr/lib/libodbcinst.so /usr/lib/libltdl.so /usr/lib/libexpat.so
/usr/local/lib/libNCSEcw.so /usr/local/lib/libNCSCnet.so
/usr/local/lib/libNCSUtil.so /usr/lib/libjasper.so /usr/lib/libhdf5.so -lm
-lmfhdf -ldf -logdi31 /usr/lib/libjpeg.so -lpng -lnetcdf -lgrass_vect
-lgrass_dig2 -lgrass_dgl -lgrass_rtree -lgrass_linkm -lgrass_dbmiclient
-lgrass_dbmibase -lgrass_I -lgrass_gproj -lgrass_vask -lgrass_gmath
-lgrass_gis -lgrass_datetime -lpq -lz -lrt -ldl /usr/lib/libcurl-gnutls.so
-lltidsdk -lpthread -llt_kakadu
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`PMPI::Intracomm::current_op'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`PMPI::Comm::mpi_comm_map'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`MPI::Is_initialized()'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`PMPI::Comm::mpi_err_map'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`MPI::Op::Free()'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`op_intercept'
/home/walker/admin/gdal-1.6.0/.libs/libgdal.so: undefined reference to
`MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype const&),
bool)'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/home/walker/admin/gdal-1.6.0/apps'
make: *** [apps-target] Error 2
My configure command looks like this:
./configure \
--with-libz \
--with-pg=/usr/bin/pg_config \
--with-grass=/usr/lib/grass \
--with-libgrass \
--with-cfitsio \
--with-pcraste \
--with-png \
--with-libtiff \
--with-geotiff \
--with-jpeg \
--with-gif \
--with-ogdi=/usr/include/ogdi \
--with-jasper=/usr/lib \
--with-ecw=/usr/local \
--with-mrsid=/usr/local/Geo_DSDK-7.0.0.2167 \
--with-jp2mrsid \
--with-xerces \
--with-xerces-inc \
--with-xerces-lib \
--with-expat \
--with-expat-inc \
--with-expat-lib \
--with-odbc \
--with-curl=/usr/bin/curl-config \
--with-geos \
--with-perl \
--with-python
I'll supply any more information as needed, such as installed packages, etc.
Thanks in advance,
--
Steve Walker
Middle Fork Geographic Information Services
360.671.2505
walker at mfgis.com
http://mfgis.com
More information about the gdal-dev
mailing list