Ah, in this case there might already be some "half-done" files from your first
try left over in the build/ directory. Can you try deleting the gnuradio/build
directory's complete content?
Am 30. Oktober 2016 17:43:51 MEZ, schrieb Benny Alexandar
<ben.a...@outlook.com>:
>Hi Marcus,
>
>
>No luck, I removed complete folder and uninstalled all previous
>installations by
>
>$ sudo apt-get purge --auto-remove uhd-host
>
>and installed uhd & gnuradio from source. uhd completed successfully,
>but gnuradio showing same errors.
>
>
>How to resolve it ?
>
>-ben
>
>
>
>________________________________
>From: Marcus Müller <marcus.muel...@ettus.com>
>Sent: Sunday, October 30, 2016 8:41:44 PM
>To: Benny Alexandar; discuss-gnuradio@gnu.org
>Subject: Re: [Discuss-gnuradio] Not able to build GNU Radio (git
>checkout v3.7.10.1)
>
>
>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
>
>https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_(UHD_and_GNU_Radio)_on_Linux<https://kb.ettus.com/Building_and_Installing_the_USRP_Open-Source_Toolchain_%28UHD_and_GNU_Radio%29_on_Linux>
>
>
>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
><marcus.muel...@ettus.com><mailto:marcus.muel...@ettus.com>
>Sent: Sunday, October 30, 2016 8:01:19 PM
>To: Benny Alexandar;
>discuss-gnuradio@gnu.org<mailto:discuss-gnuradio@gnu.org>
>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<http://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.a...@outlook.com><mailto:ben.a...@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<mailto: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.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio