<div dir="ltr"><div>Hi Even<br><br>thanks. I was pretty sure I've cleaned before. Now it works... (perhaps forgot sudo before).<br><br></div>regards<br>Stefan </div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 12, 2014 at 12:40 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@spatialys.com" target="_blank">even.rouault@spatialys.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le vendredi 12 décembre 2014 10:10:46, Stefan Ziegler a écrit :<br>
<span class="">> Hi<br>
><br>
> I have troubles compiling gdal on Ubuntu 10.04 and 12.04 (worked few weeks<br>
> ago):<br>
<br>
</span>Stefan,<br>
<br>
Did you "make clean" before ? GDAL makefiles have not the dependencies to the<br>
headers, so changes in them do not automatically trigger necessary<br>
recompilations.<br>
<br>
Even<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> make[1]: Entering directory `/usr/local/src/gdal/gdal-dev/gdal'<br>
> make[1]: `<a href="http://libgdal.la" target="_blank">libgdal.la</a>' is up to date.<br>
> make[1]: Leaving directory `/usr/local/src/gdal/gdal-dev/gdal'<br>
> (cd apps; make)<br>
> make[1]: Entering directory `/usr/local/src/gdal/gdal-dev/gdal/apps'<br>
> /bin/bash /usr/local/src/gdal/gdal-dev/gdal/libtool --mode=link g++<br>
> gdalinfo.lo commonutils.lo /usr/local/src/gdal/gdal-dev/gdal/<a href="http://libgdal.la" target="_blank">libgdal.la</a> -o<br>
> gdalinfo<br>
> libtool: link: g++ .libs/gdalinfo.o .libs/commonutils.o -o .libs/gdalinfo<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so -L/usr/lib -lgeos_c<br>
> /usr/lib/libodbc.so /usr/lib/libodbcinst.so /usr/lib/libexpat.so<br>
> /usr/lib/libxerces-c.so -lnsl -licui18n -licuuc -licudata<br>
> /usr/lib/libjasper.so -lnetcdf /usr/lib/libhdf5.so /usr/lib/libmfhdfalt.so<br>
> /usr/lib/libdfalt.so -lm /usr/lib/libgif.so /usr/lib/libjpeg.so -lpng -lpq<br>
> -lrt -lspatialite /usr/lib/libsqlite3.so -lpthread -ldl -lpcre<br>
> /usr/lib/libcurl-gnutls.so /usr/lib/libxml2.so -lz -Wl,-rpath<br>
> -Wl,/usr/local/gdal/gdal-dev/lib<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `GDALProxyRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int,<br>
> int, GDALDataType, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `GDALRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,<br>
> GDALDataType, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `VRTDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,<br>
> GDALDataType, int, int*, int, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `GDALProxyDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int,<br>
> int, GDALDataType, int, int*, int, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `RawDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,<br>
> GDALDataType, int, int*, int, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `RawRasterBand::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,<br>
> GDALDataType, int, int)'<br>
> /usr/local/src/gdal/gdal-dev/gdal/.libs/libgdal.so: undefined reference to<br>
> `GDALDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int,<br>
> GDALDataType, int, int*, int, int, int)'<br>
> collect2: ld returned 1 exit status<br>
> make[1]: *** [gdalinfo] Error 1<br>
> make[1]: Leaving directory `/usr/local/src/gdal/gdal-dev/gdal/apps'<br>
> make: *** [apps-target] Error 2<br>
> stefan@Ubuntu-1004-lucid-64-minimal:/usr/local/src/gdal/gdal-dev/gdal$<br>
><br>
> Any ideas?<br>
><br>
> regards<br>
> Stefan<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Spatialys - Geospatial professional services<br>
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a><br>
</font></span></blockquote></div></div>