[gdal-dev] compile error on master

Stefan Ziegler stefan.ziegler.de at gmail.com
Fri Dec 12 04:11:14 PST 2014


Hi Even

thanks. I was pretty sure I've cleaned before. Now it works... (perhaps
forgot sudo before).

regards
Stefan

On Fri, Dec 12, 2014 at 12:40 PM, Even Rouault <even.rouault at spatialys.com>
wrote:
>
> Le vendredi 12 décembre 2014 10:10:46, Stefan Ziegler a écrit :
> > Hi
> >
> > I have troubles compiling gdal on Ubuntu 10.04 and 12.04 (worked few
> weeks
> > ago):
>
> Stefan,
>
> Did you "make clean" before ? GDAL makefiles have not the dependencies to
> the
> headers, so changes in them do not automatically trigger necessary
> recompilations.
>
> Even
>
> >
> > 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
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20141212/40ed863d/attachment.html>


More information about the gdal-dev mailing list