Code:
[ 17%] Building C object src/CMakeFiles/obdgpslogger.dir/gpsdb.o
...
Undefined symbols:
"_creategpstable", referenced from:
_main in main.o
"_creategpsinsertstmt", referenced from:
_main in main.o
ld: symbol(s) not found
hrm. Those symbols should be in one of the object files that's created there...
Ohhh! It didn't find gpsd, so most of the gps code is #ifdeff'd out. But it's still trying to create the gps table in the database, so that later SQL joins won't throw errors.
A quick easy fix is to install gpsd. You can put it in the usual places [I see you have fltk in /usr/local/], or my cmake module will also find it in $HOME/gpsd [ie, gpsd ./configure --prefix=$HOME/gpsd/].
It's a two-line fix to fix this code, but I'm unwilling to do a commit until I've been able to build it, and I don't have a machine I can build it on immediately to hand.
You might also want to use the svn version instead of the latest official release. I need to do a real 0.5 release, there are some huge changes that have gone in [saliently, it now creates genuinely useful numbers, instead of blindly converting returned values into integers]
Gary (-;
Bookmarks