libgps-dev missing some c++ bindings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: libgps-dev
It is not possible to link to libgps because some c++ symbols are missing. This is fixed in 2.37 - see http://
My setup:
$ uname -a
Linux mail 2.6.24-24-generic #1 SMP Wed Apr 15 15:54:25 UTC 2009 i686 GNU/Linux
$ lsb_release -rd
Description: Ubuntu 8.04.2
Release: 8.04
$ apt-cache policy libgps-dev
libgps-dev:
Installed: 2.36-2
Candidate: 2.36-2
Version table:
*** 2.36-2 0
500 http://
100 /var/lib/
To reproduce:
install libgps-dev 2.36-2 using Synaptic
create the following source file as libgpsmmtest.cpp:
#include <iostream>
#include <libgpsmm.h>
int main(int argc, char** argv)
{
gpsmm::gpsmm* gpsHandle;
struct gps_data_t* gpsData;
gpsHandle = new gpsmm::gpsmm();
gpsData = gpsHandle->open();
if (!gpsData)
{
std::cerr << "Fatal error opening connection to gpsd" << std::endl;
exit(1);
}
delete gpsHandle;
}
Attempt to compile this:
$ g++ libgpsmmtest.cpp -lgps -o libgpsmmtest
/tmp/ccn70hRc.o: In function `main':
test.cpp:
/tmp/ccn70hRc.o: In function `gpsmm::gpsmm()':
test.cpp:
collect2: ld returned 1 exit status
Changed in gpsd (Ubuntu): | |
status: | New → Fix Released |
Was mistakenly associated with gpsd