Compilation error gr-uhd

Hey All,
I’ve run into some issues building gr-uhd. I have the UHD software from
here: http://code.ettus.com/redmine/ettus/projects/uhd/wiki/UHD_Linux
And, can run basic tests like “uhd_usrp_probe” and “uhd_find_devices”.
But, when I try to build GNU Radio, I receive a compilation error at:

[ 85%] Built target _uhd_swig_doc_tag
[ 85%] Built target uhd_swig_swig_doc
[ 85%] Built target _uhd_swig_swig_tag
[ 85%] Building CXX object
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o
/local/GReasy/trunk/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
In
function ‘PyObject* _wrap_rx_metadata_t_to_pp_string(PyObject*,
PyObject*,
PyObject*)’:
/local/GReasy/trunk/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:17655:52:
error: ‘const struct uhd::rx_metadata_t’ has no member named
‘to_pp_string’
result = ((uhd::rx_metadata_t const )arg1)->to_pp_string(arg2);
^
/local/GReasy/trunk/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
In
function ‘PyObject
_wrap_rx_metadata_t_strerror(PyObject*, PyObject*)’:
/local/GReasy/trunk/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:17688:52:
error: ‘const struct uhd::rx_metadata_t’ has no member named ‘strerror’
result = ((uhd::rx_metadata_t const *)arg1)->strerror();
^
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

I’m using 64-bit Ubuntu 14.04 and GR 3.7.3
Is this something anyone has experienced before or am I making some
obvious
user error?
Thank You,
Ryan M.

Hi Ryan,
I think this is a swig issue. I don’t really know why, but often a make
clean && make fixes this…

Greetings,
Marcus

Hey Mike, All,
That resolved my issue. In other news, I think this has convinced me
that
pybombs are pretty cool. I’d heard about them for a while but just
hadn’t
taken the time to try them out.
Thanks for your help!
Ryan M.

On Wed, Aug 20, 2014 at 1:32 PM, Mike J. [email protected]