Hey folks,<div><br></div><div>I&#39;m struggling to build either the 1.5 branch or trunk on Ubuntu Intrepid with gcc 4.3.2 and libtool 2.2.4. The symptoms are the same as described in <a href="http://trac.osgeo.org/gdal/ticket/2138">http://trac.osgeo.org/gdal/ticket/2138</a> , except updating ltmain.sh doesn&#39;t seem to help. And i get the same building the Debian v1.5.4 source package under intrepid as well (how i got started down this track).</div>
<div><br></div><div>I&#39;ve run libtoolize/aclocal/autoconf/autogen/etc to redo the setup stuff, but i still get the same error. I&#39;m not an autotools expert though, so advice would be appreciated. Building with gcc/g++ 4.1 errors out in the same way.</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Rob :)</div><div><br></div><div><div>libtool: link: g++ -I/usr/include -Wl,-Bsymbolic-functions -g -O2 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -rdynamic gdal_wrap.o -o .libs/gdal.so  -L/usr/lib -L/usr/lib/mysql -L/home/rcoup/packages/gdal/orig/gdal-svn-1.5 /home/rcoup/packages/gdal/orig/gdal-svn-1.5/.libs/libgdal.so /usr/lib/libgeos_c.so /usr/lib/libgeos.so /usr/lib/libsqlite3.so /usr/lib/libodbc.so /usr/lib/libodbcinst.so /usr/lib/libltdl.so /usr/lib/libexpat.so -lxerces-c /usr/lib/libjasper.so /usr/lib/libhdf5.so -lmfhdf -ldf /usr/lib/libgif.so /usr/lib/libtiff.so -lc /usr/lib/libjpeg.so -lpng -lnetcdf -lpq -ldl /usr/lib/libcurl-gnutls.so /usr/lib/libidn.so -lldap -lrt -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 /usr/lib/libgnutls.so /usr/lib/libtasn1.so /lib/libgcrypt.so /usr/lib/libmysqlclient.so -lm -lpthread -lcrypt -lnsl -lz -lruby1.8</div>
<div>/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start&#39;:</div><div>(.text+0x20): undefined reference to `main&#39;</div><div>collect2: ld returned 1 exit status</div></div>