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' make[2]: *** [../o/hdf4dataset.o] Error 1 make[2]: Leaving directory `/home/sgong/dev181/gdal-1.5.3/frmts/hdf4' make[1]: *** [hdf4-install-obj] Error 2 make[1]: Leaving directory `/home/sgong/dev181/gdal-1.5.3/frmts' make: *** [frmts-target] Error 2 Should I change the declaration? in which file? thanks, Shawn
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev