[PATCH] osmo-bts[master]: sysmo: Fix build error for sysmobts target

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Minh-Quang Nguyen gerrit-no-reply at lists.osmocom.org
Fri Sep 2 18:45:49 UTC 2016


Review at  https://gerrit.osmocom.org/814

sysmo: Fix build error for sysmobts target

Change-Id: I29e9bf8db483376cdf5084658a738f1589622e53
---
M src/common/oml.c
1 file changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/14/814/1

diff --git a/src/common/oml.c b/src/common/oml.c
index 29cba5a..06d0ba0 100644
--- a/src/common/oml.c
+++ b/src/common/oml.c
@@ -45,8 +45,9 @@
 #include <osmo-bts/pcuif_proto.h>
 #ifdef ENABLE_LC15BTS
 #include "../osmo-bts-litecell15/lc15bts.h"
-struct oml_fail_evt_rep_sig_data alarm_sig_data;
 #endif
+
+struct oml_fail_evt_rep_sig_data alarm_sig_data;
 
 /* FIXME: move this to libosmocore */
 static struct tlv_definition abis_nm_att_tlvdef_ipa = {
@@ -1732,6 +1733,7 @@
 				sig_data->add_text);
 		break;
 
+#ifdef ENABLE_LC15BTS
 	case S_NM_OML_BTS_DSP_ALIVE_ALARM:
 		memcpy(&res, sig_data->spare, sizeof(unsigned int));
 		snprintf(log_msg, 100, "Timeout waiting for SYS primitive %s (%d)\n",
@@ -1745,6 +1747,7 @@
 				NM_EVT_CAUSE_CRIT_DSP_FATAL,
 				sig_data->add_text);
 		break;
+#endif
 
 	case S_NM_OML_BTS_UNKN_MPH_INFO_REQ_ALARM:
 		memcpy(&res, sig_data->spare, sizeof(unsigned int));

-- 
To view, visit https://gerrit.osmocom.org/814
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I29e9bf8db483376cdf5084658a738f1589622e53
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Minh-Quang Nguyen <minh-quang.nguyen at nutaq.com>



More information about the gerrit-log mailing list