summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-04-25 13:40:12 +0200
committerMax <msuraev@sysmocom.de>2017-04-25 13:40:12 +0200
commit37c53749f0461a8de0d736bfca7ea039207745dd (patch)
treed4c60f24c1901250988dc2e8fe8cc56bcbe9867e
parent57d0449d4ed5d82050c52551c8ad6195db38fdf1 (diff)
Fix debian builds
Add missing libosmogsm dependency. Change-Id: I6e5cf393ffe81c582966ca0e9479e6deeffa9280 Fixes: OS#2182
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am4
-rw-r--r--src/ipa.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 82c7ee8..3a05d54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,7 @@ PKG_PROG_PKG_CONFIG([0.20])
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMONETIF, libosmo-netif >= 0.0.6)
+PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.9.5)
old_LIBS=$LIBS
AC_SEARCH_LIBS([sctp_send], [sctp], [
diff --git a/src/Makefile.am b/src/Makefile.am
index 15f17fe..5f0b3f9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
-AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMONETIF_CFLAGS)
+AM_CFLAGS=-Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMONETIF_CFLAGS)
noinst_HEADERS = sccp_internal.h xua_asp_fsm.h xua_as_fsm.h xua_internal.h
@@ -32,4 +32,4 @@ libosmo_sigtran_la_SOURCES = sccp_sap.c sua.c m3ua.c xua_msg.c sccp_helpers.c \
osmo_ss7.c osmo_ss7_hmrt.c xua_asp_fsm.c xua_as_fsm.c \
osmo_ss7_vty.c sccp_vty.c ipa.c
libosmo_sigtran_la_LDFLAGS = -version-info $(LIBVERSION) -no-undefined -export-symbols-regex '^osmo_'
-libosmo_sigtran_la_LIBADD = $(LIBOSMOCORE_LIBS) $(LIBOSMONETIF_LIBS) $(LIBSCTP_LIBS)
+libosmo_sigtran_la_LIBADD = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMONETIF_LIBS) $(LIBSCTP_LIBS)
diff --git a/src/ipa.c b/src/ipa.c
index df3dbd1..a7060db 100644
--- a/src/ipa.c
+++ b/src/ipa.c
@@ -29,6 +29,7 @@
#include <osmocom/core/logging.h>
#include <osmocom/core/timer.h>
#include <osmocom/core/socket.h>
+#include <osmocom/gsm/ipa.h>
#include <osmocom/gsm/protocol/ipaccess.h>
//#include <osmocom/netif/stream.h>