Hello,
I'm trying to compile Merkaartor GIT version with gdal 1.7.3 and get many errors
like the following:
ImportExportGdal.o: In function `OGRFeature::GetFieldDefnRef(int)':
/usr/include/ogr_feature.h:189: undefined reference to
`OGRFeatureDefn::GetFieldDefn(int)'
ImportExportGdal.o: In function `OGRGeometry':
/usr/include/ogr_geometry.h:81: undefined reference to `vtable for OGRGeometry'
ImportExportGdal.o: In function `OGRPoint':
/usr/include/ogr_geometry.h:170: undefined reference to `vtable for OGRPoint'
ImportExportGdal.o: In function `QHash<OGRPoint, Node*>::findNode(OGRPoint
const&, unsigned int*) const':
/usr/lib/qt/include/QtCore/qhash.h:875: undefined reference to
`OGRPoint::~OGRPoint()'
ImportExportGdal.o: In function `~QHashNode':
/usr/lib/qt/include/QtCore/qhash.h:217: undefined reference to
`OGRPoint::~OGRPoint()'
ImportExportGdal.o: In function `QHashNode<OGRPoint, Node*>::same_key(unsigned
int, OGRPoint const&)':
/usr/lib/qt/include/QtCore/qhash.h:225: undefined reference to
`OGRPoint::~OGRPoint()'
/usr/lib/qt/include/QtCore/qhash.h:225: undefined reference to
`OGRPoint::~OGRPoint()'
/usr/lib/qt/include/QtCore/qhash.h:225: undefined reference to
`OGRPoint::~OGRPoint()'
ImportExportGdal.o:/usr/lib/qt/include/QtCore/qhash.h:225: more undefined
references to `OGRPoint::~OGRPoint()' follow
collect2: ld returned 1 exit status
make[1]: *** [../binaries/bin/merkaartor] Error 1
make[1]: Leaving directory `/home/manuel/tmp/merkaartor/main/src'
make: *** [sub-src-make_default] Error 2
How to fix this?
Was it really required to make Merkaartor dependent to those additional
libraries? This is much more hassle, at least for the first install... :-(
Yours
Manuel
_______________________________________________
Merkaartor mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/merkaartor