gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] compile error when ublox is off


From: Jean Pierre TOSONI
Subject: [gpsd-dev] compile error when ublox is off
Date: Tue, 12 Dec 2017 13:30:34 +0000

Hello list,

I began using v3.17.
I just tried to compile gpsd with SConstruct option "ublox=no" (to save space 
in binary), and I get this error:
        ./libgpsd.a(drivers.o): In function `isync_event_hook':
        drivers.c:(.text+0x5e0): undefined reference to `ubx_write'
        drivers.c:(.text+0x604): undefined reference to `ubx_write'

Version 3.16 did compile properly.

In drivers.c there are two calls to ubx_write, there was only one in v3.16.
The legacy one is protected against compilation with an ifdef, but not the new 
one.

However, since this looks like a state machine, I dare not "ifdef" out the 
offending code, since it could have unpredictable side effects (going to an 
unmanaged state...)

Any suggestion?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]