From currentg at knology.net Tue Oct 9 20:24:15 2012 From: currentg at knology.net (Gregg Current) Date: Tue, 09 Oct 2012 20:24:15 -0400 Subject: [obdgpslogger] Message-ID: 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 am also interested in building it for the Raspberry Pi (an ARM processor) and would like to know what you had to do to get it to build and run on an ARM. Gregg Current CurrentG at knology.net Home: (843) 871-2308 Mobile: (843) 709-8430 Work: (843) 218-7908 -------------- next part -------------- An HTML attachment was scrubbed... URL: From currentg at knology.net Tue Oct 9 20:26:53 2012 From: currentg at knology.net (Gregg Current) Date: Tue, 09 Oct 2012 20:26:53 -0400 Subject: [obdgpslogger] Errors When Building obdgpslogger Message-ID: 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 am also interested in building it for the Raspberry Pi (an ARM processor) and would like to know what you had to do to get it to build and run on an ARM. Gregg Current CurrentG at knology.net Home: (843) 871-2308 Mobile: (843) 709-8430 Work: (843) 218-7908 -------------- next part -------------- An HTML attachment was scrubbed... URL: From shanigk at fs.tum.de Fri Oct 12 01:33:35 2012 From: shanigk at fs.tum.de (Sebastian Hanigk) Date: Fri, 12 Oct 2012 07:33:35 +0200 Subject: [obdgpslogger] Errors When Building obdgpslogger In-Reply-To: References: Message-ID: <663D3DD7-3154-4DF0-9998-DA56707730FF@fs.tum.de> 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: