This is very symptomatic of a system with conflicting installs of a library, in your case UHD.
Uninstall all UHDs that you have (check by searching for libuhd.so and multi_usrp.* globally) and reinstall only that UHD you want. If that is not the UHD that came with your Linux distro, make sure you don't accidentally reinstall it, e.g. by installing something that depends on it.
Best regards,
Marcus
Am 30. Oktober 2016 15:22:22 MEZ, schrieb Benny Alexandar <ben.alex@outlook.com>:
Hi,
I get this following error while building GNU Radio 3.7.10.1. Please find the below errors
-----
[ 86%] Built target uhd_swig_gr_uhd_swig_5e3ce
Scanning dependencies of target _uhd_swig
[ 86%] Building CXX object gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, PyObject*, PyObject*)’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26696:15: error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
(arg1)->set_gpio_debug(arg2,arg3);
^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*, PyObject*)’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27979:16: error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
(*arg1)->set_gpio_debug(arg2,arg3);
^
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: In function ‘void init_uhd_swig()’:
/home/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48039: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/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48040: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/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48041: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/ben/workarea-gnuradio/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:48042: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
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
No comments:
Post a Comment