<div dir="ltr">Hi there,<div><br></div><div>I am having trouble building latest version of gr-osmosdr on my Mac. I am having identical issue with homebrew version (from chleggett tap) as with cloning from <a href="http://git.osmocom.org/gr-osmosdr/">http://git.osmocom.org/gr-osmosdr/</a>. `make` step always fails with linker error</div><div><br></div><div><div>Undefined symbols for architecture x86_64:</div><div>  "_rtlsdr_get_index_by_serial", referenced from:</div><div>      rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in rtl_source_c.cc.o</div><div>  "_rtlsdr_set_agc_mode", referenced from:</div><div>      rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in rtl_source_c.cc.o</div><div>      rtl_source_c::set_gain_mode(bool, unsigned long) in rtl_source_c.cc.o</div><div>      non-virtual thunk to rtl_source_c::set_gain_mode(bool, unsigned long) in rtl_source_c.cc.o</div><div>  "_rtlsdr_set_direct_sampling", referenced from:</div><div>      rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in rtl_source_c.cc.o</div><div>  "_rtlsdr_set_offset_tuning", referenced from:</div><div>      rtl_source_c::rtl_source_c(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in rtl_source_c.cc.o</div><div>ld: symbol(s) not found for architecture x86_64</div><div>clang: error: linker command failed with exit code 1 (use -v to see invocation)</div><div>make[2]: *** [lib/libgnuradio-osmosdr.0.1.5git.dylib] Error 1</div><div>make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Trying to add -DCMAKE_CXX_FLAGS=-libstd=libstdc++ only results in even more undefined symbols on top of these. I'm not sure where to proceed from here.</div><div><br></div><div>This is my first post to this list, so hello everyone! and Thanks for any help.</div><div><br></div><div>Nils</div></div>