gpsd_config.h not packaged in libgps-dev / gpsd.h uses undefined macro UNUSED
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gpsd (Ubuntu) |
Fix Released
|
Undecided
|
Bernd Zeimetz |
Bug Description
Binary package hint: libgps-dev
In /usr/include/gpsd.h a function
extern gps_mask_t processMKT3301(int c UNUSED, char *field[], struct gps_device_t *session);
is defined. The UNUSED macro is not defined in gpsd.h. It seems to be defined in gpsd_config.h, which isn't packaged or merged into gpsd.h however. See also the bug report at berlios [1] and some possibly related Debian bugs [2] and [3].
My system is Kubuntu 9.04.
$ apt-cache policy libgps-dev
libgps-dev:
Installed: 2.38-1ubuntu3
Candidate: 2.38-1ubuntu3
Version table:
*** 2.38-1ubuntu3 0
500 http://
100 /var/lib/
[1] http://
[2] http://
[2] http://
Not a bug in the packaging, but in upstream\s code. Working with upstream on a fix right now.