[gdal-dev] compile error on master

Stefan Ziegler stefan.ziegler.de at gmail.com
Fri Dec 12 01:10:46 PST 2014


Hi

I have troubles compiling gdal on Ubuntu 10.04 and 12.04 (worked few weeks
ago):

make[1]: Entering directory `/usr/local/src/gdal/gdal-dev/gdal'
make[1]: `libgdal.la' is up to date.
make[1]: Leaving directory `/usr/local/src/gdal/gdal-dev/gdal'
(cd apps; make)
make[1]: Entering directory `/usr/local/src/gdal/gdal-dev/gdal/apps'
/bin/bash /usr/local/src/gdal/gdal-dev/gdal/libtool --mode=link    g++
gdalinfo.lo commonutils.lo  /usr/local/src/gdal/gdal-dev/gdal/libgdal.la -o
gdalinfo
libtool: link: g++ .libs/gdalinfo.o .libs/commonutils.o -o .libs/gdalinfo
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so -L/usr/lib -lgeos_c
/usr/lib/libodbc.so /usr/lib/libodbcinst.so /usr/lib/libexpat.so
/usr/lib/libxerces-c.so -lnsl -licui18n -licuuc -licudata
/usr/lib/libjasper.so -lnetcdf /usr/lib/libhdf5.so /usr/lib/libmfhdfalt.so
/usr/lib/libdfalt.so -lm /usr/lib/libgif.so /usr/lib/libjpeg.so -lpng -lpq
-lrt -lspatialite /usr/lib/libsqlite3.so -lpthread -ldl -lpcre
/usr/lib/libcurl-gnutls.so /usr/lib/libxml2.so -lz  -Wl,-rpath
-Wl,/usr/local/gdal/gdal-dev/lib
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`GDALProxyRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int,
int, GDALDataType, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`GDALRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,
GDALDataType, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`VRTDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,
GDALDataType, int, int*, int, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`GDALProxyDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int,
int, GDALDataType, int, int*, int, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`RawDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,
GDALDataType, int, int*, int, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`RawRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,
GDALDataType, int, int)'
/usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to
`GDALDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,
GDALDataType, int, int*, int, int, int)'
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/usr/local/src/gdal/gdal-dev/gdal/apps'
make: *** [apps-target] Error 2
stefan at Ubuntu-1004-lucid-64-minimal:/usr/local/src/gdal/gdal-dev/gdal$

Any ideas?

regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141212/3acff0ba/attachment.html>


More information about the gdal-dev mailing list