pespin has submitted this change. ( 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(-)
Approvals: osmith: Looks good to me, approved laforge: Looks good to me, but someone else must approve Jenkins Builder: Verified
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(