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

Xiaodong Zhang zhang at aero.und.edu
Wed Jun 15 10:55:26 EDT 2005


Hi Frank,

Thanks for the reply. But I got the same error even with the 
gdal-cvs-2005.06.15. I also tried gdal-1.2.5 and the same problem. Is 
that because something special with Redhat AS 4. I know I can compile 
gdal-1.2.5 on Redhat AS 3.

Best regards
Xiaodong

Frank Warmerdam wrote:

>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,
>
>  
>




More information about the Gdal-dev mailing list