[gdal-dev] Building under gcc-4.3/libtool-2.2.4 (ubuntu intrepid)

Robert Coup robert.coup at onetrackmind.co.nz
Wed Mar 4 05:16:46 EST 2009


Hey folks,
I'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
http://trac.osgeo.org/gdal/ticket/2138 , except updating ltmain.sh doesn'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).

I've run libtoolize/aclocal/autoconf/autogen/etc to redo the setup stuff,
but i still get the same error. I'm not an autotools expert though, so
advice would be appreciated. Building with gcc/g++ 4.1 errors out in the
same way.

Thanks!

Rob :)

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
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090304/574afb58/attachment.html


More information about the gdal-dev mailing list