pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-trx/+/42252?usp=email )
Change subject: Depend on libosmogsm explicitly
......................................................................
Depend on libosmogsm explicitly
Transceiver52M/device/common/bandmanager.h uses gsm_freq102arfcn() from
libosmogsm, so we should include libosmogsm.
Change-Id: I379b7e285ea9c124709de32d6e8a44b819f62111
---
M Transceiver52M/device/common/Makefile.am
M configure.ac
2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/52/42252/1
diff --git a/Transceiver52M/device/common/Makefile.am
b/Transceiver52M/device/common/Makefile.am
index 1a33592..33b0925 100644
--- a/Transceiver52M/device/common/Makefile.am
+++ b/Transceiver52M/device/common/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/Makefile.common
AM_CPPFLAGS = -Wall $(STD_DEFINES_AND_INCLUDES)
-AM_CXXFLAGS = -lpthread $(LIBOSMOCORE_CFLAGS)
+AM_CXXFLAGS = -lpthread $(LIBOSMOGSM_CFLAGS) $(LIBOSMOCORE_CFLAGS)
noinst_HEADERS = radioDevice.h smpl_buf.h bandmanager.h
@@ -10,3 +10,8 @@
libdevice_common_la_SOURCES = \
smpl_buf.cpp
+
+libdevice_common_la_LIBADD = \
+ $(LIBOSMOCORE_LIBS) \
+ $(LIBOSMOGSM_LIBS) \
+ $(NULL)
diff --git a/configure.ac b/configure.ac
index adfa185..b7fea08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,7 @@
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.10.0)
PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl >= 1.10.0)
PKG_CHECK_MODULES(LIBOSMOCODING, libosmocoding >= 1.10.0)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.10.0)
AC_ARG_ENABLE(sanitize,
[AS_HELP_STRING(
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/42252?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I379b7e285ea9c124709de32d6e8a44b819f62111
Gerrit-Change-Number: 42252
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>