# Compilation error gr-uhd

**URL:** <https://www.ruby-forum.com/t/compilation-error-gr-uhd/231636>\
**Category:** GNU Radio\
**Created:** [August 20, 2014, 3:47pm UTC](https://www.ruby-forum.com/t/compilation-error-gr-uhd/231636 "2014-08-20T15:47:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [August 20, 2014, 3:47pm UTC](https://www.ruby-forum.com/t/compilation-error-gr-uhd/231636/1 "2014-08-20T15:47:18Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![rmac217](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bc8723/32.png) [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Post date:** [August 20, 2014, 3:59pm UTC](https://www.ruby-forum.com/t/compilation-error-gr-uhd/231636/2 "2014-08-20T15:59:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rmac217](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/bc8723/32.png) [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Post date:** [August 21, 2014, 2:19pm UTC](https://www.ruby-forum.com/t/compilation-error-gr-uhd/231636/3 "2014-08-21T14:19:16Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
