[obdgpslogger] About Compiling OBDSim

Gary Briggs chunky at icculus.org
Fri Jan 13 20:32:01 EST 2012


On Fri, Jan 13, 2012 at 02:07:12AM +0800, Xiping wrote:
> Hi,
> 
> 
>     I am trying to install OBDSim, which is a part of the OBDGPSLogger.
> During the installation process, the following error occurs:
> 
> /home/xiping/obdgpslogger-0.16/src/logger/gpscomm.c: In function ?opengps?:
> /home/xiping/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 can see that the reason is the gpsd lib in my system is not
> compatiable with the obdgpslogger source code anymore. However, is there
> any way to fix the source code in order to make the OBDSim to work? By the
> way, in order to make OBDSim to work, is there any additonal device needed?
> Thanks.

Ugh. Yeah, I need to fix that. They changed the gpsd api *again* before
*actually* releasing 3.0, grrr.

In the meantime, if you only want obdsim, just type "make obdsim"
instead of "make" and you'll just get the obdsim binary, it won't try to
build obdgpslogger too.

Gary (-;


More information about the obdgpslogger mailing list