[PATCH] openbsc[master]: Build fixes

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

ahuemer gerrit-no-reply at lists.osmocom.org
Thu Sep 8 23:05:12 UTC 2016


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

Build fixes

Some fixes for build environments where dependencies are installed in
distinct directories.

Change-Id: I38808fd2911747b266ee6fde91187a88dd7ae355
---
M openbsc/src/gprs/Makefile.am
M openbsc/tests/gtphub/Makefile.am
M openbsc/tests/mm_auth/Makefile.am
M openbsc/tests/sgsn/Makefile.am
M openbsc/tests/xid/Makefile.am
5 files changed, 10 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/39/839/1

diff --git a/openbsc/src/gprs/Makefile.am b/openbsc/src/gprs/Makefile.am
index 8cb4601..72ccc1c 100644
--- a/openbsc/src/gprs/Makefile.am
+++ b/openbsc/src/gprs/Makefile.am
@@ -33,6 +33,8 @@
 	    $(LIBOSMOVTY_LIBS) \
 	    $(LIBOSMOCTRL_LIBS) \
 	    $(LIBOSMOGB_LIBS) \
+	    $(LIBOSMOABIS_LIBS) \
+	    $(LIBGTP_LIBS) \
 	    $(NULL)
 
 bin_PROGRAMS = \
@@ -128,5 +130,5 @@
 		    $(LIBOSMOVTY_LIBS) \
 		    $(LIBCARES_LIBS) \
 		    -lrt \
-		    -lgtp \
+		    $(LIBGTP_LIBS) \
 		    $(NULL)
diff --git a/openbsc/tests/gtphub/Makefile.am b/openbsc/tests/gtphub/Makefile.am
index 654b662..8cf0239 100644
--- a/openbsc/tests/gtphub/Makefile.am
+++ b/openbsc/tests/gtphub/Makefile.am
@@ -7,6 +7,8 @@
 	    -Wall \
 	    -ggdb3 \
 	    $(LIBOSMOCORE_CFLAGS) \
+	    $(LIBOSMOABIS_CFLAGS) \
+	    $(LIBGTP_CFLAGS) \
 	    $(NULL)
 
 EXTRA_DIST = \
@@ -35,6 +37,6 @@
 		    $(top_builddir)/src/gprs/gtphub.o \
 		    $(top_builddir)/src/gprs/gprs_utils.o \
 		    $(LIBOSMOCORE_LIBS) \
-		    -lgtp \
+		    $(LIBGTP_LIBS) \
 		    -lrt \
 		    $(NULL)
diff --git a/openbsc/tests/mm_auth/Makefile.am b/openbsc/tests/mm_auth/Makefile.am
index 9db9716..0c79737 100644
--- a/openbsc/tests/mm_auth/Makefile.am
+++ b/openbsc/tests/mm_auth/Makefile.am
@@ -8,6 +8,7 @@
 	    $(LIBOSMOCORE_CFLAGS) \
 	    $(LIBOSMOGSM_CFLAGS) \
 	    $(LIBCRYPTO_CFLAGS) \
+	    $(LIBOSMOABIS_CFLAGS) \
 	    $(NULL)
 
 noinst_PROGRAMS = \
diff --git a/openbsc/tests/sgsn/Makefile.am b/openbsc/tests/sgsn/Makefile.am
index 46c6089..e5734e6 100644
--- a/openbsc/tests/sgsn/Makefile.am
+++ b/openbsc/tests/sgsn/Makefile.am
@@ -7,6 +7,7 @@
 	    -Wall \
 	    -ggdb3 \
 	    $(LIBOSMOCORE_CFLAGS) \
+	    $(LIBOSMOABIS_CFLAGS) \
 	    $(LIBOSMOGSM_CFLAGS) \
 	    $(LIBCARES_CFLAGS) \
 	    $(NULL)
@@ -64,7 +65,7 @@
 		  $(LIBOSMOGB_LIBS) \
 		  $(LIBCARES_LIBS) \
 		  $(LIBCRYPTO_LIBS) \
-		  -lgtp \
+		  $(LIBGTP_LIBS) \
 		  -lrt \
 		  $(NULL)
 
diff --git a/openbsc/tests/xid/Makefile.am b/openbsc/tests/xid/Makefile.am
index 7e33ceb..e269da1 100644
--- a/openbsc/tests/xid/Makefile.am
+++ b/openbsc/tests/xid/Makefile.am
@@ -32,7 +32,7 @@
 		 $(LIBOSMOGB_LIBS) \
 		 $(LIBCARES_LIBS) \
 		 $(LIBCRYPTO_LIBS) \
-		 -lgtp \
+		 $(LIBGTP_LIBS) \
 		 -lrt \
 		 -lm \
 		 $(NULL)

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I38808fd2911747b266ee6fde91187a88dd7ae355
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: ahuemer <alexander.huemer at xx.vu>



More information about the gerrit-log mailing list