Project

General

Profile

Actions

Bug #3677

closed

sysmobts_mgr_calib.c fails to build against newer gspd

Added by pespin over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/29/2018
Due date:
% Done:

100%

Spec Reference:

Description

Since I upgraded my system a few days ago, I cannot longer build sysmobts_mgr_calib.c:

git/osmo-bts/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c: In function ‘mgr_gps_read’:
git/osmo-bts/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c:113:7: error: too few arguments to function ‘gps_read’
  rc = gps_read(&mgr->calib.gpsdata);
       ^~~~~~~~
In file included from git/osmo-bts/src/osmo-bts-sysmo/misc/sysmobts_mgr.h:10,
                 from git/osmo-bts/src/osmo-bts-sysmo/misc/sysmobts_mgr_calib.c:24:
/usr/include/gps.h:2122:12: note: declared here
 extern int gps_read(struct gps_data_t *, char *message, int message_len);
            ^~~~~~~~

Running Archlinux, probably gpsd was updated to newest version during latest system upgrade:

/usr/include/gps.h is owned by gpsd 3.18.1-1

Actions #1

Updated by pespin over 5 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Should be fixed by:
https://gerrit.osmocom.org/#/c/osmo-bts/+/11505 {oc2g,sysmo}-mgr-calib: Fix build against gpsd >= 3.18

Actions #2

Updated by pespin over 5 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Merged, closing.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)