Gong, Shawn (Contractor) wrote:
hi list,I am trying to make gdal 1.5.3 on linux (Redhat Enteroprise) I use HDF4.2 r3 and HDF5 1.8.2. here is the error message: libtool: compile: g++ -g -O2 -Wall -I/home/sgong/dev181/gdal-1.5.3/port -I/home/sgong/dev181/gdal-1.5.3/gcore -I/home/sgong/dev181/gdal-1.5.3/alg -I/home/sgong/dev181/gdal-1.5.3/ogr -I/home/sgong/dev181/gdal-1.5.3/ogr/ogrsf_frmts -I/home/sgong/dev181/dist/include -I/home/sgong/dev181/gdal-1.5.3/ogr -Ihdf-eos -DOGR_ENABLED -I/home/sgong/dev181/gdal-1.5.3/port -I/home/sgong/dev181/dist -I/home/sgong/dev181/dist/include -c hdf4dataset.cpp -fPIC -DPIC -o ../o/.libs/hdf4dataset.o In file included from hdf4dataset.cpp:39: hdf4dataset.h:55: conflicting types for `UNKNOWN' /home/sgong/dev181/dist/include/mfhdfi.h:26: previous declaration as ` hdf_vartype_t UNKNOWN'
Shawn, This is addressed by ticket #2609: http://trac.osgeo.org/gdal/ticket/2609 I would suggest you grab the nightly snapshot of the 1.5 branch and use that (the gdalsvn-stable-*.tar.gz file): http://download.osgeo.org/gdal/daily/ Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] 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 [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
