|
From: | Dave |
Subject: | [Discuss-gnuradio] Issues with Pybombs and Package Manager Install on Ubuntu 16.04 |
Date: | Wed, 6 Jul 2016 12:23:16 -0700 |
I am attempting to install gnuradio on a Ubuntu 16.04 machine. Using pybombs I get about 85% of the way along and then I get the errors show at the end of this post. After this attempt I used the package manager to load gnuradio with limited success. I’m new to gnuradio and I’m using an ETTUS B100 device. Everything about gnuradio and the usrp seems to work just fine if I boot from the current gnuradio usb stick image. As such I think both my PC and my usrp are functioning properly. After loading gnuradio from the package manager an running a simple usrp source and QT Gui Sink, I got an error indicating “No USD devices found” I ran uhd_find_devices and got the error message listed below with my subsequent actions. I could then run my simple usrp sources and QT Gui Sink and get results however I cannot use a sample rate higher than about 2M samples/sec. Again this flow graph works fine when booted from the usb image all the way to 8M samples/sec. Also when running the uhd_wbfm_receive example flow graph I don’t get any audio from the Audio Sink but again it works just fine from the gnuradio usb stick image. As such I’m trying to solve three problems. 1) install via pybombs to completion 2) using the package manger manager version of the install figure out why I can’t get 8M sample rate and 3) Audio sink output. Note: Through a separate post on the USRP list, I am trying to work usrp “device not found” issues with my windows 7 install as well. I appreciate any help you folks can provide. Thanks, Dave Error from uhd_find_devices: address@hidden:~$ uhd_find_devices linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown UHD Warning: Could not locate B100 firmware. Please run: "/usr/lib/uhd/utils/uhd_images_downloader.py" No UHD Devices Found address@hidden:~$ /usr/lib/uhd/utils/uhd_images_downloader.py Images destination: /usr/share/uhd/images You do not have sufficient permissions to write to: /usr/share Are you root? address@hidden:~$ sudo /usr/lib/uhd/utils/uhd_images_downloader.py [sudo] password for dave: Images destination: /usr/share/uhd/images Downloading images from: http://files.ettus.com/binaries/images/uhd-images_003.009.002-release.zip Downloading images to: /tmp/tmpozhdaY/uhd-images_003.009.002-release.zip 26296 kB / 26296 kB (100%) Images successfully installed to: /usr/share/uhd/images address@hidden:~$ uhd_find_devices linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown -- Loading firmware image: /usr/share/uhd/images/usrp_b100_fw.ihx... done -------------------------------------------------- -- UHD Device 0 -------------------------------------------------- Device Address: type: b100 name: b100 serial: EBR12XEB1 Pybombs Failure Transcript below: [ 85%] Built target _uhd_swig_swig_tag [ 85%] Built target uhd_swig_gr_uhd_swig_5e3ce [ 85%] Building CXX object gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, PyObject*)’: /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27178:15: error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’ (arg1)->set_gpio_debug(arg2,arg3); ^ /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*, PyObject*)’: /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:28541:16: error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’ (*arg1)->set_gpio_debug(arg2,arg3); ^ /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘void init_uhd_swig()’: /home/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47716: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/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47717: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/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47718: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/dave/pybombsprefix1/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47719: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))); ^ gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:68: recipe for target 'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o' failed make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1 CMakeFiles/Makefile2:11706: recipe for target 'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all' failed make[1]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 PyBOMBS.Packager.source - ERROR - Build failed. See output above for error messages. PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio: Build failed. PyBOMBS.install_manager - ERROR - Error installing package gnuradio. Aborting. |
[Prev in Thread] | Current Thread | [Next in Thread] |