[Gdal-dev] 1.2.0a release

Gillian Walter gillian.walter at atlantis-scientific.com
Tue Feb 24 14:33:59 EST 2004


Hi,

I just tried compiling gdal 1.2.0a on the Irix 6.5 platform, and got the 
following error near the end:

/usr/bin/ld -n32 -r -o .libs/libgdal.la-2.o  
./ogr/ogrsf_frmts/o/.libs/ogravcbindatasource.o 
./ogr/ogrsf_frmts/o/.libs/ogravcbindriver.o
(massive list of object files)
/.libs/ograssemblepolygon.o ./ogr/.libs/ogr2gmlgeometry.o 
./ogr/.libs/gml2ogrgeometry.o  .libs/libgdal.la-1.o
ld32: FATAL   11 : Object file format error (.libs/libgdal.la-1.o): bad 
sh_link field in relocation section.
gmake[1]: *** [libgdal.la] Error 4
gmake[1]: Leaving directory `/data/esa2/temp_gwalter/local_builds/gdal'
gmake: *** [check-lib] Error 2

I used ./configure --without-gif --without-bsb --without-jpeg 
--with-libz=internal --with-png=internal --with-libtiff=internal 
--with-geotiff=internal

I also used these configuration options on the fedora linux platform 
(gdal compiled without error) and on SunOS 5.8 (gdal initially failed to 
compile, but succeeded after I manually added -D_REENTRANT to C_OPTFLAGS 
and CXX_OPTFLAGS in GDALmake.opt).

I'll be trying to build it on windows sometime in the next few days 
(microsoft visual c++ 6.0).

Gillian




More information about the Gdal-dev mailing list