discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Issue installing GNU Radio with PyBombs


From: Dave NotTelling
Subject: Re: [Discuss-gnuradio] Issue installing GNU Radio with PyBombs
Date: Tue, 5 Jun 2018 21:30:18 -0400

I forced the CMAKE_CXX_COMPILER variable to be c++ and the CMAKE_C_COMPILER to be cc.  You could likely use the older compiler for UHD by passing in the compiler, a dash, and the version number.  You should be able to see all available options by opening a terminal, typing `gcc-` and then hitting tab twice quickly.  Should autocomplete with all available options.  If that doesn't work then you can try `dpkg -l | grep gcc`.  If you wanted to use gcc 4.7, then you could set CMAKE_CXX_COMPILER to g++-4.7.  Should be able to do something similar with the C compiler and gcc-4.7.  I also found that installing another more recent version of Boost fixed issues for me.  But, that comes with the issue of keeping two diff versions of Boost on the same system which can mean lots of odd path variables needing to be set :(

On Tue, Jun 5, 2018 at 7:22 PM, Jose Ruvalcaba <address@hidden> wrote:
Hi Dave,

I have Ubuntu 16.04. I actually had a similar issue as Jason Matusiak had with C++11, as discussed in a recent thread, but I updated my gcc compiler from 5.3.2 to 6.4 which seemed to fix the c++11 problem but created this new issue. How did you build UHD using gcc, if you don't mind me asking?



On Tue, Jun 5, 2018 at 2:13 PM, Dave NotTelling <address@hidden> wrote:
I ran into this issue when using clang to build UHD on Ubuntu 16.04.  Had to fall back to using gcc to build UHD due to an issue with 16.04's boost not playing nice with clang.  Not sure if that's what's happening here though.  What OS are you using?  Not sure how PyBombs does things under the covers :(

On Tue, Jun 5, 2018 at 2:34 PM Jose Ruvalcaba <address@hidden> wrote:
Hello,

I am trying to install Gnuradio with PyBombs and I am encountering the following issue when I reach to the UHD part:

Cloning into 'uhd'...
remote: Counting objects: 123, done.
remote: Total 123 (delta 23), reused 23 (delta 23), pack-reused 100
Receiving objects: 100% (123/123), 39.75 KiB | 0 bytes/s, done.
Resolving deltas: 100% (79/79), completed with 14 local objects.
Checking connectivity... done.
Configuring: (100%) [===========================================================================================================]
Building:    (100%) [===========================================================================================================]
[  2%] Built target uhd_rpclib
[ 62%] Built target uhd
[ 62%] Linking CXX executable twinrx_freq_hopping
../lib/libuhd.so.3.12: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
../lib/libuhd.so.3.12: undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
collect2: error: ld returned 1 exit status
examples/CMakeFiles/twinrx_freq_hopping.dir/build.make:109: recipe for target 'examples/twinrx_freq_hopping' failed
make[2]: *** [examples/twinrx_freq_hopping] Error 1
CMakeFiles/Makefile2:493: recipe for target 'examples/CMakeFiles/twinrx_freq_hopping.dir/all' failed
make[1]: *** [examples/CMakeFiles/twinrx_freq_hopping.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
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_manager - ERROR - Error installing package uhd. Aborting.



Can anyone shine some light on what the error may be? Has anyone seen this issue?

Thanks,
Jose
_______________________________________________
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]