[gdal-dev] gdal 1.5.3 make error - HDF 4 conflicting types for
`UNKNOWN'
Gong, Shawn (Contractor)
Shawn.Gong at drdc-rddc.gc.ca
Tue Nov 18 10:30:39 EST 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20081118/123b2a71/attachment.html
More information about the gdal-dev
mailing list