discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Fwd: Pybombs 2.0 woes


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] Fwd: Pybombs 2.0 woes
Date: Sun, 6 Mar 2016 18:13:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

Ah thanks! That is a strong lead!
Indeed, this seems to be an incompatibility between what UHD expects
that Boost provides, what Boost expects to be declared by your compiler
and UHD declarations themselves; that's why you're seeing one
"undeclared" and one "already declared" error... Boost has never been
overly consistent on that, and it seems we didn't quite take enough care
to catch all the possible combinations of the existence and
non-existence of ::int64_t, ::uintptr_t, boost::int64_t,
boost::uintptr_t. As you can imagine, that is quite a headache (that we
of course try to have ourselves instead of you, the user, encountering it).

I'm trying my best to narrow this down, but it would be very helpful if
you could share these infos with me:

* version of Boost used (either from the CMake Output that came before
the "[   0%] Building ....", or via looking into
/usr/include/boost/version.hpp)
* version of gcc used (output of "g++ -v")

Best regards,
Marcus


On 06.03.2016 15:50, Mike Willis wrote:
> Here is the error
>
> [  4%] Building CXX object
> lib/CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_200.cpp.o
> In file included from
> /usr/local/src/uhd/host/lib/usrp/cores/dsp_core_utils.hpp:21:0,
>                  from
> /usr/local/src/uhd/host/lib/usrp/cores/rx_dsp_core_200.cpp:19:
> /usr/local/src/uhd/host/include/uhd/types/stdint.hpp:29:14: error:
> ‘int64_t’ is already declared in this scope
>  using boost::int64_t;
>               ^
> /usr/local/src/uhd/host/include/uhd/types/stdint.hpp:51:9: error:
> ‘::uintptr_t’ has not been declared
>  using ::uintptr_t;
>          ^
> make[2]: *** [lib/CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_200.cpp.o] Error 1
> make[1]: *** [lib/CMakeFiles/uhd.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 uhd:
> Build failed.
> PyBombs.install - ERROR - Error installing package uhd. Aborting.
> address@hidden:~/pybombs$
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

[Prev in Thread] Current Thread [Next in Thread]