-
Notifications
You must be signed in to change notification settings - Fork 110
brew install gnu radio fails with ld: symbol(s) not found for architecture x86_64 #49
Comments
Seconded; same problem. https://gist.github.com/a1k0n/9554723 |
I'm getting the same.Has anyone resolved this? |
The information here may be helpful: http://stackoverflow.com/questions/12469114/having-trouble-compiling-boost-filesystems-tutorial-file |
I managed to get it working. I added the following to boost.rb, just before the call to bootstrap.sh:
Then I rebuilt boost:
Then I modified gnuradio.rb, so that it compiles using clang (I've got XCode 5 / clang 5.0 (clang-500.2.79) ):
Then, in gnuradio.rb, just above where python_prefix gets set, I added the following:
Then I build gnuradio using:
NB I've not got it to compile yet with --with-qt. |
I ran to the exact same problem. Does this still work for you? I tried the same exact steps that you had explained above, but it seems that clang hasn't been installed in /usr/bin by following the above steps. There is still only gpp-4.2 and g++-4.2, so when trying to install gnuradio I get nowhere with the following error:
|
I tried Sc0tty's solution and get this .... ==> cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gnuradio/3.6.5.1 -DQWT_INCLUDE_DIRS=/usr/local/lib/qwt.framework/Headers -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/gnuradio/3.6.5.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCM |
Hi, I have installed GNU radio but I m getting error at last in cd build gnuradio that volk boost build error.Please can anyone tell me hoe to resolve it |
I tried Sc0tty's solution as well and ended up with the same result: 4 errors generated. |
hi I am working on Spectrum Sensing by Energy Detector for cognitive radio on regards, On Wed, Dec 3, 2014 at 11:29 PM, John Barton [email protected]
|
I was running into the same make errors on Mavericks w/ Xcode 6.1.1 following @sc0ttyd's instructions above. I discovered a clang compile error and created a small patch that seems to fix the compile problem. Just run |
Is there any way that I can encrypt my data when I'm using a file source in Thank you I was running into the same make errors on Mavericks w/ Xcode 6.1.1 I discovered a clang compile error and created a small patch that seems to — |
brew install gnuradio
==> Downloading http://gnuradio.org/releases/gnuradio/gnuradio-3.6.5.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/gnuradio-3.6.5.1.tar.gz
==> Patching
patching file grc/CMakeLists.txt
patching file gr-qtgui/lib/spectrumdisplayform.ui
==> cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/gnuradio/3.6.5.1 -DQWT_INCLUDE_DIRS=/usr/local/lib/qwt.framework/Headers -DCMAK
==> make
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [gnuradio-core/src/lib/libgnuradio-core.3.6.5.1.dylib] Error 1
make[1]: *** [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/all] Error 2
make: *** [all] Error 2
From the brew log:
Undefined symbols for architecture x86_64:
"boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::basic_string<char, std::char_traits, std::allocator >&, std::codecvt<wchar_t, char, _mbstate_t> const&)", referenced from:
boost::filesystem::path::pathboost::filesystem::directory_entry(boost::filesystem::directory_entry const&, boost::enable_ifboost::filesystem::path_traits::is_pathable<boost::decayboost::filesystem::directory_entry::type, void>::type)in gr_prefs.cc.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *_* [gnuradio-core/src/lib/libgnuradio-core.3.6.5.1.dylib] Error 1
make[1]: *** [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/all] Error 2
make: *** [all] Error 2
HOMEBREW_VERSION: 0.9.5
HEAD: c5b1d4268075991722504aee3189d7e3fa3fe7ec
CPU: 8-core 64-bit ivybridge
OS X: 10.9.2-x86_64
Xcode: 5.1
CLT: 5.1.0.0.1.1393561416
X11: 2.7.5 => /opt/X11
~
The text was updated successfully, but these errors were encountered: