So, you want to make sure you *don't* install uhd-host via
apt-get, then do the UHD source build and installation, and then
do the GNU Radio source build and installation.
Best regards,
Marcus
On 10/30/2016 04:07 PM, Benny Alexandar
wrote:
Hi Marcus,
I installed uhd
from source and is ( git checkout release_003_010_000_000),
from this link
Can i uninstall uhd
completely, by the below command
sudo apt-get purge --auto-remove uhd-host
Again, fresh installation should I first install uhd followed by gnuradio ?
-ben
From: Marcus
Müller <address@hidden>
Sent: Sunday, October 30, 2016 8:01:19 PM
To: Benny Alexandar; address@hidden
Subject: Re: [Discuss-gnuradio] Not able to build GNU
Radio (git checkout v3.7.10.1)
Hi Ben,
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 <address@hidden>:
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
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
|