[obdgpslogger] Errors When Building obdgpslogger

Sebastian Hanigk shanigk at fs.tum.de
Fri Oct 12 01:33:35 EDT 2012


Am 10.10.2012 um 02:26 schrieb Gregg Current:

Hi Greg,

> I am trying to build obdgpslogger for Ubuntu 12.04 running in Parallels on a
> Mac.
> When I run make, I get the following errors:
> 
> /home/parallels/PROJECT/obdgpslogger-0.16/src/logger/gpscomm.c: In function
> Œopengps¹:
> /home/parallels/PROJECT/obdgpslogger-0.16/src/logger/gpscomm.c:29:9: error:
> too few arguments to function Œgps_open¹
> /usr/include/gps.h:1717:12: note: declared here
> make[2]: *** [src/logger/CMakeFiles/obdgpslogger.dir/gpscomm.c.o] Error 1
> make[1]: *** [src/logger/CMakeFiles/obdgpslogger.dir/all] Error 2
> make: *** [all] Error 2

I had the same problem a while ago, the culprit is the new gpsd v3 API. I have attached a patch that should work.

Regarding the Raspberry Pi, I'm still waiting for mine, but with an installed Linux distribution and the obdgpslogger requirements at hand, it should build just like on the Mac/PC.


Best regards,

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1036 bytes
Desc: not available
URL: <http://icculus.org/pipermail/obdgpslogger/attachments/20121012/df59c1ed/attachment.obj>


More information about the obdgpslogger mailing list