You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile fails when USE_GPSD line in the Makefile is enabled (running Debian Bullseye)
GPSD.cpp: In member function ‘void CGPSD::sendReport()’:
GPSD.cpp:104:17: error: ‘struct gps_data_t’ has no member named ‘status’
104 | if (m_gpsdData.status != STATUS_FIX)
| ^~~~~~
From what I can find on this particular error, this may be due to an API change with gpsd 3.21. Based on that, I changed if (m_gpsdData.status != STATUS_FIX)
to
if (m_gpsdData.fix.status != STATUS_FIX)
now compiles without error although I doubt the actual fix is that simple, as while my MMDVMHost logfile shows connected go gpsd now, APRS isn't getting updated, so I presume its not actually getting a GPS fix, so APRSGateway has nothing to report, but hopefully this points you in the right direction...
The text was updated successfully, but these errors were encountered:
Compile fails when USE_GPSD line in the Makefile is enabled (running Debian Bullseye)
From what I can find on this particular error, this may be due to an API change with gpsd 3.21. Based on that, I changed
if (m_gpsdData.status != STATUS_FIX)
to
if (m_gpsdData.fix.status != STATUS_FIX)
now compiles without error although I doubt the actual fix is that simple, as while my MMDVMHost logfile shows connected go gpsd now, APRS isn't getting updated, so I presume its not actually getting a GPS fix, so APRSGateway has nothing to report, but hopefully this points you in the right direction...
The text was updated successfully, but these errors were encountered: