discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio build from script fails


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] gnuradio build from script fails
Date: Fri, 27 Nov 2015 08:53:22 +0100
User-agent: K-9 Mail for Android

Hi Organ,
This all sounds like you still have the horribly outdated version of UHD installed that Ubuntu 14.04 has. Make sure to
sudo apt-get remove uhd libuhd\* uhd-host

And run build-gnuradio again.

Best regards,
Marcus

Am 27. November 2015 04:36:17 MEZ, schrieb "Orhan Öçal" <address@hidden>:
Hello,

I have been trying to have GNURADIO and USRP B200 work on a Ubuntu 14.04.3

I have first tried the call `sudo apt-get install gnuradio`. This installs GNURADIO fine. However, the drivers for B200 is not installed unfortunately, hence the machine cannot see my device.

So instead I downloaded the driver binaries after updating the apt-get package manager through the way written on ETTUS research's website http://files.ettus.com/manual/page_install.html#install_linux_pkgmgr This solved the problem with connecting to USRP B200. However, it uninstalled gnuradio as expected since it depends on the UHD library. Then I installed gnuradio by `apt-get install gnuradio`. However, this gives a segmentation fault when I try running gnuradio. This link https://www.ruby-forum.com/topic/4837808 mentions about such a problem due to `libboost`, I believe I have the same problem.

So instead I tried building GNURADIO and UHD through the installation script as `wget http://www.sbrac.org/files/build-gnuradio && chmod a+x ./build-gnuradio && ./build-gnuradio`. However, with this I get the following error:

##############################

[ 87%] Building CXX object gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/username/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘void init_uhd_swig()’:
/home/username/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47037:91: error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, "dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int >(uhd::usrp::dboard_iface::ATR_REG_IDLE)));
                                                                                           ^
/home/username/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47038:94: error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, "dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int >(uhd::usrp::dboard_iface::ATR_REG_TX_ONLY)));
                                                                                              ^
/home/username/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47039:94: error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, "dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int >(uhd::usrp::dboard_iface::ATR_REG_RX_ONLY)));
                                                                                              ^
/home/username/Documents/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47040:98: error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’
   SWIG_Python_SetConstant(d, "dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int >(uhd::usrp::dboard_iface::ATR_REG_FULL_DUPLEX)));
                                                                                                  ^
make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1
make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2
make: *** [all] Error 2
make failed
Exiting Gnu Radio build/install

​​##############################

The script builds ​UHD itself, I could not think of how to approach this problem. Would you have any hints as to how to proceed?

Oh, and, happy thanksgiving!

​Orhan​



Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
reply via email to

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