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

William Hudspeth bhudspeth at edac.unm.edu
Thu Dec 9 15:07:02 EST 2004


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




More information about the Gdal-dev mailing list