Build problems with pybombs

Yet more difficulties. Having found a work around for the Usb issue with
the B200, I was then unable to get any of the audio examples to run
again
due to /dev/dsp not being present and gnuradio insisting on using oss. I
Decided I must not have built it correctly so I tried re-building yet
again
with pybombs. This is slow as I have only access to slow broadband here.
Now I have total build failure in uhd. Not sure how to proceed as I
don’t
know what I am doing wrong here. It worked fine last time.

Mike

[ 4%] Built target man_page_gzips
[ 4%] [ 4%] [ 4%] [ 5%] Building CXX object
lib/CMakeFiles/uhd.dir/usrp/cores/radio_ctrl_core_3000.cpp.o
Building CXX object
lib/CMakeFiles/uhd.dir/usrp/dboard/db_sbx_version3.cpp.o
Building CXX object
lib/CMakeFiles/uhd.dir/usrp/dboard/db_sbx_version4.cpp.o
Building CXX object lib/CMakeFiles/uhd.dir/usrp/dboard/db_cbx.cpp.o
In file included from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.hpp:21:0,
from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.cpp:18:
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp: In
static
member function ‘static std::vector
uhd::msg_task::buff_to_vector(boost::uint8_t*, size_t)’:
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp:51:36:
error: ‘uint8_t’ was not declared in this scope
return std::vector<uint8_t>();
^
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp:51:36:
note:
suggested alternative:
In file included from /usr/local/include/boost/integer_fwd.hpp:17:0,
from /usr/local/include/boost/integer.hpp:18,
from
/usr/local/include/boost/function/function_base.hpp:21,
from
/usr/local/include/boost/function/detail/prologue.hpp:17,
from /usr/local/include/boost/function.hpp:24,
from
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp:24,
from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.hpp:21,
from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.cpp:18:
/usr/local/include/boost/cstdint.hpp:211:30: note: ‘boost::uint8_t’
typedef unsigned char uint8_t;
^
In file included from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.hpp:21:0,
from
/home/mike/pybombs/src/uhd/host/lib/usrp/cores/radio_ctrl_core_3000.cpp:18:
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp:51:43:
error: template argument 1 is invalid
return std::vector<uint8_t>();
^
/home/mike/pybombs/src/uhd/host/include/uhd/utils/msg_task.hpp:51:43:
error: template argument 2 is invalid
make[2]: ***
[lib/CMakeFiles/uhd.dir/usrp/cores/radio_ctrl_core_3000.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs…
make[1]: *** [lib/CMakeFiles/uhd.dir/all] Error 2
make: *** [all] Error 2
ERROR:root:PyBOMBS Make step failed for package (uhd) please see bash
output above for a reason (hint: look for the word Error)

I got the same error at work on my newly upgraded 64 bit laptop running
Ubuntu 14.04 Strangely, I built last night on a similar laptop with no
problems.

Very Respectfully,

Dan CaJacob

That’s interesting as its more or less the same here, except my last
build
was a couple of days ago. I am also running ubuntu 14.04, a fresh
install.
How did you fix the error?

Mike

On Fri, Apr 18, 2014 at 4:58 PM, Dan CaJacob [email protected]
wrote:

I got the same error at work on my newly upgraded 64 bit laptop running
Ubuntu 14.04 Strangely, I built last night on a similar laptop with no
problems.

Very Respectfully,

Dan CaJacob

This appears to be a problem with Boost 1.55.

I’m using Ubuntu 14.04 (I’m assuming, Mike, that you’ve just updated as
well?) and using Boost 1.54 with no problems. 14.04 also has Boost 1.55
available for install, and that might be what you’re pulling down.

This is really a UHD-related issue:
https://github.com/EttusResearch/uhd/pull/2

Tom

I haven’t fixed it. That’s why I am piggy-backing on your email.

Very Respectfully,

Dan CaJacob

Yep, Mike, I am going to post this over on the Ettus ML. I’ll copy you.

Very Respectfully,

Dan CaJacob

On Fri, Apr 18, 2014 at 5:07 PM, Mike W. [email protected]
wrote:

Yes indeed - I did an update. Is there any way to force it back to 1.54?

Mike

First, verify that you are actually using 1.55.

To roll back, you should be able to do:

$ sudo apt-get install libboost1.54-all-dev

Tom

Yes indeed - I did an update. Is there any way to force it back to 1.54?

Mike