osmo-bts: Remove inline from the declaration of function
The function is declared and defined as inline and gcc6 will not emit an external visible symbol for it. Master doesn't have this problem anymore so let's just patch it here. Fixes: | /usr/src/debug/osmo-bts/0.4.3+gitAUTOINC+57ee780789-r1a2ff06d20-r18.18/git/tests/sysmobts/sysmobts_test.c:207: undefined reference to `l1if_ms_pwr_ctrl'
This commit is contained in:
parent
49153b2904
commit
801c195338
|
@ -0,0 +1,12 @@
|
||||||
|
Index: git/src/osmo-bts-sysmo/l1_if.h
|
||||||
|
===================================================================
|
||||||
|
--- git.orig/src/osmo-bts-sysmo/l1_if.h
|
||||||
|
+++ git/src/osmo-bts-sysmo/l1_if.h
|
||||||
|
@@ -132,6 +132,6 @@ int bts_check_for_ciph_cmd(struct femtol
|
||||||
|
void bts_check_for_first_ciphrd(struct femtol1_hdl *fl1h,
|
||||||
|
GsmL1_MsgUnitParam_t *msgUnitParam,
|
||||||
|
struct gsm_lchan *lchan);
|
||||||
|
-inline int l1if_ms_pwr_ctrl(struct gsm_lchan *lchan, const int uplink_target,
|
||||||
|
+int l1if_ms_pwr_ctrl(struct gsm_lchan *lchan, const int uplink_target,
|
||||||
|
const uint8_t ms_power, const float rxLevel);
|
||||||
|
#endif /* _FEMTO_L1_H */
|
|
@ -3,7 +3,8 @@ LICENSE = "AGPLv3"
|
||||||
LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
|
LIC_FILES_CHKSUM="file://COPYING;md5=73f1eb20517c55bf9493b7dd6e480788"
|
||||||
|
|
||||||
SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/0.3.5-stable;name=osmobts;destsuffix=git \
|
SRC_URI = "git://git.osmocom.org/osmo-bts.git;protocol=git;branch=sysmocom/0.3.5-stable;name=osmobts;destsuffix=git \
|
||||||
git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc"
|
git://git.osmocom.org/openbsc;protocol=git;branch=master;name=openbsc;destsuffix=openbsc \
|
||||||
|
file://gcc6-linking-fix.patch"
|
||||||
SRCREV_osmobts = "1a2ff06d206fc4ff3cb8170ebe2b5570addc5be3"
|
SRCREV_osmobts = "1a2ff06d206fc4ff3cb8170ebe2b5570addc5be3"
|
||||||
SRCREV_openbsc = "57ee78078905c7499bd4e6857f8981d22badfcac"
|
SRCREV_openbsc = "57ee78078905c7499bd4e6857f8981d22badfcac"
|
||||||
PV = "0.4.3+git${SRCPV}"
|
PV = "0.4.3+git${SRCPV}"
|
||||||
|
|
Loading…
Reference in New Issue