[Bug 385338] [NEW] libgps-dev missing some c++ bindings
BZB
ben+ubuntu at bangham.com
Tue Jun 9 19:35:05 UTC 2009
Public bug reported:
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://developer.berlios.de/project/shownotes.php?release_id=14197
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://us.archive.ubuntu.com hardy/universe Packages
100 /var/lib/dpkg/status
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:(.text+0x1ae): undefined reference to `gpsmm::open()'
/tmp/ccn70hRc.o: In function `gpsmm::gpsmm()':
test.cpp:(.text._ZN5gpsmmC1Ev[gpsmm::gpsmm()]+0x4): undefined reference to `vtable for gpsmm'
collect2: ld returned 1 exit status
** Affects: gpsd (Ubuntu)
Importance: Undecided
Status: New
--
libgps-dev missing some c++ bindings
https://bugs.launchpad.net/bugs/385338
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list