[Gdal-dev] gdal-1.3.2 - compiling errors on fedora 5

Mateusz Loskot mateusz at loskot.net
Sun Oct 22 19:43:35 EDT 2006


Rainer Spittel wrote:
>   I try to compile gdal on fedora 5 (gcc version 4.1.1) and get error
> messages during installation. To set up the make files, I run following
> configure command:
> 
>>> ./configure  --with-ogr --without-python --with-xerces
>>> make
> 
>   During the compiling, I get following error message:
> 
> [...]
> ogrili2layer.cpp: In constructor 'OGRILI2Layer::OGRILI2Layer(const
> char*, OGRSpatialReference*, int, OGRwkbGeometryType,
> OGRILI2DataSource*)':
> ogrili2layer.cpp:76: error: no match for 'operator=' in
> '((OGRILI2Layer*)this)->OGRILI2Layer::listFeatureIt = 0'
> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/
> stl_list.h:189: note: candidates are:
> std::_List_const_iterator<OGRFeature*>&
> std::_List_const_iterator<OGRFeature*>::operator=(const
> std::_List_const_iterator<OGRFeature*>&)
> ogrili2layer.cpp: In member function 'virtual OGRFeature*
> OGRILI2Layer::GetNextFeature()':
> ogrili2layer.cpp:135: error: no match for 'operator==' in
> '((OGRILI2Layer*)this)->OGRILI2Layer::listFeatureIt == 0'
> /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/
> stl_list.h:251: note: candidates are: bool
> std::_List_const_iterator<_Tp>::operator==(const
> std::_List_const_iterator<_Tp>&) const [with _Tp = OGRFeature*]
> make[3]: *** [../o/ogrili2layer.o] Error 1
>
> [...] 
> Any suggestion?

Rainer,

This is a known bug in OGR Interlis (ili) driver in GDAL 1.3.2.
Here is detailed Bug 1247 report:

http://bugzilla.remotesensing.org/show_bug.cgi?id=1247

I suggest you to use GDAL from current CVS, where the bug has been fixed.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list