Skip to content

Instantly share code, notes, and snippets.

@NinjaComics
Last active March 31, 2016 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NinjaComics/ec982c1e6462d23c9f27523fef0354fd to your computer and use it in GitHub Desktop.
Save NinjaComics/ec982c1e6462d23c9f27523fef0354fd to your computer and use it in GitHub Desktop.
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘void bladerf_common::set_clock_source(const string&, size_t)’:
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:634:3: error: ‘bladerf_vctcxo_tamer_mode’ was not declared in this scope
bladerf_vctcxo_tamer_mode tamer_mode = BLADERF_VCTCXO_TAMER_DISABLED;
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:634:29: error: expected ‘;’ before ‘tamer_mode’
bladerf_vctcxo_tamer_mode tamer_mode = BLADERF_VCTCXO_TAMER_DISABLED;
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:641:5: error: ‘tamer_mode’ was not declared in this scope
tamer_mode = static_cast<bladerf_vctcxo_tamer_mode>(index);
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:641:30: error: expected type-specifier before ‘bladerf_vctcxo_tamer_mode’
tamer_mode = static_cast<bladerf_vctcxo_tamer_mode>(index);
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:641:30: error: expected ‘>’ before ‘bladerf_vctcxo_tamer_mode’
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:641:30: error: expected ‘(’ before ‘bladerf_vctcxo_tamer_mode’
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:641:63: error: expected ‘)’ before ‘;’ token
tamer_mode = static_cast<bladerf_vctcxo_tamer_mode>(index);
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:644:59: error: ‘tamer_mode’ was not declared in this scope
int status = bladerf_set_vctcxo_tamer_mode( _dev.get(), tamer_mode );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:644:70: error: ‘bladerf_set_vctcxo_tamer_mode’ was not declared in this scope
int status = bladerf_set_vctcxo_tamer_mode( _dev.get(), tamer_mode );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘std::string bladerf_common::get_clock_source(size_t)’:
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:652:3: error: ‘bladerf_vctcxo_tamer_mode’ was not declared in this scope
bladerf_vctcxo_tamer_mode tamer_mode = BLADERF_VCTCXO_TAMER_INVALID;
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:652:29: error: expected ‘;’ before ‘tamer_mode’
bladerf_vctcxo_tamer_mode tamer_mode = BLADERF_VCTCXO_TAMER_INVALID;
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:654:60: error: ‘tamer_mode’ was not declared in this scope
int status = bladerf_get_vctcxo_tamer_mode( _dev.get(), &tamer_mode );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:654:71: error: ‘bladerf_get_vctcxo_tamer_mode’ was not declared in this scope
int status = bladerf_get_vctcxo_tamer_mode( _dev.get(), &tamer_mode );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘void bladerf_common::set_smb_frequency(double)’:
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:680:94: error: ‘bladerf_set_smb_frequency’ was not declared in this scope
int status = bladerf_set_smb_frequency( _dev.get(), uint32_t(frequency), &actual_frequency );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘double bladerf_common::get_smb_frequency()’:
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:695:73: error: ‘bladerf_get_smb_frequency’ was not declared in this scope
int status = bladerf_get_smb_frequency( _dev.get(), &actual_frequency );
^
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘std::string bladerf_common::get_clock_source(size_t)’:
/home/ravi/sandbox/target/src/gr-osmosdr/lib/bladerf/bladerf_common.cc:662:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment