Discussion:
[Discuss-gnuradio] How to completely remove and clean UHD using PyBOMBS
Jose Ruvalcaba
2017-03-28 20:41:06 UTC
Permalink
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
^/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
^/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
^/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
^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'
failedmake[2]: ***
[gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error
1CMakeFiles/Makefile2:13309: recipe for target
'gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all' failedmake[1]: ***
[gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all] Error 2Makefile:160: recipe for
target 'all' failedmake: *** [all] Error 2PyBOMBS.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.

Thanks,
Jose Ruvalcaba
Cinaed Simson
2017-03-28 22:25:42 UTC
Permalink
Post by Jose Ruvalcaba
Hello,
I recently tried installing gnuradio using PyBOMBS and encountered the
/[ 88%] Building CXX object
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
(arg1)->set_gpio_debug(arg2,arg3);
^
In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*,
error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
(*arg1)->set_gpio_debug(arg2,arg3);
^
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
^
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
^
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
^
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
^
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
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
Post by Jose Ruvalcaba
Thanks,
Jose Ruvalcaba
_______________________________________________
Discuss-gnuradio mailing list
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Loading...