[Gdal-dev] problems building on redhat enterprise

Frank Warmerdam warmerdam at pobox.com
Thu Nov 1 21:48:39 EDT 2007


Diana Esch-Mosher wrote:
> I cannot compile on redhat enterprise 4 or 5. I get the following error:
> 
> In file included from ogrutils.cpp:37:
> ogrsf_frmts/ogrsf_frmts.h: In member function `void
> OGRLayer::SetStyleTable(OGRStyleTable*)':
> ogrsf_frmts/ogrsf_frmts.h:107: error: 'class OGRStyleTable' has no
> member named 'Clone'
> ogrsf_frmts/ogrsf_frmts.h: In member function `void
> OGRDataSource::SetStyleTable(OGRStyleTable*)':
> ogrsf_frmts/ogrsf_frmts.h:187: error: 'class OGRStyleTable' has no
> member named 'Clone'
> make[1]: *** [ogrutils.o] Error 1
> make[1]: Leaving directory `/a/toaster-
> g3.lanl.gov/vol/home/u/harve/src/gdal-1.4.2/ogr'
> make: *** [ogr-target] Error 2
> 
> 
> When it does compile on 3 it seg faults on something simple like 
> gdalinfo in a tif file. I traced the problem with gdalinfo down the 
> GDALOpen call and in there to opening the first driver. I have 
> configured with everything I can to be internal. Needing to get past 
> this and get some work done .... can anyone give me hint what could be 
> going wrong.
> Thanks,

Diana,

I *suspect* older include files are getting picked up somehow.  Is this
GDAL/OGR 1.4.3?

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    | President OSGeo, http://osgeo.org




More information about the gdal-dev mailing list