[PATCH] osmo-bsc[master]: bs11: make bs11_config build again

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/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Mar 22 18:42:20 UTC 2018


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

bs11: make bs11_config build again

The BS-11 related tool bs11_config is currently not built due
to dependancy issues added by GSCON FSM.

- Re-Add bs11_config to makefile.am
- Add dependencies and stubs

Change-Id: I77ee8d2d36813ad98542317d003a9057c4f84e75
Related: OS#2823
---
M src/utils/Makefile.am
M src/utils/bs11_config.c
2 files changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/61/7461/1

diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am
index 0c681a5..6e21ccc 100644
--- a/src/utils/Makefile.am
+++ b/src/utils/Makefile.am
@@ -11,6 +11,8 @@
 	$(LIBOSMOABIS_CFLAGS) \
 	$(COVERAGE_CFLAGS) \
 	$(SQLITE3_CFLAGS) \
+	$(LIBOSMOSIGTRAN_CFLAGS) \
+	$(LIBOSMOMGCPCLIENT_CFLAGS) \
 	$(NULL)
 
 AM_LDFLAGS = \
@@ -22,6 +24,7 @@
 	$(NULL)
 
 bin_PROGRAMS = \
+	bs11_config \
 	isdnsync \
 	meas_json \
 	$(NULL)
@@ -50,6 +53,8 @@
 	$(LIBOSMOCORE_LIBS) \
 	$(LIBOSMOGSM_LIBS) \
 	$(LIBOSMOABIS_LIBS) \
+	$(LIBOSMOSIGTRAN_LIBS) \
+	$(LIBOSMOMGCPCLIENT_LIBS) \
 	$(NULL)
 
 isdnsync_SOURCES = \
diff --git a/src/utils/bs11_config.c b/src/utils/bs11_config.c
index bc0f488..e7c8336 100644
--- a/src/utils/bs11_config.c
+++ b/src/utils/bs11_config.c
@@ -969,3 +969,15 @@
 
 	exit(0);
 }
+
+/* Stub */
+int osmo_bsc_sigtran_send(struct gsm_subscriber_connection *conn, struct msgb *msg)
+{
+	return 0;
+}
+
+/* Stub */
+int osmo_bsc_sigtran_open_conn(struct gsm_subscriber_connection *conn, struct msgb *msg)
+{
+	return 0;
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77ee8d2d36813ad98542317d003a9057c4f84e75
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list