discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Issues on Build/install on Ubuntu x32 (version 3.


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Issues on Build/install on Ubuntu x32 (version 3.3.0)
Date: Sun, 8 May 2011 11:34:28 +0100

On Thu, May 5, 2011 at 7:48 AM, Tom Rondeau <address@hidden> wrote:
On Wed, May 4, 2011 at 6:40 PM, Arturo Rinaldi <address@hidden> wrote:
i have some issue in building gnuradio-3.3.0 on ubuntu 11.04 x32. In particular I get errors in the building of the gr-usrp2 module, so i'm temporarily disabling the modules gr-usrp and gr-usrp through the ./ configure process.....any suggestions ?

Regards , Arturo

PS: if i build the unstable version from git i don't experience any problem at all


Could you post the error that you are getting? That might help us help you.

Tom


Arturo,

This definitely seems to be a problem using 3.3.0 in Ubuntu 11.04 (I'm running 64-bit). Try this patch and see if it helps

Tom


diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc
index f0ee564..0842482 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);

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]