Hi,

On 2020-01-08 04:18, Dan Chokola wrote:
I suspect the error message in #948388 is telling:
error:vehicle_gpsd:vehicle_gpsd_try_open:Warning: gps_fd is 0, most
likely you have used a gps.h incompatible to libgps

hmm, this error message does not come from libgps.


It seems foxtrot was built against a different libgps binary. It's
also why I got the idea to write the quick C program in #948388, which
returns a nonzero fd.

Please try to rebuild it as pabs suggested and see what happens.
There are no ABI/API changes recorded, but that doesn't say that it
did not happen.

Especially the gps_data_t struct did not change, so gps_fd should
still be at the same position.

But: imho there is no reason to look at that fd at all.
Just because you connect to a gpsd with gps_open does not mean
that there is a gps device connected to gpsd.
Using this is also not documented (and: afaik was never).

So the other test would be to remove this gps_fd check and see if
it just works...



Bernd



--
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprint: ECA1 E3F2 8E11 2432 D485  DD95 EB36 171A 6FF9 435F

Reply via email to