[gdal-dev] gdal 1.5.3 make error - HDF 4 conflicting types for `UNKNOWN'

Frank Warmerdam warmerdam at pobox.com
Tue Nov 18 11:43:08 EST 2008


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, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list