Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rytse@SEDRSSHYPRES:~/usrlibs/gr-oots/gr-osmosdr/build$ make -j12
Scanning dependencies of target osmosdr_grc_xml_blocks
Scanning dependencies of target pygen_python_c8b22
Scanning dependencies of target osmosdr_swig_swig_doc
Scanning dependencies of target pygen_apps_02681
Scanning dependencies of target pygen_apps_60e61
Scanning dependencies of target gnuradio-osmosdr
[ 4%] Shebangin osmocom_siggen_nogui
[ 4%] Shebangin osmocom_siggen
[ 6%] Generating osmosdr_sink.xml
[ 8%] Generating rtlsdr_source.xml
[ 14%] Generating __init__.pyc
[ 14%] Built target osmosdr_swig_swig_doc
[ 14%] Generating __init__.pyo
[ 14%] Shebangin osmocom_fft
[ 18%] Generating osmocom_siggen_base.pyo
[ 18%] Generating osmosdr_source.xml
[ 20%] Generating osmocom_siggen_base.pyc
[ 22%] Shebangin osmocom_spectrum_sense
Scanning dependencies of target _osmosdr_swig_swig_tag
[ 22%] Built target pygen_python_c8b22
[ 24%] Building CXX object swig/CMakeFiles/_osmosdr_swig_swig_tag.dir/_osmosdr_swig_swig_tag.cpp.o
[ 24%] Built target pygen_apps_02681
[ 24%] Built target pygen_apps_60e61
[ 26%] Linking CXX executable _osmosdr_swig_swig_tag
[ 26%] Built target _osmosdr_swig_swig_tag
[ 28%] Generating osmosdr_swig.tag
[ 30%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/device.cc.o
[ 32%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/ranges.cc.o
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/source_impl.cc.o
[ 36%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/sink_impl.cc.o
[ 38%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/time_spec.cc.o
[ 40%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_source_c.cc.o
[ 42%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/osmosdr/osmosdr_src_c.cc.o
[ 44%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/file/file_sink_c.cc.o
[ 46%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/fcd/fcd_source_c.cc.o
[ 48%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl/rtl_source_c.cc.o
[ 48%] Built target osmosdr_grc_xml_blocks
Scanning dependencies of target osmosdr_swig_swig_2d0df
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_f.cc.o
[ 52%] Building CXX object swig/CMakeFiles/osmosdr_swig_swig_2d0df.dir/osmosdr_swig_swig_2d0df.cpp.o
[ 54%] Linking CXX executable osmosdr_swig_swig_2d0df
Swig source
[ 56%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rtl_tcp/rtl_tcp_source_c.cc.o
In file included from /home/rytse/prefix/include/osmosdr.h:27:0,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/osmosdr/osmosdr_src_c.cc:40:
/home/rytse/prefix/include/osmosdr_export.h:41:0: warning: "OSMOSDR_API" redefined
# define OSMOSDR_API __SDR_IMPORT
^
In file included from /home/rytse/usrlibs/gr-oots/gr-osmosdr/include/osmosdr/ranges.h:21:0,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/source_iface.h:24,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/osmosdr/osmosdr_src_c.h:29,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/osmosdr/osmosdr_src_c.cc:30:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/include/osmosdr/api.h:28:0: note: this is the location of the previous definition
# define OSMOSDR_API __GR_ATTR_EXPORT
^
[ 58%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_sink_c.cc.o
[ 58%] Built target osmosdr_swig_swig_2d0df
[ 60%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/uhd/uhd_source_c.cc.o
Scanning dependencies of target pygen_swig_b7d9b
[ 62%] Generating osmosdr_swig.pyc
[ 64%] Generating osmosdr_swig.pyo
[ 66%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_source_c.cc.o
[ 68%] Built target pygen_swig_b7d9b
[ 70%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/hackrf/hackrf_sink_c.cc.o
[ 72%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_source_c.cc.o
[ 74%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_sink_c.cc.o
[ 76%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o
[ 78%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/rfspace/rfspace_source_c.cc.o
[ 80%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o
[ 82%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_source_c.cc.o
[ 84%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/soapy/soapy_sink_c.cc.o
[ 86%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/redpitaya/redpitaya_source_c.cc.o
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc: In member function ‘void bladerf_source_c::schedule_another()’:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc:93:64: error: invalid conversion from ‘int’ to ‘bladerf_direction’ [-fpermissive]
bladerf_get_timestamp(_dev.get(), BLADERF_MODULE_RX, &wtitn);
^
In file included from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.h:39:0,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.h:30,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc:40:
/home/rytse/prefix/include/libbladeRF.h:2345:15: note: initializing argument 2 of ‘int bladerf_get_timestamp(bladerf*, bladerf_direction, bladerf_timestamp*)’
int CALL_CONV bladerf_get_timestamp(struct bladerf *dev,
^
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc: In member function ‘virtual int bladerf_source_c::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc:260:64: error: invalid conversion from ‘int’ to ‘bladerf_direction’ [-fpermissive]
bladerf_get_timestamp(_dev.get(), BLADERF_MODULE_RX, &lst);
^
In file included from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.h:39:0,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.h:30,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc:40:
/home/rytse/prefix/include/libbladeRF.h:2345:15: note: initializing argument 2 of ‘int bladerf_get_timestamp(bladerf*, bladerf_direction, bladerf_timestamp*)’
int CALL_CONV bladerf_get_timestamp(struct bladerf *dev,
^
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc: In member function ‘virtual double bladerf_source_c::get_center_freq(size_t)’:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_source_c.cc:365:69: error: cannot convert ‘uint32_t* {aka unsigned int*}’ to ‘bladerf_frequency* {aka long unsigned int*}’ for argument ‘3’ to ‘int bladerf_get_frequency(bladerf*, bladerf_channel, bladerf_frequency*)’
ret = bladerf_get_frequency( _dev.get(), BLADERF_MODULE_RX, &freq );
^
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_sink_c.cc: In member function ‘virtual double bladerf_sink_c::get_center_freq(size_t)’:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_sink_c.cc:351:69: error: cannot convert ‘uint32_t* {aka unsigned int*}’ to ‘bladerf_frequency* {aka long unsigned int*}’ for argument ‘3’ to ‘int bladerf_get_frequency(bladerf*, bladerf_channel, bladerf_frequency*)’
ret = bladerf_get_frequency( _dev.get(), BLADERF_MODULE_TX, &freq );
^
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:446: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_source_c.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_source_c.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:470: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_sink_c.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_sink_c.cc.o] Error 1
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.cc: In member function ‘bool bladerf_common::start(bladerf_module)’:
/home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.cc:203:63: error: invalid conversion from ‘bladerf_module {aka int}’ to ‘bladerf_channel_layout’ [-fpermissive]
_num_transfers, _stream_timeout_ms);
^
In file included from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.h:39:0,
from /home/rytse/usrlibs/gr-oots/gr-osmosdr/lib/bladerf/bladerf_common.cc:41:
/home/rytse/prefix/include/libbladeRF.h:2419:15: note: initializing argument 2 of ‘int bladerf_sync_config(bladerf*, bladerf_channel_layout, bladerf_format, unsigned int, unsigned int, unsigned int, unsigned int)’
int CALL_CONV bladerf_sync_config(struct bladerf *dev,
^
lib/CMakeFiles/gnuradio-osmosdr.dir/build.make:494: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/bladerf/bladerf_common.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-osmosdr.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-osmosdr.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.