[PATCH 1/2] llist: Reduce the external dependencies of this test

Holger Hans Peter Freyther holger at moiji-mobile.com
Fri May 22 02:50:36 UTC 2015


Debian is using the classic bfd linker and when passing
libosmogb as link dependency it always wants/needs to
resolve the bssgp_prim_cb symbol (which is to be provided
by the application).

Only keep the libosmocore dependency.

Fixes:
lib/libosmogb.so: undefined reference to `bssgp_prim_cb'
collect2: error: ld returned 1 exit status
Makefile:511: recipe for target 'llist/LListTest' failed
---
 tests/Makefile.am | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index b822e46..77760f3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -56,9 +56,6 @@ ms_MsTest_LDFLAGS = \
 
 llist_LListTest_SOURCES = llist/LListTest.cpp
 llist_LListTest_LDADD = \
-	$(top_builddir)/src/libgprs.la \
-	$(LIBOSMOGB_LIBS) \
-	$(LIBOSMOGSM_LIBS) \
 	$(LIBOSMOCORE_LIBS) \
 	$(COMMON_LA)
 
-- 
2.3.5




More information about the osmocom-net-gprs mailing list