diff options
Diffstat (limited to 'usrp2/host')
-rw-r--r-- | usrp2/host/lib/Makefile.am | 2 | ||||
-rw-r--r-- | usrp2/host/lib/usrp2.cc | 6 | ||||
-rw-r--r-- | usrp2/host/lib/usrp2_impl.cc | 1 | ||||
-rw-r--r-- | usrp2/host/usrp2.pc.in | 4 |
4 files changed, 8 insertions, 5 deletions
diff --git a/usrp2/host/lib/Makefile.am b/usrp2/host/lib/Makefile.am index cda051bb07..209cb70953 100644 --- a/usrp2/host/lib/Makefile.am +++ b/usrp2/host/lib/Makefile.am @@ -30,6 +30,8 @@ usrp2_socket_opener_SOURCES = usrp2_socket_opener.cc lib_LTLIBRARIES = \ libusrp2.la +libusrp2_la_LDFLAGS = $(LTVERSIONFLAGS) + libusrp2_la_SOURCES = \ control.cc \ copiers.cc \ diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index f0ee564be0..0842482e40 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -38,9 +38,9 @@ namespace usrp2 { struct usrp_table_entry { // inteface + normalized mac addr ("eth0:01:23:45:67:89:ab") std::string key; - boost::weak_ptr<usrp2::usrp2> value; + boost::weak_ptr<usrp2> value; - usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2::usrp2> _value) + usrp_table_entry(const std::string &_key, boost::weak_ptr<usrp2> _value) : key(_key), value(_value) {} }; @@ -70,7 +70,7 @@ namespace usrp2 { // We don't have the USRP2 we're looking for // create a new one and stick it in the table. - usrp2::sptr r(new usrp2::usrp2(ifc, pr, rx_bufsize)); + usrp2::sptr r(new usrp2(ifc, pr, rx_bufsize)); usrp_table_entry t(key, r); s_table.push_back(t); diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc index 882ad7414a..333e2d1e78 100644 --- a/usrp2/host/lib/usrp2_impl.cc +++ b/usrp2/host/lib/usrp2_impl.cc @@ -25,6 +25,7 @@ #include <usrp2/copiers.h> #include <gruel/inet.h> #include <gruel/realtime.h> +#include <boost/bind.hpp> #include <usrp2_types.h> #include "usrp2_impl.h" #include "eth_buffer.h" diff --git a/usrp2/host/usrp2.pc.in b/usrp2/host/usrp2.pc.in index eaef5f41d2..0c862a8774 100644 --- a/usrp2/host/usrp2.pc.in +++ b/usrp2/host/usrp2.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: usrp2 Description: Universal Software Radio Peripheral 2 -Requires: gnuradio-omnithread gruel -Version: @VERSION@ +Requires: gruel +Version: @LIBVER@ Libs: -L${libdir} -lusrp2 Cflags: -I${includedir} @DEFINES@ |