[Gdal-dev] Problems installing GDAL 1.2.5 - Crashes on Make

Ethan Alpert ealpert at digitalglobe.com
Thu Dec 9 15:23:38 EST 2004


Can you post the output just above the error? The gcc line. It would
help identify why the include file ogr_srs_api.h is either not being
found or why the OGRSpatialReferenceH typedef is not being defined.

-e

-----Original Message-----
From: gdal-dev-bounces at xserve.flids.com
[mailto:gdal-dev-bounces at xserve.flids.com] On Behalf Of William Hudspeth
Sent: Thursday, December 09, 2004 1:07 PM
To: gdal-dev at remotesensing.org
Subject: [Gdal-dev] Problems installing GDAL 1.2.5 - Crashes on Make


Hello, 

I installed HDF4.2r0 from source. It seemed to go cleanly.
I have (apparently) successfully configured GDAL with:

./configure --with-hdf4=/usr/local/include
--with-libgrass=/usr/local/lib

When I run make, however, I get the following errors:

gctp_wrap.c: In function `osr_inv':
gctp_wrap.c:64: error: `OGRSpatialReferenceH' undeclared (first use in
this
function)
gctp_wrap.c:64: error: syntax error before "hSourceSRS"
gctp_wrap.c:65: error: `OGRCoordinateTransformationH' undeclared (first
use in this function)
gctp_wrap.c:68: error: `hSourceSRS' undeclared (first use in this
function)
gctp_wrap.c:68: error: `NULL' undeclared (first use in this function)
gctp_wrap.c:70: error: `hLatLong' undeclared (first use in this
function)
gctp_wrap.c:71: error: `hCT' undeclared (first use in this function)
make[3]: *** [../../o/gctp_wrap.o] Error 1
make[3]: Leaving directory
`/home/wilbur/tarballs/gdal-1.2.5/frmts/hdf4/hdf-eos'
make[2]: *** [lib-hdfeos] Error 2
make[2]: Leaving directory `/home/wilbur/tarballs/gdal-1.2.5/frmts/hdf4'
make[1]: *** [hdf4-install-obj] Error 2
make[1]: Leaving directory `/home/wilbur/tarballs/gdal-1.2.5/frmts'
make: *** [frmts-target] Error 2


Any help greatly appreciated.
Bill

_______________________________________________
Gdal-dev mailing list
Gdal-dev at xserve.flids.com
http://xserve.flids.com/mailman/listinfo/gdal-dev



More information about the Gdal-dev mailing list