Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbols for architecture x86_64 #5

Open
stuzog opened this issue Dec 12, 2016 · 0 comments
Open

Undefined symbols for architecture x86_64 #5

stuzog opened this issue Dec 12, 2016 · 0 comments

Comments

@stuzog
Copy link

stuzog commented Dec 12, 2016

bash$ brew install gnuradio-osmosdr
==> Installing gnuradio-osmosdr from godber/godber
==> Downloading http://cgit.osmocom.org/gr-osmosdr/snapshot/gr-osmosdr-0.1.4.zip
######################################################################## 100.0%
==> Downloading https://pypi.python.org/packages/source/M/Markdown/Markdown-2.4.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/gnuradio-osmosdr/0.1.4/l
==> Downloading https://pypi.python.org/packages/source/C/Cheetah/Cheetah-2.4.4.tar.gz
######################################################################## 100.0%
==> python -c import setuptools... --no-user-cfg install --prefix=/usr/local/Cellar/gnuradio-osmosdr/0.1.4/l
==> cmake .. -DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Versions/2.7/Python -DCMAKE_C_FLAGS_RE
==> make
Last 15 lines from /Users/Stuart/Library/Logs/Homebrew/gnuradio-osmosdr/04.make:
Undefined symbols for architecture x86_64:
"_rtlsdr_get_index_by_serial", referenced from:
rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in rtl_source_c.cc.o
"_rtlsdr_set_agc_mode", referenced from:
rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in rtl_source_c.cc.o
rtl_source_c::set_gain_mode(bool, unsigned long) in rtl_source_c.cc.o
"_rtlsdr_set_direct_sampling", referenced from:
rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in rtl_source_c.cc.o
"_rtlsdr_set_offset_tuning", referenced from:
rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in rtl_source_c.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libgnuradio-osmosdr.0.1.4.dylib] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/godber/homebrew-godber/issues

bash$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant