For some reason, if you have conflicting UHD versions installed, the most common place for compilation to break is the swig'ging of the ATR registers. So: Please make sure there's only one UHD that cmake / swig/ your compiler will find when building!
Best regards, Marcus On 04.08.2016 18:16, Jason Matusiak wrote: > I was having some issues updating some of my stuff, so I decided to > buckle down, and you the new pybombs to try to get my setup installed > again. It works for a while and then errors out on UHD: > >>pybombs prefix init ~/pybombs -a myprefix -R gnuradio-default > <<snip>> > [ 86%] Building CXX object > gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o > /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: > In function ‘PyObject* _wrap_dboard_iface_set_gpio_debug(PyObject*, > PyObject*, PyObject*)’: > /home/jmat/pybombs/src/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/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: > In function ‘PyObject* > _wrap_dboard_iface_sptr_set_gpio_debug(PyObject*, PyObject*, PyObject*)’: > /home/jmat/pybombs/src/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/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx: > In function ‘void init_uhd_swig()’: > /home/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47019: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/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47020: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/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47021: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/jmat/pybombs/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:47022: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 > PyBOMBS.Packager.source - ERROR - Build failed. See output above for > error messages. > PyBOMBS.Packager.source - ERROR - Problem occurred while building > package gnuradio: > Build failed. > PyBOMBS.install_manager - ERROR - Error installing package gnuradio. > Aborting. > <<end snip>> > > I assume I am having issues due to having stuff previously installed? > Is there a way around this? Also, if I want to use the latest RFNoC > branch in UHD, how am I going to need to check that out with the new > pybombs2? > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio