[Gdal-dev] error in installing gdal-1.2.6 on Redhat AS 4

Frank Warmerdam fwarmerdam at gmail.com
Tue Jun 14 20:29:40 EDT 2005


On 6/14/05, Xiaodong Zhang <zhang at aero.und.edu> wrote:
> Hi,
> 
> Got the following error when installing gdal-1.2.6 on Redhat AS 4
> 
> ./configure --with-ogr --with-python --without-mysql
> make (which gave the error at the end of make output)
> 
> g++ ogrinfo.o -o .libs/ogrinfo  ../.libs/libgdal.so -lgif /usr/lib/libjpeg.so -l
> tiff -lpng -lz -ldl -Wl,--rpath -Wl,/usr/local/lib
> ogrinfo.o(.text+0x8b2): In function `main':
> : undefined reference to `_Unwind_Resume'
> collect2: ld returned 1 exit status
> make[1]: *** [ogrinfo] Error 1
> make[1]: Leaving directory `/home/oracle/dngpSources/gdal-1.2.6/ogr'
> make: *** [ogr-apps] Error 2

Xiadong, 

Interesting.   We see the same problem (with recursive main() calls)
with Sun compilers.  The workaround is to comment out the
call to main() from within main, though this will disable the
support for translating all subdatasets in one pass. 

In GDAL-CVS this has been corrected.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Gdal-dev mailing list