[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] How to completely remove and clean UHD using PyBO
From: |
Cinaed Simson |
Subject: |
Re: [Discuss-gnuradio] How to completely remove and clean UHD using PyBOMBS |
Date: |
Tue, 28 Mar 2017 15:25:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 03/28/2017 01:41 PM, Jose Ruvalcaba wrote:
> Hello,
>
> I recently tried installing gnuradio using PyBOMBS and encountered the
> following error:
>
> /[ 88%] Building CXX object
> gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
> PyObject*, PyObject*)’:
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27229:15:
> error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
> (arg1)->set_gpio_debug(arg2,arg3);
> ^
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*,
> PyObject*, PyObject*)’:
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:28592:16:
> error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
> (*arg1)->set_gpio_debug(arg2,arg3);
> ^
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘void init_uhd_swig()’:
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47768:91:
> error: ‘ATR_REG_IDLE’ is not a member of ‘uhd::usrp::dboard_iface’
> ant(d, "dboard_iface_ATR_REG_IDLE",SWIG_From_int(static_cast< int
>>(uhd::usrp::
> ^
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47769:94:
> error: ‘ATR_REG_TX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
> (d, "dboard_iface_ATR_REG_TX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::
> ^
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47770:94:
> error: ‘ATR_REG_RX_ONLY’ is not a member of ‘uhd::usrp::dboard_iface’
> (d, "dboard_iface_ATR_REG_RX_ONLY",SWIG_From_int(static_cast< int
>>(uhd::usrp::
> ^
> /home/ruvalcab/prefix/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47771:98:
> error: ‘ATR_REG_FULL_DUPLEX’ is not a member of ‘uhd::usrp::dboard_iface’
> "dboard_iface_ATR_REG_FULL_DUPLEX",SWIG_From_int(static_cast< int
>>(uhd::usrp::
> ^
> gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:70: 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:13309: 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.
>
>
>
> /
> After some research I learned that it is because I installed UHD before
> GNU radio using the command : /pybombs install uhd/. I have tried to
> remove UHD and GNU radio by using /pybombs remove uhd/ and /pybombs
> remove gnuradio/ and it seems to remove. However, when I search for UHD,
> or use sudo find / -name libuhd*.so* my UBUNTU machine still shows that
> have UHD installed. My question is how do I completely clean or remove
> UHD so I can reinstall gnuradio? I am currently using UBUNTU 16.04 LTS.
>
Try
apt list --installed | grep uhd
If you find anything remove it - it will most likely be libuhd-dev
apt-get remove libuhd-dev
-- Cinaed
> Thanks,
> Jose Ruvalcaba
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>