Hi there, It is strange, but I have this problem again with the fresh installation of Ubuntu 8.04. I took GDAL 1.5.1 .deb packages from here http://les-ejk.cz/ubuntu/dists/hardy/multiverse/binary-i386/ and they look OK. But when I'm trying to compile my stuff, I get
/usr/include/gdal/ogr_feature.h undefined reference to 'OGRFeature::GetFieldAsDouble(int)' /usr/include/gdal/ogr_feature.h undefined reference to 'OGRFeature::GetFieldAsInteger(int)' /usr/include/gdal/ogr_feature.h undefined reference to 'OGRFeatureDefn::GetFieldIndex(char const*)' just like with RHEL before. It looks pretty strange, 'cause I have all header files from gdal-dev. When I compiled 1.5.3 from sources with the same Ubuntu versions it was OK, but for server I'd like to have packages, 'cause they are easier to manage. Probably I miss something. Does anybody had those errors before? Thank you, Anton. On Thu, Oct 16, 2008 at 5:21 PM, Markus Neteler <[EMAIL PROTECTED]> wrote: > Hi Anton, > > On Thu, Oct 16, 2008 at 10:12 AM, Anton Patrushev <[EMAIL PROTECTED]> wrote: >> Hi Markus, >> >> I installed the newer version for Ubuntu and it works flawlessly. >> Thank you. > > Great - please also tell the list :) > > cheers > Markus > >> On 10/15/08, Markus Neteler <[EMAIL PROTECTED]> wrote: >>> Hi Anton, >>> >>> >>> On Wed, Oct 15, 2008 at 7:04 AM, Anton Patrushev <[EMAIL PROTECTED]> wrote: >>> > Hi, >>> > >>> > I have a problem with compiling my stuff for RHEL5. >>> > I always get following errors: >>> > >>> > /usr/include/ogr_feature.h undefined reference to >>> > 'OGRFeature::GetFieldAsDouble(int)' >>> > /usr/include/ogr_feature.h undefined reference to >>> > 'OGRFeature::GetFieldAsInteger(int)' >>> > /usr/include/ogr_feature.h undefined reference to >>> > 'OGRFeatureDefn::GetFieldIndex(char const*)' >>> > >>> > I installed gdal and gdal-dev 1.4.4-1 from RPMs. >>> > Am I missing something? >>> >>> >>> 1.4.4 is fairly old, see >>> http://trac.osgeo.org/gdal/wiki#Releases >>> >>> Maybe a newer version would help (you may try to take the >>> SRPM, extract the SPEC file and apply it to 1.5.2). >>> >>> >>> Markus >>> >> > > > > -- > Open Source Geospatial Foundation > http://www.osgeo.org/ > http://www.grassbook.org/ > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev