The program depends from gpsd daemon but something is wrong: gpsdrive cannot stop and start gpsd properly. Need root permission? Missing groups?
Well, after a while I realized the installed gpsd init file looks for /dev/ttyS3 but should instead listen to /dev/rfcomm0 in my case, as I specified in the gpsdrive settings.
So after the small correction, from root console just did
/etc/init.d/gpsd stop
/etc/init.d/gpsd start
This way gpsdrive found a NMEA GPS and was magically working!
There is another bug in gpsdrive + gpsd which I am trying to track down... If you have gpsd and gpsdrive on separate machines, and the network connection gets interrupted, gpsdrive goes into an infinite loop and never reconnects.
I've submitted a patch to gpsdrive,
GPSDrive Bug 90 and I've been trying to compile gpsdrive-cvs with my patch...
But the newest CVS depends on gdal. I am new to bitbake, and I can't seem to get gdal to build...
it fails with
| automake (GNU automake) 1.9.3
| Written by Tom Tromey .
|
| Copyright 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| AUTOV is 1.9
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 -I /home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal --force
| aclocal:configure.in:1940: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
| aclocal:configure.in:1941: warning: macro `AM_CHECK_NUMPY' not found in library
| autoreconf: configure.in: tracing
| autoreconf: running: libtoolize --copy --force
| aclocal:configure.in:1940: warning: macro `AM_INIT_PYEXEC_MOD' not found in library
| aclocal:configure.in:1941: warning: macro `AM_CHECK_NUMPY' not found in library
| autoreconf: running: /home/nfs/yan/oz/tmp/staging/x86_64-linux/bin/autoconf --include=/home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal-1.9 --include=/home/nfs/yan/oz/tmp/staging/arm-linux/share/aclocal --force --warnings=cross
| configure.in:56: error: possibly undefined macro: AC_COMPILER_PIC
| If this token and others are legitimate, please use m4_pattern_allow.
| See the Autoconf documentation.
| configure.in:57: error: possibly undefined macro: AC_LD_SHARED
| configure.in:85: error: possibly undefined macro: AC_HAVE_LONG_LONG
| configure.in:86: error: possibly undefined macro: AC_UNIX_STDIO_64
| configure.in:130: error: possibly undefined macro: AC_CHECK_FUNC_CUSTOM
| configure.in:1819: error: possibly undefined macro: AC_COMPILER_WFLAGS
| configure.in:1940: error: possibly undefined macro: AM_INIT_PYEXEC_MOD
| configure.in:1941: error: possibly undefined macro: AM_CHECK_NUMPY
| configure.in:1942: error: possibly undefined macro: AC_COMPILER_LOCALHACK
| autoreconf: /home/nfs/yan/oz/tmp/staging/x86_64-linux/bin/autoconf failed with exit status: 1
| FATAL: autoreconf execution failed.
Is anyone working on GPSDrive? Could someone please share some bitbake knowledge?
Thanks,
--Yan