error in installing gdal-1.2.6 on Redhat AS 4

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

error in installing gdal-1.2.6 on Redhat AS 4

Xiaodong Zhang
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

Thanks
Xiaodong

_______________________________________________
Gdal-dev mailing list
[hidden email]
http://xserve.flids.com/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: error in installing gdal-1.2.6 on Redhat AS 4

Frank Warmerdam-2
On 6/14/05, Xiaodong Zhang <[hidden email]> 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, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
_______________________________________________
Gdal-dev mailing list
[hidden email]
http://xserve.flids.com/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: error in installing gdal-1.2.6 on Redhat AS 4

Xiaodong Zhang
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 <[hidden email]> 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,
>
>  
>

_______________________________________________
Gdal-dev mailing list
[hidden email]
http://xserve.flids.com/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|

Re: error in installing gdal-1.2.6 on Redhat AS 4

Frank Warmerdam-2
On 6/15/05, Xiaodong Zhang <[hidden email]> wrote:
> 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.

Xiaodong,

Sorry, my leap of intuition on this was wrong ...  I should
have looked more closely and noted that you were having
problems with ogrinfo, not gdalinfo as  I had thought.

I have no idea what is going wrong here.  Sorry!  I have
never seen this report before.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent
_______________________________________________
Gdal-dev mailing list
[hidden email]
http://xserve.flids.com/mailman/listinfo/gdal-dev