Bug #3208
Compilation error with GPSDLIB=1
| Status: | Closed | Start Date: | 12/27/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Resolution: |
Description
I have tested for the first time the option GPSD=1. Unfortunately, I get a compilation error :
g++ -c -pipe -I/usr/include -g -Wall -W -D_REENTRANT -DVERSION=0.17 -DREVISION= -DUSE_WEBKIT -D_TTY_POSIX_ -DUSE_GPS -DUSE_GPSD_LIB -DPLUGINS_DIR=/usr/local/lib/merkaartor/plugins -DSHARE_DIR=/usr/local/share/merkaartor -DTRANSDIR_MERKAARTOR=/usr/local/share/merkaartor/translations -DUSE_GDAL -DUSE_PROJ -DWORLD_SHP=/usr/local/share/merkaartor/world_background.osb -DQT_WEBKIT_LIB -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I../3rdparty/qtsingleapplication-2.6_1-opensource/src -I../3rdparty/qttoolbardialog-2.2_1-opensource/src -I../include -I../interfaces -I../include/builtin-ggl -I. -IRender -Iqextserialport -IGPS -INameFinder -IPaintStyle -IPaintStyle -IFeatures -ILayers -IPreferences -ISync -ICommands -IInteractions -IDocks -IImportExport -ITools -ITagTemplate -I. -I. -o qgpsdevice.o GPS/qgpsdevice.cpp
GPS/qgpsdevice.cpp: In member function 'virtual void QGPSDDevice::run()':
GPS/qgpsdevice.cpp:967: erreur: 'gps_errstr' was not declared in this scope
make1: * [qgpsdevice.o] Erreur 1
make1: quittant le répertoire « /tmp/merkaartor-0.17.0/src »
make: * [sub-src-make_default] Erreur 2
gpsd version 2.32 is installed.
History
Updated by Chris Browet over 2 years ago
- Status changed from New to Feedback
gpsd is a moving target re api. It changed from 2.3x to 2.9x, and again somewhere during 2.9x
I can confirm it compiles on Ubuntu Maverick with gpsd 2.92
Which distro are using which still uses 2.3x?
Updated by Jean-Claude Repetto over 2 years ago
2.32 is the stable version in Gentoo. I have upgraded gpsd to version 2.95, and now Merkaartor 0.17.0 compiles. I will add a new rule in the Gentoo ebuilds (requires gpsd >= 2.92).
On the page http://merkaartor.be/wiki/merkaartor/Documentation , you should add the required version of gpsd :
gpsd (version >= 2.xx is required to access a gps through the gpsd daemon).
Updated by Chris Browet over 2 years ago
- Status changed from Feedback to Closed
First 0.18 thing is to clean up the dependency mess, including docs. Busy with it...
I'll use Ubuntu/Debian as a base, though, my gentoo is an awful mess, too ;-)
I guess this can be closed.