osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/28535 )


Change subject: usrp1: add missing -lboost_thread
......................................................................

usrp1: add missing -lboost_thread

Fix for the following error we see since building master-osmo-trx on
debian 10 instead of 9:
  /usr/bin/ld: ipc_driver_test-uhdwrap.o: undefined reference to symbol 
'_ZTIN5boost6detail16thread_data_baseE'
  /usr/bin/ld: //usr/lib/x86_64-linux-gnu/libboost_thread.so.1.67.0: error 
adding symbols: DSO missing from command line

Fixes: OS#5608
Change-Id: Id0d3ebacf3fb2184b6e9770abfa3ec434426bb53
---
M configure.ac
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/35/28535/1

diff --git a/configure.ac b/configure.ac
index 422ad65..ddd24fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -171,6 +171,7 @@
     AC_CHECK_HEADER([boost/config.hpp],[],
         [AC_MSG_ERROR([boost/config.hpp not found, install e.g. 
libboost-dev])])
     PKG_CHECK_MODULES(USRP, usrp >= 3.3)
+    LIBS="$LIBS -lboost_thread"
 ])

 AS_IF([test "x$with_lms" = "xyes"], [

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/28535
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Id0d3ebacf3fb2184b6e9770abfa3ec434426bb53
Gerrit-Change-Number: 28535
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to