Hi,

The file with the errors is generated automatically by swig. Gnuradio seems
to be confused about your uhd installation.
Either you have 2 different uhd installations - a no,no, or in the middle
of your gnuradio compilation you changed uhd
and resumed compilation without cleaning it up.

If you \rm -rf build and start from scratch does it help?

HTH,
Nikos

On Sat, Mar 12, 2016 at 5:02 PM, Gonzalo Arcos <[email protected]>
wrote:

> Hi.
>
> Ive tried to install gnuradio both with the script and with the 3.7.9
> sources and i get an error building the exact same files. Some months ago i
> installed it without problems, however i formatted the OS and now i cant
> make it work.. Any ideas? This is the error:
>
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*,
> PyObject*, PyObject*)’:
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:26688:15:
> error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
>        (arg1)->set_gpio_debug(arg2,arg3);
>                ^
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘PyObject* _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*,
> PyObject*, PyObject*)’:
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:27971:16:
> error: ‘class uhd::usrp::dboard_iface’ has no member named ‘set_gpio_debug’
>        (*arg1)->set_gpio_debug(arg2,arg3);
>                 ^
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
> In function ‘void init_uhd_swig()’:
> /home/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46693: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/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46694: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/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46695: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/gonzalo/Proyecto/gnuradio-3.7.9.1/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:46696: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)));
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to