balint256 / gr-baz Goto Github PK
View Code? Open in Web Editor NEWCollection of new blocks for GNU Radio
Home Page: http://wiki.spench.net/wiki/gr-baz
License: GNU General Public License v3.0
Collection of new blocks for GNU Radio
Home Page: http://wiki.spench.net/wiki/gr-baz
License: GNU General Public License v3.0
I'm trying to build for OS X, with homebrew.
gnu-radio has compiled correctly, but the cmake generated gr-baz doesn't seem to compile.
I suspect this might be to do with the c++ compiler being clang not gcc, but I'm not sure. It spits out the error below, so I can't figure out how gnuradio is happy with it.
-<%>- make
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o
In file included from /Users/magnayn/dev/ettus/gr-baz2/lib/baz_print_char.cc:37:
In file included from /Users/magnayn/dev/ettus/gr-baz2/lib/baz_print_char.h:31:
In file included from /usr/local/include/gnuradio/gr_sync_block.h:27:
In file included from /usr/local/include/gnuradio/gr_block.h:27:
In file included from /usr/local/include/gnuradio/gr_basic_block.h:27:
In file included from /usr/local/include/gnuradio/gr_runtime_types.h:27:
In file included from /usr/local/include/gnuradio/gr_types.h:31:
In file included from /usr/local/include/gnuradio/gr_complex.h:25:
In file included from /usr/include/c++/4.2.1/complex:48:
In file included from /usr/include/c++/4.2.1/cmath:53:
/usr/local/include/gnuradio/math.h:60:10: error: 'inline' can only appear on functions
static inline float
^
/usr/local/include/gnuradio/math.h:61:3: error: redefinition of 'fast_atan2f' as different kind of symbol
fast_atan2f(gr_complex z)
^
/usr/local/include/gnuradio/math.h:58:24: note: previous definition is here
GR_RUNTIME_API float fast_atan2f(float y, float x);
^
/usr/local/include/gnuradio/math.h:61:15: error: use of undeclared identifier 'gr_complex'
fast_atan2f(gr_complex z)
^
/usr/local/include/gnuradio/math.h:61:28: error: expected ';' after top level declarator
fast_atan2f(gr_complex z)
^
In file included from /Users/magnayn/dev/ettus/gr-baz2/lib/baz_print_char.cc:37:
In file included from /Users/magnayn/dev/ettus/gr-baz2/lib/baz_print_char.h:31:
In file included from /usr/local/include/gnuradio/gr_sync_block.h:27:
In file included from /usr/local/include/gnuradio/gr_block.h:27:
In file included from /usr/local/include/gnuradio/gr_basic_block.h:27:
In file included from /usr/local/include/gnuradio/gr_runtime_types.h:27:
In file included from /usr/local/include/gnuradio/gr_types.h:31:
In file included from /usr/local/include/gnuradio/gr_complex.h:25:
In file included from /usr/include/c++/4.2.1/complex:48:
/usr/include/c++/4.2.1/cmath:99:11: error: no member named 'acos' in the global namespace
using ::acos;
~~^
/usr/include/c++/4.2.1/cmath:115:11: error: no member named 'asin' in the global namespace
using ::asin;
~~^
/usr/include/c++/4.2.1/cmath:131:11: error: no member named 'atan' in the global namespace
using ::atan;
~~^
/usr/include/c++/4.2.1/cmath:147:11: error: no member named 'atan2' in the global namespace
using ::atan2;
~~^
/usr/include/c++/4.2.1/cmath:164:11: error: no member named 'ceil' in the global namespace
using ::ceil;
~~^
/usr/include/c++/4.2.1/cmath:180:11: error: no member named 'cos' in the global namespace
using ::cos;
~~^
/usr/include/c++/4.2.1/cmath:196:11: error: no member named 'cosh' in the global namespace
using ::cosh;
~~^
/usr/include/c++/4.2.1/cmath:212:11: error: no member named 'exp' in the global namespace
using ::exp;
~~^
/usr/include/c++/4.2.1/cmath:228:11: error: no member named 'fabs' in the global namespace
using ::fabs;
~~^
/usr/include/c++/4.2.1/cmath:244:11: error: no member named 'floor' in the global namespace
using ::floor;
~~^
/usr/include/c++/4.2.1/cmath:260:11: error: no member named 'fmod' in the global namespace
using ::fmod;
~~^
/usr/include/c++/4.2.1/cmath:270:11: error: no member named 'frexp' in the global namespace
using ::frexp;
~~^
/usr/include/c++/4.2.1/cmath:286:11: error: no member named 'ldexp' in the global namespace
using ::ldexp;
~~^
/usr/include/c++/4.2.1/cmath:302:11: error: no member named 'log' in the global namespace
using ::log;
~~^
/usr/include/c++/4.2.1/cmath:318:11: error: no member named 'log10' in the global namespace
using ::log10;
~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2
make: *** [all] Error 2
The boric source block does not work for me, see below.
regards,
kai
Traceback (most recent call last):
File "/Users/kai/gnuradio/mystuff/top_block.py", line 8, in
from baz import borip
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/baz/borip.py", line 33, in
from gnuradio import usrp
ImportError: cannot import name usrp
Why did I do that? I dunno, just testing.
-- Detecting C compiler ABI info - done
CMake Error at CMakeLists.txt:62 (include):
include could not find load file:
GrBoost
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.28")
-- checking for module 'uhd'
-- found uhd, version 003.008.002-0-unknown
-- Found UHD: /usr/lib64/libuhd.so
-- UHD found - compiling UHD-aware blocks
-- checking for module 'libusb-1.0'
-- found libusb-1.0, version 1.0.19
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib64/libusb-1.0.so
-- libusb found - compiling RTL2832U source block
-- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR)
-- Armadillo NOT found! NOT compiling MUSIC DOA estimator block
-- Looking for netdb.h
-- Looking for netdb.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for sys/socket.h
-- Looking for sys/socket.h - found
-- Looking for netinet/in.h
-- Looking for netinet/in.h - found
-- Looking for arpa/inet.h
-- Looking for arpa/inet.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for C++ include boost/thread/xtime.hpp
-- Looking for C++ include boost/thread/xtime.hpp - found
-- Looking for CLOCK_MONOTONIC
-- Looking for CLOCK_MONOTONIC - found
-- Looking for boost::xtime_get
-- Looking for boost::xtime_get - found
CMake Error at lib/CMakeLists.txt:165 (GR_LIBRARY_FOO):
Unknown CMake command "GR_LIBRARY_FOO".
-- Configuring incomplete, errors occurred!
Before I get started here, I want to run gr_baz_attach.py. Everything complied and installed ok.
Can you tell me exactly where my gnuradio src path is? I'm rather new to the linux environment and want to get it right.
Good evening,
I've downloaded the specest toolbox from https://github.com/kit-cel/gr-specest.git
When I try to "read" data, with spec_est.gui, from an "ETTUS b200 mini", the error attached below happens. Would anybody help me, please?
$ specest_gui.py
[INFO] [UHDlinux; GNU C++ version 5.3.1 20160406 (Red Hat 5.3.1-6); Boost_105800; UHD_3.11.0.git-208-g1da86f9c]
[INFO] [B200] Detected Device: B200mini
[INFO] [B200] Operating over USB 2.
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] pass
[INFO] [AD936X] Performing CODEC loopback test...
[INFO] [AD936X] CODEC loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.000000 MHz...
[INFO] [B200] Actually got clock rate 16.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
[INFO] [B200] Asking for clock rate 32.000000 MHz...
[INFO] [B200] Actually got clock rate 32.000000 MHz.
[INFO] [CORES] Performing timer loopback test...
[INFO] [CORES] Timer loopback test passed
Traceback (most recent call last):
File "/usr/local/bin/specest_gui.py", line 660, in input_selector_text
self.fg.set_src_type(src_type)
File "/usr/local/bin/specest_gui.py", line 1036, in set_src_type
self.set_head()
File "/usr/local/bin/specest_gui.py", line 919, in set_head
self.d_uhd_subdev_spec)
File "/usr/local/bin/specest_gui.py", line 1149, in init
fg.cpu_watcher.start()
AttributeError: 'NoneType' object has no attribute 'start'
Traceback (most recent call last):
File "/usr/local/bin/specest_gui.py", line 590, in run_flow_graph
self.fg.set_head()
File "/usr/local/bin/specest_gui.py", line 915, in set_head
self.disconnect((self.head, 0), (self.decimator, 0))
File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 47, in wrapped
func(self, src, src_port, dst, dst_port)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 122, in disconnect
self.primitive_disconnect(*args)
File "/usr/local/lib64/python2.7/site-packages/gnuradio/gr/runtime_swig.py", line 5297, in primitive_disconnect
return _runtime_swig.top_block_sptr_primitive_disconnect(self, *args)
ValueError: cannot disconnect edge head1:0->decimator0:0, not found
[ERROR] Build failed. See output above for error messages.
[ERROR] Problem occurred while building package gr-baz:
Build failed.
[ERROR] Error installing package gr-baz. Aborting.
I receive this error. Please help
After running the build and install commands from the readme the baz_sdl_sink is not available in GRC. I am attempting to use it in the "Audio FMCW.grc" sample file.
Trying HDSDR on linux (Ubuntu 15.10) as given in
https://www.reddit.com/r/RTLSDR/comments/2e58bz/install_script_for_hdsdr_on_linux/
when running python2 borip_server.py
getting the following error. Somewhere baz_swig seems missing. Any help?
(I am novice in Python)
Traceback (most recent call last):
File "borip_server.py", line 3, in
from baz import borip_server
File "/usr/local/lib/python2.7/dist-packages/baz/init.py", line 40, in
from baz_swig import *
ImportError: No module named baz_swig
I find this problem on Ubuntu 16.04.
There was someone said that is a typo:
https://ubuntuforums.org/showthread.php?t=2271836
It was giving tons of errors. @funkylab at #gnuradio IRC channel suggest me to add SET(CMAKE_CXX_STANDARD 11)
to CMakeList.txt.
I did it and it worked. Maybe this helps other people too.
Ubuntu 16.04 Linux 4.13.0-36-generic
gcc version 5.4.0 20160609
GNU Make 4.1
The release of boost 1.67 fixes an issue where floating point values are automatically converted into integers for the constructors of boost::posix_time::time_duration
, and helper functions like boost::posix_time::microseconds(long)
. This causes errors when special values (NaN, -∞, etc) are passed to it.
Currently the value double limit
value in Baz Burster get passed to boost::posix_time::microseconds(limit * 1e6)
, which isn't auto converting anymore.
This is the current compilation error.
/home/user/projects/gr-baz/src/gr-baz/lib/baz_burster.cc: In member function ‘virtual int baz_burster::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/user/projects/gr-baz/src/gr-baz/lib/baz_burster.cc:225:62: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000000>::subsecond_duration(double)’
if (diff >= boost::posix_time::microseconds(limit * 1e6))
i am not able to find gr-precog for installing wher can i download it.......
Python 2.x will no longer be supported by their upstream developers in 2020. It is thus time to switch to Python 3.
gnuradio in Debian testing already switched to Python 3. It would be nice if gr-baz could follow the move as well. But the repository seems rather inactive lately. Is that software still maintained ?
In Kali we still have the package but we already apply the patch from #56 and another patch fixing the detection of the Gnuradio package. If the package can't be updated to work with Python 3, it will likely be removed at some point (tracked in https://gitlab.com/kalilinux/packages/gr-baz/issues/1).
Thank you for your work on gr-baz!
i'm new to linux and just install OP25 but when I try to install Patch for DES-OFB it say: File not foud.
help please
HI everyone,
I've got a problem and I can't fix it.
I've installed GNURadio with Pybombs on Ubuntu 14.04 LTS.
The firs time I've tried to install gr-baz I've used the command given by Pybombs:
./pybombs install gr-baz
Everything goes ok but when after I tried to open Gnuradio companion, I can't.
So I update Pybombs and I've installed gr-baz by source. I can do the Cmake but when I do make I've got this error:
baz_usrp_aquire.cc:131.16: error 'class und::usurp::multi_usrp' has no member name 'set_gpio_attr'
m_dev->set_gpio_attr(bank, attr, value, mask, mboard);
Does anyone know how can I fix it?
Thank you, thank you very much!
I see you've already solved this, however...
make[2]: Entering directory /home/alain/balint256-gr-baz-90a0e11/lib' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/home/alain/balint256-gr-baz-90a0e11/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -g -O2 -g -O2 -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c -o baz_udp_source.lo baz_udp_source.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/home/alain/balint256-gr-baz-90a0e11/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -g -O2 -g -O2 -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c baz_udp_source.cc -fPIC -DPIC -o .libs/baz_udp_source.o ../libtool: line 989: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.us-ascii) ../libtool: line 989: warning: setlocale: LC_COLLATE: cannot change locale (en_US.us-ascii) ../libtool: line 989: warning: setlocale: LC_CTYPE: cannot change locale (en_US.us-ascii) In file included from baz_udp_source.cc:27:0: ./baz_udp_source.h:31:26: fatal error: gruel/thread.h: No such file or directory compilation terminated. make[2]: *** [baz_udp_source.lo] Error 1 make[2]: Leaving directory
/home/alain/balint256-gr-baz-90a0e11/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alain/balint256-gr-baz-90a0e11'
make: *** [all] Error 2
alain@alain-900:/balint256-gr-baz-90a0e11$ dpkg -l libgruel-dev/balint256-gr-baz-90a0e11$
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================-============================-========================================================================
ii libgruel-dev 3.2.2.dfsg-1ubuntu6 GNU Radio Utility Etcetera Library
alain@alain-900:
I have used pybombs to install gnuradio and gr-baz packages.
When the RTL-FM example is loaded there are a number of missing blocks; it is not obvious what needs to be installed in order to make these available.
Showing: "/home/eliot/src/sdr/pybombs/src/gr-baz/samples/RTL-FM.grc"
Error: Block key "gr_freq_xlating_fir_filter_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_nbfm_rx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_rational_resampler_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_quadrature_demod_cf" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_rational_resampler_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_multiply_const_vxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_pwr_squelch_xx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_freq_xlating_fir_filter_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_rational_resampler_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_quadrature_demod_cf" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_rational_resampler_xxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_multiply_const_vxx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "gr_pwr_squelch_xx" not found in Platform - grc(GNU Radio Companion)
Error: Block key "blks2_nbfm_rx" not found in Platform - grc(GNU Radio Companion)
Need docs or deps?
The current gr-baz git will not build giving a bunch of compilation errors in swig/. All dependencies are installed. All goes well up until compiling the swig wrapper stuff:
[ 50%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o
[ 52%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_fastrak_decoder.cc.o
[ 55%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_rtl_source_c.cc.o
[ 57%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832.cc.o
[ 60%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_e4000.cc.o
[ 62%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_fc0013.cc.o
[ 65%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_fc0012.cc.o
[ 67%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_fc2580.cc.o
[ 70%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_r820t.cc.o
[ 72%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/rtl2832-tuner_e4k.cc.o
[ 75%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_gate.cc.o
Linking CXX shared library libgnuradio-baz.so
[ 75%] Built target gnuradio-baz
Scanning dependencies of target baz_swig_swig_doc
[ 75%] Built target baz_swig_swig_doc
Scanning dependencies of target baz_swig_swig_tag
[ 77%] Building CXX object swig/CMakeFiles/baz_swig_swig_tag.dir/baz_swig_swig_tag.cpp.o
Linking CXX executable baz_swig_swig_tag
[ 77%] Built target baz_swig_swig_tag
[ 80%] Generating baz_swig.tag
[ 82%] Swig source
Scanning dependencies of target baz_swig
[ 85%] Building CXX object swig/CMakeFiles/baz_swig.dir/baz_swigPYTHON_wrap.cxx.o
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx: In function 'std::vectorstd::basic_string* std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vectorstd::basic_string, PySliceObject)':
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx:5646:90: error: cannot convert 'PySliceObject' to 'PyObject {aka object}' for argument '1' to 'int PySlice_GetIndices(PyObject, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t_)'
PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
^
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx: In function 'void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vectorstd::basic_string, PySliceObject, const std::vectorstd::basic_string&)':
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx:5657:90: error: cannot convert 'PySliceObject_' to 'PyObject* {aka object}' for argument '1' to 'int PySlice_GetIndices(PyObject_, Py_ssize_t, Py_ssize_t_, Py_ssize_t_, Py_ssize_t_)'
PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
^
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx: In function 'void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vectorstd::basic_string, PySliceObject)':
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx:5668:90: error: cannot convert 'PySliceObject_' to 'PyObject* {aka object}' for argument '1' to 'int PySlice_GetIndices(PyObject_, Py_ssize_t, Py_ssize_t_, Py_ssize_t_, Py_ssize_t_)'
PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
^
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx: In function 'void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vectorstd::basic_string, PySliceObject)':
/home/chris/gr-baz/b/swig/baz_swigPYTHON_wrap.cxx:5679:90: error: cannot convert 'PySliceObject_' to 'PyObject* {aka object}' for argument '1' to 'int PySlice_GetIndices(PyObject_, Py_ssize_t, Py_ssize_t_, Py_ssize_t_, Py_ssize_t_)'
PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step);
^
swig/CMakeFiles/_baz_swig.dir/build.make:102: recipe for target 'swig/CMakeFiles/baz_swig.dir/baz_swigPYTHON_wrap.cxx.o' failed
make[2]: ** [swig/CMakeFiles/_baz_swig.dir/baz_swigPYTHON_wrap.cxx.o] Error 1
CMakeFiles/Makefile2:165: recipe for target 'swig/CMakeFiles/_baz_swig.dir/all' failed
make[1]: *** [swig/CMakeFiles/_baz_swig.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2
Changing
to
in the named source file seems to let the build finish but the resulting blocks do not work in GR and cause early termination.
Running Arch rolling release, both gnuradio and gr-baz have been pulled down from git today.
On Ubuntu 14.04, I got the following error when compiling with make
:
/usr/include/gnuradio/logger.h:116:31: fatal error: log4cpp/Category.hh: No such file or directory
#include <log4cpp/Category.hh>
^
compilation terminated.
I fixed it with sudo apt-get install liblog4cpp5-dev
but I think the cmake script should check for this library at configure time.
I had to comment out #ifdef LIBUSB_FOUND in-order to make gr-baz support rtl devices. now that I have done this, I found it doesn't support R820T. I see all you have done was C++ified osmocom's rtl-sdr. So I'll just do the same for the R820T driver.
SVN: Checked out revision 719.
GNU Radio Version: debian release: 3.6.0-1
$ sh bootstrap
...
$ ./configure
...
Configured gr-baz release 3.3git for build.
$ make -e
libtool: link: warning: -version-info/-version-number' is ignored for convenience libraries libtool: link: ar cru .libs/libgnuradio-baz-qa.a .libs/qa_baz.o libtool: link: ranlib .libs/libgnuradio-baz-qa.a libtool: link: ( cd ".libs" && rm -f "libgnuradio-baz-qa.la" && ln -s "../libgnuradio-baz-qa.la" "libgnuradio-baz-qa.la" ) g++ -DHAVE_CONFIG_H -I. -I.. -I/tmp/crap/gnuradio/gr-baz/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -g -O2 -g -O2 -MT test_all.o -MD -MP -MF .deps/test_all.Tpo -c -o test_all.o test_all.cc mv -f .deps/test_all.Tpo .deps/test_all.Po /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -g -O2 -o test_all test_all.o libgnuradio-baz-qa.la libtool: link: g++ -g -O2 -g -O2 -o .libs/test_all test_all.o ./.libs/libgnuradio-baz-qa.a /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so -lusb-1.0 /usr/lib/libcppunit.so -ldl /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
typeinfo for gr_block'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_msg_accepter::post(boost::intrusive_ptr<pmt::pmt_base>)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
typeinfo for gr_sync_block'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_make_io_signature(int, int, int)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::detail::get_current_thread_data()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::set_relative_rate(double)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::this_thread::interruption_point()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to boost::this_thread::get_id()' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_block::~gr_block()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gnuradio::detail::sptr_magic::fetch_initial_sptr(gr_basic_block*)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_block::start()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to boost::thread::thread()' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_block::fixed_rate_noutput_to_ninput(int)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::forecast(int, std::vector<int, std::allocator<int> >&)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_make_io_signature2(int, int, int, int)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to vtable for boost::detail::thread_data_base' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::detail::thread_data_base::~thread_data_base()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_sync_block::forecast(int, std::vector<int, std::allocator<int> >&)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::thread::join()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::gr_block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<gr_io_signature>, boost::shared_ptr<gr_io_signature>)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_sync_block::general_work(int, std::vector<int, std::allocator >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to vtable for gr_sync_block' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_sync_block::fixed_rate_ninput_to_noutput(int)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::fixed_rate_ninput_to_noutput(int)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::thread::~thread()'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::stop()' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_block::set_output_multiple(int)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to gr_block::consume_each(int)' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_sync_block::gr_sync_block(std::basic_string<char, std::char_traits, std::allocator > const&, boost::shared_ptr<gr_io_signature>, boost::shared_ptr<gr_io_signature>)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to typeinfo for gr_basic_block' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
gr_sync_block::fixed_rate_noutput_to_ninput(int)'
/tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to typeinfo for boost::detail::thread_data_base' /tmp/crap/gnuradio/gr-baz/lib/.libs/libgnuradio-baz.so: undefined reference to
boost::thread::start_thread()'
collect2: ld returned 1 exit status
make[2]: *** [test_all] Error 1
make[2]: Leaving directory /tmp/crap/gnuradio/gr-baz/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/tmp/crap/gnuradio/gr-baz'
make: *** [all] Error 2
I want to use 3.7 with my RTL device and I'm unable to compile this against 3.7 due to the changes from 3.6:
GRUEL_
references and replace GNURADIO_CORE
variables with GNURADIO_RUNTIME_
#include<gruel/attributes.h>
to <gnuradio/attributes.h>
http://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7
I would greatly appreciate if you were able to update this to work with 3.7
Thanks
This looks like a moved file or something like that to me, but here is the full log:
GIT update -->
repository: https://github.com/balint256/gr-baz.git
at the commit: dfe73fa
branch: master
storage directory: "/usr/portage/distfiles/egit-src/gr-baz.git"
checkout type: bare repository
Cloning into '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
Unpacked to /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999
Source unpacked in /var/tmp/portage/net-wireless/gr-baz-9999/work
Preparing source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
- Running eautoreconf in '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999' ...
- Running aclocal -I config ...
[ ok ]- Running libtoolize --install --copy --force --automake ...
[ ok ]- Running aclocal -I config ...
[ ok ]- Running autoconf ...
[ ok ]- Running autoheader ...
[ ok ]- Running automake --add-missing --copy --foreign ...
[ ok ]- Running elibtoolize in: gr-baz-9999/
- Applying portage/1.2.0 patch ...
- Applying sed/1.5.6 patch ...
- Applying as-needed/2.4.2 patch ...
Source prepared.
Configuring source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...- econf: updating gr-baz-9999/config.sub with /usr/share/gnuconfig/config.sub
- econf: updating gr-baz-9999/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --enable-dependency-tracking
configure: loading site script /usr/share/config.site
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for git... /usr/bin/git
configure: GNU Radio Release 3.3git-dfe73fa6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for library containing strerror... none required
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking whether C++ has std::isnan... yes
checking gr_libdir_suffix... 64
checking whether to append 64 to libdir... no
checking whether x86_64-pc-linux-gnu-gcc accepts -Wall... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -Werror-implicit-function-declaration... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -Wall... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -Woverloaded-virtual... yes
checking whether user wants gprof... no
checking whether user wants prof... no
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for rm... /bin/rm
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/libexec/gcc/x86_64-pc-linux-gnu/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @file support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64
checking if the linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/libexec/gcc/x86_64-pc-linux-gnu/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib64/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for Python include path... /usr/include/python2.7
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for swig... /usr/bin/swig
checking for SWIG version... 2.0.8
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for winioctl.h... no
checking for winbase.h... no
checking for getopt... yes
checking for usleep... yes
checking for gettimeofday... yes
checking for nanosleep... yes
checking for rand... yes
checking for srand... yes
checking for random... yes
checking for srandom... yes
checking for sleep... yes
checking for sigaction... yes
checking for struct timezone... yes
checking for struct timespec... yes
checking for ssize_t... yes
checking for getopt... (cached) yes
checking for usleep... (cached) yes
checking for gettimeofday... (cached) yes
checking for Sleep... no
checking whether mkdir accepts only one arg... no
checking for xmlto... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.18... yes
checking for GNURADIO_CORE... yes
checking for GRUEL... yes
checking for CPPUNIT... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for windows.h... (cached) no
checking for USB... yes
checking for boost xtime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apps/Makefile
config.status: creating config/Makefile
config.status: creating grc/Makefile
config.status: creating lib/Makefile
config.status: creating python/Makefile
config.status: creating python/run_tests
config.status: creating swig/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing run_tests commands
Configured gr-baz release 3.3git-dfe73fa6 for build.
Source configured.
Compiling source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
make -j64
make all-recursive
make[1]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999' Making all in config make[2]: Entering directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
make[2]: Nothing to be done forall'. make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
Making all in lib
make[2]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c -o baz_print_char.lo baz_print_char.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c -o baz_unpacked_to_packed_bb.lo baz_unpacked_to_packed_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c -o baz_pow_cc.lo baz_pow_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c -o baz_delay.lo baz_delay.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c -o baz_puncture_bb.lo baz_puncture_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c -o baz_depuncture_ff.lo baz_depuncture_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c -o baz_swap_ff.lo baz_swap_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c -o baz_agc_cc.lo baz_agc_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c -o baz_test_counter_cc.lo baz_test_counter_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c -o baz_rtl_source_c.lo baz_rtl_source_c.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c -o rtl2832.lo rtl2832.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c -o rtl2832-tuner_e4000.lo rtl2832-tuner_e4000.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c -o rtl2832-tuner_fc0013.lo rtl2832-tuner_fc0013.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c -o rtl2832-tuner_fc0012.lo rtl2832-tuner_fc0012.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c -o rtl2832-tuner_fc2580.lo rtl2832-tuner_fc2580.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c -o rtl2832-tuner_e4k.lo rtl2832-tuner_e4k.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c -o baz_udp_source.lo baz_udp_source.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c -o baz_udp_sink.lo baz_udp_sink.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c -o qa_baz.lo qa_baz.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT test_all.o -MD -MP -MF .deps/test_all.Tpo -c -o test_all.o test_all.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c baz_print_char.cc -fPIC -DPIC -o .libs/baz_print_char.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c baz_pow_cc.cc -fPIC -DPIC -o .libs/baz_pow_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c baz_depuncture_ff.cc -fPIC -DPIC -o .libs/baz_depuncture_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c baz_agc_cc.cc -fPIC -DPIC -o .libs/baz_agc_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c baz_unpacked_to_packed_bb.cc -fPIC -DPIC -o .libs/baz_unpacked_to_packed_bb.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c baz_rtl_source_c.cc -fPIC -DPIC -o .libs/baz_rtl_source_c.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c baz_udp_source.cc -fPIC -DPIC -o .libs/baz_udp_source.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c rtl2832-tuner_e4000.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4000.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c baz_delay.cc -fPIC -DPIC -o .libs/baz_delay.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c baz_puncture_bb.cc -fPIC -DPIC -o .libs/baz_puncture_bb.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c baz_udp_sink.cc -fPIC -DPIC -o .libs/baz_udp_sink.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c qa_baz.cc -fPIC -DPIC -o .libs/qa_baz.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c rtl2832-tuner_fc0013.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0013.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c rtl2832-tuner_e4k.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4k.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c rtl2832.cc -fPIC -DPIC -o .libs/rtl2832.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c baz_test_counter_cc.cc -fPIC -DPIC -o .libs/baz_test_counter_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c rtl2832-tuner_fc2580.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc2580.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c baz_swap_ff.cc -fPIC -DPIC -o .libs/baz_swap_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c rtl2832-tuner_fc0012.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0012.o mv -f .deps/test_all.Tpo .deps/test_all.Po mv -f .deps/qa_baz.Tpo .deps/qa_baz.Plo mv -f .deps/rtl2832-tuner_fc0012.Tpo .deps/rtl2832-tuner_fc0012.Plo mv -f .deps/rtl2832-tuner_fc0013.Tpo .deps/rtl2832-tuner_fc0013.Plo mv -f .deps/rtl2832.Tpo .deps/rtl2832.Plo mv -f .deps/rtl2832-tuner_fc2580.Tpo .deps/rtl2832-tuner_fc2580.Plo mv -f .deps/rtl2832-tuner_e4k.Tpo .deps/rtl2832-tuner_e4k.Plo mv -f .deps/rtl2832-tuner_e4000.Tpo .deps/rtl2832-tuner_e4000.Plo mv -f .deps/baz_print_char.Tpo .deps/baz_print_char.Plo mv -f .deps/baz_unpacked_to_packed_bb.Tpo .deps/baz_unpacked_to_packed_bb.Plo mv -f .deps/baz_pow_cc.Tpo .deps/baz_pow_cc.Plo mv -f .deps/baz_test_counter_cc.Tpo .deps/baz_test_counter_cc.Plo mv -f .deps/baz_agc_cc.Tpo .deps/baz_agc_cc.Plo mv -f .deps/baz_swap_ff.Tpo .deps/baz_swap_ff.Plo mv -f .deps/baz_udp_source.Tpo .deps/baz_udp_source.Plo mv -f .deps/baz_udp_sink.Tpo .deps/baz_udp_sink.Plo mv -f .deps/baz_puncture_bb.Tpo .deps/baz_puncture_bb.Plo mv -f .deps/baz_delay.Tpo .deps/baz_delay.Plo mv -f .deps/baz_depuncture_ff.Tpo .deps/baz_depuncture_ff.Plo mv -f .deps/baz_rtl_source_c.Tpo .deps/baz_rtl_source_c.Plo /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libgnuradio-baz.la -rpath /usr/lib64 baz_print_char.lo baz_unpacked_to_packed_bb.lo baz_pow_cc.lo baz_delay.lo baz_puncture_bb.lo baz_depuncture_ff.lo baz_swap_ff.lo baz_agc_cc.lo baz_test_counter_cc.lo baz_rtl_source_c.lo rtl2832.lo rtl2832-tuner_e4000.lo rtl2832-tuner_fc0013.lo rtl2832-tuner_fc0012.lo rtl2832-tuner_fc2580.lo rtl2832-tuner_e4k.lo baz_udp_source.lo baz_udp_sink.lo -lusb-1.0 -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtbeginS.o .libs/baz_print_char.o .libs/baz_unpacked_to_packed_bb.o .libs/baz_pow_cc.o .libs/baz_delay.o .libs/baz_puncture_bb.o .libs/baz_depuncture_ff.o .libs/baz_swap_ff.o .libs/baz_agc_cc.o .libs/baz_test_counter_cc.o .libs/baz_rtl_source_c.o .libs/rtl2832.o .libs/rtl2832-tuner_e4000.o .libs/rtl2832-tuner_fc0013.o .libs/rtl2832-tuner_fc0012.o .libs/rtl2832-tuner_fc2580.o .libs/rtl2832-tuner_e4k.o .libs/baz_udp_source.o .libs/baz_udp_sink.o -Wl,--as-needed -lusb-1.0 -lgnuradio-core -lgruel /usr/lib64/libfftw3f.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crtn.o -O2 -Wl,-O1 -Wl,--hash-style=gnu -fopenmp -Wl,-soname -Wl,libgnuradio-baz.so.0 -o .libs/libgnuradio-baz.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libgnuradio-baz.so.0" && ln -s "libgnuradio-baz.so.0.0.0" "libgnuradio-baz.so.0") libtool: link: (cd ".libs" && rm -f "libgnuradio-baz.so" && ln -s "libgnuradio-baz.so.0.0.0" "libgnuradio-baz.so") libtool: link: ( cd ".libs" && rm -f "libgnuradio-baz.la" && ln -s "../libgnuradio-baz.la" "libgnuradio-baz.la" ) /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -version-info 0:0:0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libgnuradio-baz-qa.la qa_baz.lo libgnuradio-baz.la -lcppunit -ldl -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: warning:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libfftw3f.la' seems to be moved
libtool: link: warning:-version-info/-version-number' is ignored for convenience libraries libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libgnuradio-baz-qa.a .libs/qa_baz.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libgnuradio-baz-qa.a libtool: link: ( cd ".libs" && rm -f "libgnuradio-baz-qa.la" && ln -s "../libgnuradio-baz-qa.la" "libgnuradio-baz-qa.la" ) /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o test_all test_all.o libgnuradio-baz-qa.la -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu -o .libs/test_all test_all.o -Wl,--as-needed ./.libs/libgnuradio-baz-qa.a /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib/.libs/libgnuradio-baz.so -lusb-1.0 -lcppunit -ldl -lgnuradio-core -lgruel /usr/lib64/libfftw3f.so -lm -fopenmp make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib'
Making all in swig
make[2]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig' trap 'rm -rf .deps/baz-generate-*' 1 2 13 15; \ if mkdir .deps/baz-generate-lock 2>/dev/null; then \ rm -f .deps/baz-generate-stamp; \ make .deps/baz-generate-stamp WHAT=baz.i; \ rmdir .deps/baz-generate-lock; \ else \ while test -d .deps/baz-generate-lock; do \ sleep 1; \ done; \ test -f .deps/baz-generate-stamp; \ exit $?; \ fi; trap 'rm -rf .deps/baz-generate-*' 1 2 13 15; \ if mkdir .deps/baz-generate-lock 2>/dev/null; then \ rm -f .deps/baz-generate-stamp; \ make .deps/baz-generate-stamp WHAT=baz.i; \ rmdir .deps/baz-generate-lock; \ else \ while test -d .deps/baz-generate-lock; do \ sleep 1; \ done; \ test -f .deps/baz-generate-stamp; \ exit $?; \ fi; make[3]: Entering directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig'
if /usr/bin/swig -c++ -fvirtual -python -modern -keyword -w511 -outdir . -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig
-MD -MF .deps/baz.Std
-module baz_swig -o baz_swig.cc baz.i; then
if test linux-gnu = mingw32; then
/bin/rm -f .deps/baz.Sd;
/bin/sed 's,\,/,g' < .deps/baz.Std
> .deps/baz.Sd;
/bin/rm -f .deps/baz.Std;
.deps/baz.Sd .deps/baz.Std;
fi;
else
/bin/rm -f .deps/baz.S_; exit 1;
fi;
baz_swig.i:6: Error: Unable to find 'config.h'
make[3]: *_* [.deps/baz-generate-stamp] Error 1
make[3]: Leaving directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig' make[2]: *** [baz_swig.cc] Error 1 make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'
make: *** [all] Error 2
It looks like 009410c broke my OS X build. (I maintain a set of homebrew scripts for installing gr-baz)
These are the compile errors from 09af73b.
baz_udp_source.cc: In constructor 'baz_udp_source::baz_udp_source(size_t, const char*, short unsigned int, int, bool, bool, bool, bool)':
baz_udp_source.cc:224: error: 'SO_RCVBUFFORCE' was not declared in this scope
baz_udp_sink.cc: In member function 'bool baz_udp_sink::create()':
baz_udp_sink.cc:189: error: 'SO_SNDBUFFORCE' was not declared in this scope
make[1]: *** [baz_udp_source.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [baz_udp_sink.lo] Error 1
make: *** [install-recursive] Error 1
==> Exit Status: 2
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -Os -w -pipe -march=core2 -msse4
CXXFLAGS: -Os -w -pipe -march=core2 -msse4
CPPFLAGS: -I/usr/local/Cellar/cairo/1.10.2/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include -I/usr/local/Cellar/libtool/2.4.2/include -I/usr/local/Cellar/automake/1.12.1/include -I/usr/local/Cellar/autoconf/2.69/include
LDFLAGS: -L/usr/local/Cellar/cairo/1.10.2/lib -L/usr/local/Cellar/libffi/3.0.11/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/Cellar/libtool/2.4.2/lib -L/usr/local/Cellar/automake/1.12.1/lib -L/usr/local/Cellar/autoconf/2.69/lib
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/cairo/1.10.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.11/lib/pkgconfig
baz_udp_source.cc:224:40: error: use of undeclared identifier 'SO_RCVBUFFORCE'
if (setsockopt(d_socket, SOL_SOCKET, SO_RCVBUFFORCE, (optval_t)&requested_recv_buff_size, sizeof(int)) == -1) {
^
baz_udp_sink.cc:189:40: error: use of undeclared identifier 'SO_SNDBUFFORCE'
if (setsockopt(d_socket, SOL_SOCKET, SO_SNDBUFFORCE, (optval_t)&requested_send_buff_size, sizeof(int)) == -1) {
^
==> Build Environment
CPU: quad-core 64-bit sandybridge
MacOS: 10.7.4-x86_64
Xcode: 4.3.2
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments
CPPFLAGS: -I/usr/local/Cellar/cairo/1.10.2/include -I/usr/local/Cellar/libffi/3.0.11/include -I/usr/local/Cellar/gettext/0.18.1.1/include
LDFLAGS: -L/usr/local/Cellar/cairo/1.10.2/lib -L/usr/local/Cellar/libffi/3.0.11/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Cellar/cairo/1.10.2/lib/pkgconfig:/usr/local/Cellar/libffi/3.0.11/lib/pkgconfig
Hi, I have problem's with de cmake compilation at the new version of GNU-RADIO 3.8. I really need help please.
I attach de Cmake error's files.
The error is:
lucas@lucas:~/Bloques/gr-baz/build$ cmake ..
-- Build type not specified: defaulting to release.
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.35") found components: system thread
-- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.71.0") found components: date_time program_options filesystem system regex thread unit_test_framework
-- Found VOLK: Volk::volk
-- User set python executable /usr/bin/python3
-- Found PythonInterp: /usr/bin/python3 (found version "3.8.5")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable exact version "3.8.5")
CMake Error at CMakeLists.txt:138 (message):
GnuRadio Core required to compile baz
-- Configuring incomplete, errors occurred!
See also "/home/lucas/Bloques/gr-baz/build/CMakeFiles/CMakeOutput.log".
See also "/home/lucas/Bloques/gr-baz/build/CMakeFiles/CMakeError.log".
This "GnuRadio Core required to compile baz" is extremly rare. GnuRadios it's install correctly.
CMakeError.log
CMakeOutput.log
I have installed GnuRadio companion - 3.8.1.0 in Ubuntu 20.04.1 LTS focal with core 5.4.0-52-generic
Unpacking source...
GIT update -->
repository: https://github.com/balint256/gr-baz.git
at the commit: 9befbae
branch: master
storage directory: "/usr/portage/distfiles/egit-src/gr-baz.git"
checkout type: bare repository
Cloning into '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
Unpacked to /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999
Source unpacked in /var/tmp/portage/net-wireless/gr-baz-9999/work
Preparing source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
Source prepared.
Configuring source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
Source configured.
Compiling source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
make -j64
make all-recursive
make[1]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999' Making all in config make[2]: Entering directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
make[2]: Nothing to be done forall'. make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
Making all in lib
make[2]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c -o baz_print_char.lo baz_print_char.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c -o baz_unpacked_to_packed_bb.lo baz_unpacked_to_packed_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c -o baz_pow_cc.lo baz_pow_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c -o baz_delay.lo baz_delay.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c -o baz_puncture_bb.lo baz_puncture_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c -o baz_depuncture_ff.lo baz_depuncture_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c -o baz_swap_ff.lo baz_swap_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c -o baz_agc_cc.lo baz_agc_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c -o baz_test_counter_cc.lo baz_test_counter_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c -o baz_rtl_source_c.lo baz_rtl_source_c.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c -o rtl2832.lo rtl2832.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c -o rtl2832-tuner_e4000.lo rtl2832-tuner_e4000.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c -o rtl2832-tuner_fc0013.lo rtl2832-tuner_fc0013.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c -o rtl2832-tuner_fc0012.lo rtl2832-tuner_fc0012.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c -o rtl2832-tuner_fc2580.lo rtl2832-tuner_fc2580.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c -o rtl2832-tuner_e4k.lo rtl2832-tuner_e4k.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c baz_pow_cc.cc -fPIC -DPIC -o .libs/baz_pow_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c baz_puncture_bb.cc -fPIC -DPIC -o .libs/baz_puncture_bb.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c baz_delay.cc -fPIC -DPIC -o .libs/baz_delay.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c -o baz_udp_source.lo baz_udp_source.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c baz_print_char.cc -fPIC -DPIC -o .libs/baz_print_char.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c -o baz_udp_sink.lo baz_udp_sink.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c baz_unpacked_to_packed_bb.cc -fPIC -DPIC -o .libs/baz_unpacked_to_packed_bb.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c -o qa_baz.lo qa_baz.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT test_all.o -MD -MP -MF .deps/test_all.Tpo -c -o test_all.o test_all.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c baz_rtl_source_c.cc -fPIC -DPIC -o .libs/baz_rtl_source_c.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c baz_depuncture_ff.cc -fPIC -DPIC -o .libs/baz_depuncture_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c baz_swap_ff.cc -fPIC -DPIC -o .libs/baz_swap_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c baz_agc_cc.cc -fPIC -DPIC -o .libs/baz_agc_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c baz_test_counter_cc.cc -fPIC -DPIC -o .libs/baz_test_counter_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c rtl2832.cc -fPIC -DPIC -o .libs/rtl2832.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c rtl2832-tuner_e4k.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4k.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c rtl2832-tuner_fc2580.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc2580.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c rtl2832-tuner_e4000.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4000.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c rtl2832-tuner_fc0012.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0012.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c rtl2832-tuner_fc0013.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0013.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c qa_baz.cc -fPIC -DPIC -o .libs/qa_baz.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c baz_udp_source.cc -fPIC -DPIC -o .libs/baz_udp_source.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c baz_udp_sink.cc -fPIC -DPIC -o .libs/baz_udp_sink.o mv -f .deps/test_all.Tpo .deps/test_all.Po mv -f .deps/qa_baz.Tpo .deps/qa_baz.Plo mv -f .deps/baz_agc_cc.Tpo .deps/baz_agc_cc.Plo mv -f .deps/rtl2832-tuner_fc0012.Tpo .deps/rtl2832-tuner_fc0012.Plo mv -f .deps/baz_print_char.Tpo .deps/baz_print_char.Plo mv -f .deps/rtl2832.Tpo .deps/rtl2832.Plo mv -f .deps/baz_swap_ff.Tpo .deps/baz_swap_ff.Plo mv -f .deps/rtl2832-tuner_fc0013.Tpo .deps/rtl2832-tuner_fc0013.Plo mv -f .deps/baz_pow_cc.Tpo .deps/baz_pow_cc.Plo mv -f .deps/baz_unpacked_to_packed_bb.Tpo .deps/baz_unpacked_to_packed_bb.Plo mv -f .deps/baz_test_counter_cc.Tpo .deps/baz_test_counter_cc.Plo mv -f .deps/rtl2832-tuner_fc2580.Tpo .deps/rtl2832-tuner_fc2580.Plo mv -f .deps/rtl2832-tuner_e4k.Tpo .deps/rtl2832-tuner_e4k.Plo mv -f .deps/rtl2832-tuner_e4000.Tpo .deps/rtl2832-tuner_e4000.Plo mv -f .deps/baz_udp_source.Tpo .deps/baz_udp_source.Plo mv -f .deps/baz_udp_sink.Tpo .deps/baz_udp_sink.Plo mv -f .deps/baz_delay.Tpo .deps/baz_delay.Plo mv -f .deps/baz_puncture_bb.Tpo .deps/baz_puncture_bb.Plo mv -f .deps/baz_depuncture_ff.Tpo .deps/baz_depuncture_ff.Plo mv -f .deps/baz_rtl_source_c.Tpo .deps/baz_rtl_source_c.Plo /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libgnuradio-baz.la -rpath /usr/lib64 baz_print_char.lo baz_unpacked_to_packed_bb.lo baz_pow_cc.lo baz_delay.lo baz_puncture_bb.lo baz_depuncture_ff.lo baz_swap_ff.lo baz_agc_cc.lo baz_test_counter_cc.lo baz_rtl_source_c.lo rtl2832.lo rtl2832-tuner_e4000.lo rtl2832-tuner_fc0013.lo rtl2832-tuner_fc0012.lo rtl2832-tuner_fc2580.lo rtl2832-tuner_e4k.lo baz_udp_source.lo baz_udp_sink.lo -lusb-1.0 -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: x86_64-pc-linux-gnu-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtbeginS.o .libs/baz_print_char.o .libs/baz_unpacked_to_packed_bb.o .libs/baz_pow_cc.o .libs/baz_delay.o .libs/baz_puncture_bb.o .libs/baz_depuncture_ff.o .libs/baz_swap_ff.o .libs/baz_agc_cc.o .libs/baz_test_counter_cc.o .libs/baz_rtl_source_c.o .libs/rtl2832.o .libs/rtl2832-tuner_e4000.o .libs/rtl2832-tuner_fc0013.o .libs/rtl2832-tuner_fc0012.o .libs/rtl2832-tuner_fc2580.o .libs/rtl2832-tuner_e4k.o .libs/baz_udp_source.o .libs/baz_udp_sink.o -Wl,--as-needed -lusb-1.0 -lgnuradio-core -lgruel /usr/lib64/libfftw3f.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crtn.o -O2 -Wl,-O1 -Wl,--hash-style=gnu -fopenmp -Wl,-soname -Wl,libgnuradio-baz.so.0 -o .libs/libgnuradio-baz.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libgnuradio-baz.so.0" && ln -s "libgnuradio-baz.so.0.0.0" "libgnuradio-baz.so.0") libtool: link: (cd ".libs" && rm -f "libgnuradio-baz.so" && ln -s "libgnuradio-baz.so.0.0.0" "libgnuradio-baz.so") libtool: link: ( cd ".libs" && rm -f "libgnuradio-baz.la" && ln -s "../libgnuradio-baz.la" "libgnuradio-baz.la" ) /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -version-info 0:0:0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libgnuradio-baz-qa.la qa_baz.lo libgnuradio-baz.la -lcppunit -ldl -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: warning:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/libfftw3f.la' seems to be moved
libtool: link: warning:-version-info/-version-number' is ignored for convenience libraries libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libgnuradio-baz-qa.a .libs/qa_baz.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libgnuradio-baz-qa.a libtool: link: ( cd ".libs" && rm -f "libgnuradio-baz-qa.la" && ln -s "../libgnuradio-baz-qa.la" "libgnuradio-baz-qa.la" ) /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o test_all test_all.o libgnuradio-baz-qa.la -lgnuradio-core -lgruel -lfftw3f -lm libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -frecord-gcc-switches -Wl,-O1 -Wl,--hash-style=gnu -o .libs/test_all test_all.o -Wl,--as-needed ./.libs/libgnuradio-baz-qa.a /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib/.libs/libgnuradio-baz.so -lusb-1.0 -lcppunit -ldl -lgnuradio-core -lgruel /usr/lib64/libfftw3f.so -lm -fopenmp make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib'
Making all in swig
make[2]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig' make[2]: *** No rule to make target
baz.i', needed bybaz_swig.py'. Stop. make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/swig'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'
make: *** [all] Error 2
emerge --info '=net-wireless/gr-baz-9999'
,emerge -pqv '=net-wireless/gr-baz-9999'
.I'm using GNU Radio 3.7.9 from Debian Sid repos. Machine kernel is 4.2.0-1-amd64 #1 SMP Debian 4.2.5-1 (2015-10-27) x86_64.
I get a fully reproducible segmentation fault by following these steps:
This crash is not reproducible with any non-gr-baz blocks.
By running GDB on the core file, I get the following backtrace:
(gdb) bt
#0 0x0000000000055a66 in ?? ()
#1 0x00007fad2e9f28a0 in init_baz_swig () from /usr/local/lib/python2.7/dist-packages/baz/_baz_swig.so
#2 0x000000000051a701 in _PyImport_LoadDynamicModule ()
Since this segfault happens somewhere in init_baz_swig, I though this could be SWIG's fault, so I upgraded from version 3.0.7-2 to 30.0.10-1.1 and it was still crashing. Recompiling gr-baz didn't work either: it keeps failing in the sample place trying to jump (again) to 0x55a66:
(gdb) bt
#0 0x0000000000055a66 in ?? ()
#1 0x00007fb627cc68a0 in init_baz_swig () from /usr/local/lib/python2.7/dist-packages/baz/_baz_swig.so
#2 0x000000000051a701 in _PyImport_LoadDynamicModule ()
By inspecting the assembly around 0x00007fb627cc68a0 I get the following:
(gdb) x/20i $rip - 20
0x7fb627cc688c <init_baz_swig+44>: test %r15,%r15
0x7fb627cc688f <init_baz_swig+47>: je 0x7fb627cc68f8 <init_baz_swig+152>
0x7fb627cc6891 <init_baz_swig+49>: lea 0x7be26(%rip),%rsi # 0x7fb627d426be
0x7fb627cc6898 <init_baz_swig+56>: mov %r15,%rdi
0x7fb627cc689b <init_baz_swig+59>: callq 0x7fb627bbba60 <strstr@plt>
=> 0x7fb627cc68a0 <init_baz_swig+64>: test %rax,%rax
0x7fb627cc68a3 <init_baz_swig+67>: mov %rax,%r13
0x7fb627cc68a6 <init_baz_swig+70>: je 0x7fb627cc68f8 <init_baz_swig+152>
0x7fb627cc68a8 <init_baz_swig+72>: mov 0x3d2fb2(%rip),%edi # 0x7fb628099860 <swig_const_table>
0x7fb627cc68ae <init_baz_swig+78>: lea 0xa(%rax),%r14
0x7fb627cc68b2 <init_baz_swig+82>: test %edi,%edi
0x7fb627cc68b4 <init_baz_swig+84>: je 0x7fb627cc68f8 <init_baz_swig+152>
0x7fb627cc68ca <init_baz_swig+106>: mov 0x8(%rbx),%r12
Which means that somehow it failed to jump to strstr. Debugging the plt wrapper I get this:
(gdb) x/1i 'strstr@plt'
0x416f70 <strstr@plt>: jmpq *0x4cb5f2(%rip) # 0x8e2568 <[email protected]>
(gdb) x/2x 0x8e2568
0x8e2568 <[email protected]>: 0x76cbf260 0x00007fb6
(gdb) x/5i 0x00007fb676cbf260
0x7fb676cbf260 <__strstr_sse2_unaligned>: movzbl (%rsi),%eax
0x7fb676cbf263 <__strstr_sse2_unaligned+3>: test %al,%al
0x7fb676cbf265 <__strstr_sse2_unaligned+5>: je 0x7fb676cbf407 <__strstr_sse2_unaligned+423>
Which makes a lot of sense. However, this is surprising, because according to the assembly above, strstr@plt is at 0x7fb627cc68f8:
(gdb) x/20i 0x7fb627bbba60
0x7fb627bbba60 <strstr@plt>: jmpq *0x4c26c2(%rip) # 0x7fb62807e128
(gdb) x/2x 0x7fb62807e128
0x7fb62807e128: 0x00055a66 0x00000000
(gdb) x/20i 0x00055a66
0x55a66: Cannot access memory at address 0x55a66
So my conclusion is that something weird related to dynamic linking is going on. What I know so far is that this doesn't seem a Debian package issue - I compiled swig from source, recompiled gr-baz from scratch and I'm still getting the same segfault.
PS: I'm attaching a full backtrace too (crash with the latest swig version), including register information and loaded shared libraries: bt.zip
hello every one . I am Shiridinadh.v.s.s ,i am presently working on gnu radio . Can any one guide me in developing a mac layer for any licensed band ....
Hello.
I'm tried to install gr-baz but i run in to trouble.
I've installed gnu-radio and gnuradio-dev with apt-get.
Then i've cloned gr-baz and used:
sudo cmake -DCMAKE_PREFIX_PATH=/usr/lib/cmake/gnuradio
Everything went fine, but when i use:
sudo make
i'll get this error:
[ 2%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o
In file included from /usr/include/gnuradio/block.h:29:0,
from /usr/include/gnuradio/sync_block.h:27,
from /home/pi/gr-baz/lib/baz_print_char.h:31,
from /home/pi/gr-baz/lib/baz_print_char.cc:37:
/usr/include/gnuradio/logger.h:122:31: fatal error: log4cpp/Category.hh: No such file or directory
#include <log4cpp/Category.hh>
compilation terminated.
lib/CMakeFiles/gnuradio-baz.dir/build.make:62: recipe for target 'lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o] Error 1
CMakeFiles/Makefile2:117: recipe for target 'lib/CMakeFiles/gnuradio-baz.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
So I would really apreciat a little help.
What is it that I missed?
I've been trying to build gr-baz and I consistently get the same error time and time again.
Scanning dependencies of target baz_swig
[ 91%] Building CXX object swig/CMakeFiles/baz_swig.dir/baz_swigPYTHON_wrap.cxx.o
gr-baz/build/swig/baz_swigPYTHON_wrap.cxx:5754:90: error: cannot convert 'PySliceObject' to 'PyObject {aka object}' for argument '1' to 'int PySlice_GetIndices(PyObject_, Py_ssize_t, Py_ssize_t_, Py_ssize_t_, Py_ssize_t*)'
I did some checking and there were some suggestions that it's a Swig version conflict error but I've updated(and downgraded) my swig installation and I get the same results...but regardless the error reports were almost 4 years old and were for a much older version of swig.
Then I noticed that during the configure it'd detect python2 runtime but then detect python3 .so libraries so I tried forcing them to match libraries with the runtimes and still got the same results.
Any thoughts?
gcc 4.8.3
swig 3.0.2
gnuradio 3.7.5.1
python 2.7.8 and 3.4.2
I encountered some error w cmake as it complained about the cmakelist.txt reference to the next cmakelist.txt. I just renamed the CMakeLists-3.8.txt to CMakeLists.txt to workaround that one. Then the next popped up when that 3.8 txt file expects GNU radio v3.9 (line 78 "find_package(Gnuradio "3.9" REQUIRED)"). I just altered that to 3.8.
Rest seems to work fine.
Mine is a Kubuntu 18.04 LTS system.
All the best, Peter
Installed GNU Radio using pybombs (https://www.gnuradio.org/blog/pybombs-the-what-the-how-and-the-why). Added gr-baz among other packets (gr-satellite etc). Got auto-correlation etc working, all blocks except auto_fec.
Am I missing something or is the auto_fec broken? Is someone able to produce a working example for auto_fec?
Thanks in advance!
Traceback (most recent call last):
File "/home/XXXX/prefix/default/top_block.py", line 179, in
main()
File "/home/XXXX/prefix/default/top_block.py", line 173, in main
tb = top_block_cls()
File "/home/XXXX/prefix/default/top_block.py", line 91, in init
pre_lock_duration=0,
File "/home/XXXX/prefix/default/lib/python2.7/dist-packages/baz/auto_fec.py", line 466, in init
self.connect((self.gr_decode_ccsds_27_fb_0, 1), (self.gr_add_const_vxx_1, 0))
File "/home/XXXX/prefix/default/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 47, in wrapped
func(self, src, src_port, dst, dst_port)
File "/home/XXXX/prefix/default/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 110, in connect
self.primitive_connect(*args)
File "/home/XXXX/prefix/default/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 3555, in primitive_connect
return _runtime_swig.hier_block2_sptr_primitive_connect(self, *args)
This is as far as I have gotten https://github.com/GRMrGecko/gr-baz. I would like to talk with someone who is willing to help me get further into adding support for this device.
From /samples/op25.grc, a music file is referenced with a File Source block. The file is outside the scope of the repository so this causes an error. @balint256 could you please upload this file, or leave instruct ions on how to re-create it on my end? Thanks!
<param> <key>file</key> <value>/Users/balint/Music/BOR+10khz_P25_250000sps.cfile</value> </param>
Verify ME.
Unpacking source...
GIT update -->
repository: https://github.com/balint256/gr-baz.git
at the commit: 97465ff
branch: master
storage directory: "/usr/portage/distfiles/egit-src/gr-baz.git"
checkout type: bare repository
Cloning into '/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
Unpacked to /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999
Source unpacked in /var/tmp/portage/net-wireless/gr-baz-9999/work
Preparing source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
Source prepared.
Configuring source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
Source configured.
Compiling source in /var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999 ...
make -j32 -l32
make all-recursive
make[1]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999' Making all in config make[2]: Entering directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
make[2]: Nothing to be done forall'. make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/config'
Making all in lib
make[2]: Entering directory/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c -o baz_print_char.lo baz_print_char.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c -o baz_unpacked_to_packed_bb.lo baz_unpacked_to_packed_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c -o baz_pow_cc.lo baz_pow_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c -o baz_delay.lo baz_delay.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c -o baz_puncture_bb.lo baz_puncture_bb.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c -o baz_depuncture_ff.lo baz_depuncture_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c -o baz_swap_ff.lo baz_swap_ff.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c -o baz_agc_cc.lo baz_agc_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c -o baz_test_counter_cc.lo baz_test_counter_cc.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c -o baz_rtl_source_c.lo baz_rtl_source_c.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c -o rtl2832.lo rtl2832.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c -o rtl2832-tuner_e4000.lo rtl2832-tuner_e4000.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c -o rtl2832-tuner_fc0013.lo rtl2832-tuner_fc0013.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c -o rtl2832-tuner_fc0012.lo rtl2832-tuner_fc0012.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c -o rtl2832-tuner_fc2580.lo rtl2832-tuner_fc2580.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_r820t.lo -MD -MP -MF .deps/rtl2832-tuner_r820t.Tpo -c -o rtl2832-tuner_r820t.lo rtl2832-tuner_r820t.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c -o rtl2832-tuner_e4k.lo rtl2832-tuner_e4k.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c -o baz_udp_source.lo baz_udp_source.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c -o baz_udp_sink.lo baz_udp_sink.cc /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c -o qa_baz.lo qa_baz.cc x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT test_all.o -MD -MP -MF .deps/test_all.Tpo -c -o test_all.o test_all.cc libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c baz_delay.cc -fPIC -DPIC -o .libs/baz_delay.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_unpacked_to_packed_bb.lo -MD -MP -MF .deps/baz_unpacked_to_packed_bb.Tpo -c baz_unpacked_to_packed_bb.cc -fPIC -DPIC -o .libs/baz_unpacked_to_packed_bb.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_pow_cc.lo -MD -MP -MF .deps/baz_pow_cc.Tpo -c baz_pow_cc.cc -fPIC -DPIC -o .libs/baz_pow_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_print_char.lo -MD -MP -MF .deps/baz_print_char.Tpo -c baz_print_char.cc -fPIC -DPIC -o .libs/baz_print_char.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_swap_ff.lo -MD -MP -MF .deps/baz_swap_ff.Tpo -c baz_swap_ff.cc -fPIC -DPIC -o .libs/baz_swap_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_depuncture_ff.lo -MD -MP -MF .deps/baz_depuncture_ff.Tpo -c baz_depuncture_ff.cc -fPIC -DPIC -o .libs/baz_depuncture_ff.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4000.lo -MD -MP -MF .deps/rtl2832-tuner_e4000.Tpo -c rtl2832-tuner_e4000.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4000.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_e4k.lo -MD -MP -MF .deps/rtl2832-tuner_e4k.Tpo -c rtl2832-tuner_e4k.cc -fPIC -DPIC -o .libs/rtl2832-tuner_e4k.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_source.lo -MD -MP -MF .deps/baz_udp_source.Tpo -c baz_udp_source.cc -fPIC -DPIC -o .libs/baz_udp_source.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_test_counter_cc.lo -MD -MP -MF .deps/baz_test_counter_cc.Tpo -c baz_test_counter_cc.cc -fPIC -DPIC -o .libs/baz_test_counter_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_rtl_source_c.lo -MD -MP -MF .deps/baz_rtl_source_c.Tpo -c baz_rtl_source_c.cc -fPIC -DPIC -o .libs/baz_rtl_source_c.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0013.lo -MD -MP -MF .deps/rtl2832-tuner_fc0013.Tpo -c rtl2832-tuner_fc0013.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0013.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_udp_sink.lo -MD -MP -MF .deps/baz_udp_sink.Tpo -c baz_udp_sink.cc -fPIC -DPIC -o .libs/baz_udp_sink.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_puncture_bb.lo -MD -MP -MF .deps/baz_puncture_bb.Tpo -c baz_puncture_bb.cc -fPIC -DPIC -o .libs/baz_puncture_bb.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT baz_agc_cc.lo -MD -MP -MF .deps/baz_agc_cc.Tpo -c baz_agc_cc.cc -fPIC -DPIC -o .libs/baz_agc_cc.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc2580.lo -MD -MP -MF .deps/rtl2832-tuner_fc2580.Tpo -c rtl2832-tuner_fc2580.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc2580.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832.lo -MD -MP -MF .deps/rtl2832.Tpo -c rtl2832.cc -fPIC -DPIC -o .libs/rtl2832.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_r820t.lo -MD -MP -MF .deps/rtl2832-tuner_r820t.Tpo -c rtl2832-tuner_r820t.cc -fPIC -DPIC -o .libs/rtl2832-tuner_r820t.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT qa_baz.lo -MD -MP -MF .deps/qa_baz.Tpo -c qa_baz.cc -fPIC -DPIC -o .libs/qa_baz.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/gruel/swig -I/usr/include/python2.7 -I/usr/include/gnuradio -O2 -pipe -frecord-gcc-switches -MT rtl2832-tuner_fc0012.lo -MD -MP -MF .deps/rtl2832-tuner_fc0012.Tpo -c rtl2832-tuner_fc0012.cc -fPIC -DPIC -o .libs/rtl2832-tuner_fc0012.o mv -f .deps/test_all.Tpo .deps/test_all.Po rtl2832-tuner_r820t.cc:27:0: warning: "VERSION" redefined [enabled by default] ../config.h:181:0: note: this is the location of the previous definition mv -f .deps/qa_baz.Tpo .deps/qa_baz.Plo mv -f .deps/rtl2832-tuner_fc0013.Tpo .deps/rtl2832-tuner_fc0013.Plo mv -f .deps/rtl2832-tuner_fc0012.Tpo .deps/rtl2832-tuner_fc0012.Plo mv -f .deps/rtl2832-tuner_e4k.Tpo .deps/rtl2832-tuner_e4k.Plo mv -f .deps/rtl2832-tuner_fc2580.Tpo .deps/rtl2832-tuner_fc2580.Plo mv -f .deps/rtl2832.Tpo .deps/rtl2832.Plo mv -f .deps/rtl2832-tuner_r820t.Tpo .deps/rtl2832-tuner_r820t.Plo mv -f .deps/rtl2832-tuner_e4000.Tpo .deps/rtl2832-tuner_e4000.Plo In file included from baz_swap_ff.cc:37:0: ./baz_swap_ff.h:33:15: error: aggregate 'BAZ_API baz_swap_ff' has incomplete type and cannot be defined ./baz_swap_ff.h:46:38: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_swap_ff.h:46:38: error: expected a type, got 'baz_swap_ff' ./baz_swap_ff.h:46:56: error: invalid type in declaration before ';' token ./baz_swap_ff.h:55:26: error: expected initializer before 'baz_make_swap_ff' ./baz_swap_ff.h:63:27: error: expected initializer before ':' token baz_swap_ff.cc: In function 'baz_swap_ff_sptr baz_make_swap_ff(bool)': baz_swap_ff.cc:47:51: error: cast from 'int*' to 'baz_swap_ff_sptr {aka int}' loses precision [-fpermissive] baz_swap_ff.cc:47:27: error: expected primary-expression before '(' token baz_swap_ff.cc:47:32: error: expected type-specifier before 'baz_swap_ff' baz_swap_ff.cc:47:32: error: expected ')' before 'baz_swap_ff' baz_swap_ff.cc: At global scope: baz_swap_ff.cc:67:1: error: 'baz_swap_ff' does not name a type baz_swap_ff.cc:79:1: error: 'baz_swap_ff' does not name a type baz_swap_ff.cc:84:6: error: 'baz_swap_ff' is not a class or namespace baz_swap_ff.cc: In function 'void set_swap(bool)': baz_swap_ff.cc:86:3: error: 'm_bSwap' was not declared in this scope baz_swap_ff.cc: At global scope: baz_swap_ff.cc:90:1: error: 'baz_swap_ff' is not a class or namespace baz_swap_ff.cc: In function 'int work(int, gr_vector_const_void_star&, gr_vector_void_star&)': baz_swap_ff.cc:100:6: error: 'm_bSwap' was not declared in this scope In file included from baz_udp_source.cc:27:0: ./baz_udp_source.h:55:15: error: aggregate 'BAZ_API baz_udp_source' has incomplete type and cannot be defined ./baz_udp_source.h:56:42: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_udp_source.h:56:42: error: expected a type, got 'baz_udp_source' ./baz_udp_source.h:56:59: error: invalid type in declaration before ';' token ./baz_udp_source.h:58:25: error: expected initializer before 'baz_make_udp_source' ./baz_udp_source.h:81:31: error: expected initializer before ':' token baz_udp_source.cc:68:19: error: expected declaration before end of line In file included from baz_pow_cc.cc:37:0: ./baz_pow_cc.h:33:15: error: aggregate 'BAZ_API baz_pow_cc' has incomplete type and cannot be defined ./baz_pow_cc.h:46:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_pow_cc.h:46:37: error: expected a type, got 'baz_pow_cc' ./baz_pow_cc.h:46:54: error: invalid type in declaration before ';' token ./baz_pow_cc.h:55:25: error: expected initializer before 'baz_make_pow_cc' ./baz_pow_cc.h:63:26: error: expected initializer before ':' token In file included from baz_udp_sink.cc:27:0: ./baz_udp_sink.h:52:15: error: aggregate 'BAZ_API baz_udp_sink' has incomplete type and cannot be defined ./baz_udp_sink.h:53:40: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_udp_sink.h:53:40: error: expected a type, got 'baz_udp_sink' ./baz_udp_sink.h:53:55: error: invalid type in declaration before ';' token ./baz_udp_sink.h:56:1: error: expected initializer before 'baz_make_udp_sink' ./baz_udp_sink.h:73:29: error: expected initializer before ':' token baz_udp_sink.cc:63:19: error: expected declaration before end of line make[2]: *** [baz_swap_ff.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [baz_udp_source.lo] Error 1 In file included from baz_agc_cc.cc:32:0: ./baz_agc_cc.h:37:15: error: aggregate 'BAZ_API baz_agc_cc' has incomplete type and cannot be defined ./baz_agc_cc.h:38:37: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_agc_cc.h:38:37: error: expected a type, got 'baz_agc_cc' ./baz_agc_cc.h:38:54: error: invalid type in declaration before ';' token ./baz_agc_cc.h:41:1: error: expected initializer before 'baz_make_agc_cc' ./baz_agc_cc.h:49:26: error: expected initializer before ':' token make[2]: *** [baz_pow_cc.lo] Error 1 make[2]: *** [baz_udp_sink.lo] Error 1 In file included from baz_unpacked_to_packed_bb.cc:32:0: ./baz_unpacked_to_packed_bb.h:34:15: error: aggregate 'BAZ_API baz_unpacked_to_packed_bb' has incomplete type and cannot be defined ./baz_unpacked_to_packed_bb.h:35:52: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_unpacked_to_packed_bb.h:35:52: error: expected a type, got 'baz_unpacked_to_packed_bb' ./baz_unpacked_to_packed_bb.h:35:84: error: invalid type in declaration before ';' token ./baz_unpacked_to_packed_bb.h:38:1: error: expected initializer before 'baz_make_unpacked_to_packed_bb' In file included from baz_unpacked_to_packed_bb.cc:32:0: ./baz_unpacked_to_packed_bb.h:63:41: error: expected initializer before ':' token baz_agc_cc.cc: In function 'baz_agc_cc_sptr baz_make_agc_cc(float, float, float, float)': baz_agc_cc.cc:47:41: error: expected type-specifier before 'baz_agc_cc' baz_agc_cc.cc:47:41: error: expected ')' before 'baz_agc_cc' baz_agc_cc.cc:47:85: error: cannot convert 'boost::shared_ptr<int>' to 'baz_agc_cc_sptr {aka int}' in return baz_agc_cc.cc: At global scope: baz_agc_cc.cc:50:1: error: 'baz_agc_cc' does not name a type baz_agc_cc.cc:64:5: error: 'baz_agc_cc' is not a class or namespace baz_agc_cc.cc: In function 'int work(int, gr_vector_const_void_star&, gr_vector_void_star&)': baz_agc_cc.cc:72:48: error: '_count' was not declared in this scope baz_agc_cc.cc:80:7: error: '_env' was not declared in this scope baz_agc_cc.cc:82:7: error: '_env' was not declared in this scope baz_agc_cc.cc:82:29: error: '_rate' was not declared in this scope baz_agc_cc.cc:85:16: error: '_env' was not declared in this scope baz_agc_cc.cc:89:5: error: '_gain' was not declared in this scope baz_agc_cc.cc:89:13: error: '_reference' was not declared in this scope baz_agc_cc.cc:89:26: error: '_env' was not declared in this scope baz_agc_cc.cc:105:17: error: '_max_gain' was not declared in this scope baz_agc_cc.cc:106:153: error: '_rate' was not declared in this scope baz_agc_cc.cc:112:153: error: '_rate' was not declared in this scope baz_agc_cc.cc:122:21: error: '_rate' was not declared in this scope baz_agc_cc.cc:123:8: error: '_max_gain' was not declared in this scope In file included from /usr/include/gnuradio/gr_basic_block.h:28:0, from /usr/include/gnuradio/gr_block.h:27, from /usr/include/gnuradio/gr_sync_block.h:27, from ./baz_agc_cc.h:33, from baz_agc_cc.cc:32: /usr/include/gnuradio/gr_sptr_magic.h: In function 'boost::shared_ptr<T> gnuradio::get_initial_sptr(T*) [with T = int]': baz_agc_cc.cc:47:85: instantiated from here /usr/include/gnuradio/gr_sptr_magic.h:48:100: error: no matching function for call to 'gnuradio::detail::sptr_magic::fetch_initial_sptr(int*&)' /usr/include/gnuradio/gr_sptr_magic.h:48:100: note: candidate is: /usr/include/gnuradio/gr_sptr_magic.h:36:48: note: static boost::shared_ptr<gr_basic_block> gnuradio::detail::sptr_magic::fetch_initial_sptr(gr_basic_block*) /usr/include/gnuradio/gr_sptr_magic.h:36:48: note: no known conversion for argument 1 from 'int*' to 'gr_basic_block*' In file included from baz_delay.cc:32:0: ./baz_delay.h:34:15: error: aggregate 'BAZ_API baz_delay' has incomplete type and cannot be defined ./baz_delay.h:35:36: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_delay.h:35:36: error: expected a type, got 'baz_delay' ./baz_delay.h:35:52: error: invalid type in declaration before ';' token ./baz_delay.h:37:24: error: expected initializer before 'baz_make_delay' ./baz_delay.h:43:25: error: expected initializer before ':' token In file included from baz_test_counter_cc.cc:37:0: ./baz_test_counter_cc.h:33:15: error: aggregate 'BAZ_API baz_test_counter_cc' has incomplete type and cannot be defined ./baz_test_counter_cc.h:46:46: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_test_counter_cc.h:46:46: error: expected a type, got 'baz_test_counter_cc' ./baz_test_counter_cc.h:46:72: error: invalid type in declaration before ';' token ./baz_test_counter_cc.h:55:34: error: expected initializer before 'baz_make_test_counter_cc' ./baz_test_counter_cc.h:63:35: error: expected initializer before ':' token baz_test_counter_cc.cc: In function 'baz_test_counter_cc_sptr baz_make_test_counter_cc()': baz_test_counter_cc.cc:48:62: error: cast from 'int*' to 'baz_test_counter_cc_sptr {aka int}' loses precision [-fpermissive] baz_test_counter_cc.cc:48:35: error: expected primary-expression before '(' token baz_test_counter_cc.cc:48:40: error: expected type-specifier before 'baz_test_counter_cc' baz_test_counter_cc.cc:48:40: error: expected ')' before 'baz_test_counter_cc' baz_test_counter_cc.cc: At global scope: baz_test_counter_cc.cc:70:1: error: 'baz_test_counter_cc' does not name a type baz_test_counter_cc.cc:81:1: error: 'baz_test_counter_cc' does not name a type baz_test_counter_cc.cc:86:1: error: 'baz_test_counter_cc' is not a class or namespace baz_test_counter_cc.cc: In function 'int work(int, gr_vector_const_void_star&, gr_vector_void_star&)': baz_test_counter_cc.cc:100:13: error: 'd_counter' was not declared in this scope baz_test_counter_cc.cc:108:13: error: 'd_counter' was not declared in this scope In file included from baz_print_char.cc:37:0: ./baz_print_char.h:33:15: error: aggregate 'BAZ_API baz_print_char' has incomplete type and cannot be defined ./baz_print_char.h:38:41: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_print_char.h:38:41: error: expected a type, got 'baz_print_char' ./baz_print_char.h:38:62: error: invalid type in declaration before ';' token ./baz_print_char.h:47:29: error: expected initializer before 'baz_make_print_char' ./baz_print_char.h:55:30: error: expected initializer before ':' token In file included from baz_depuncture_ff.cc:37:0: ./baz_depuncture_ff.h:34:15: error: aggregate 'BAZ_API baz_depuncture_ff' has incomplete type and cannot be defined ./baz_depuncture_ff.h:47:44: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_depuncture_ff.h:47:44: error: expected a type, got 'baz_depuncture_ff' ./baz_depuncture_ff.h:47:68: error: invalid type in declaration before ';' token ./baz_depuncture_ff.h:56:32: error: expected initializer before 'baz_make_depuncture_ff' ./baz_depuncture_ff.h:64:33: error: expected initializer before ':' token baz_print_char.cc:41:29: error: expected initializer before 'baz_make_print_char' baz_print_char.cc:54:1: error: 'baz_print_char' does not name a type baz_print_char.cc:71:1: error: 'baz_print_char' does not name a type baz_print_char.cc:80:5: error: 'baz_print_char' is not a class or namespace baz_depuncture_ff.cc: In function 'baz_depuncture_ff_sptr baz_make_depuncture_ff(const std::vector<int>&)': baz_depuncture_ff.cc:48:64: error: cast from 'int*' to 'baz_depuncture_ff_sptr {aka int}' loses precision [-fpermissive] baz_depuncture_ff.cc:48:33: error: expected primary-expression before '(' token baz_depuncture_ff.cc:48:38: error: expected type-specifier before 'baz_depuncture_ff' baz_depuncture_ff.cc:48:38: error: expected ')' before 'baz_depuncture_ff' baz_depuncture_ff.cc: At global scope: baz_depuncture_ff.cc:68:1: error: 'baz_depuncture_ff' does not name a type baz_depuncture_ff.cc:82:1: error: 'baz_depuncture_ff' does not name a type baz_depuncture_ff.cc:87:6: error: 'baz_depuncture_ff' is not a class or namespace baz_depuncture_ff.cc: In function 'void forecast(int, gr_vector_int&)': baz_depuncture_ff.cc:90:58: error: cannot call member function 'virtual void gr_block::forecast(int, gr_vector_int&)' without object baz_depuncture_ff.cc: At global scope: baz_depuncture_ff.cc:93:6: error: 'baz_depuncture_ff' is not a class or namespace baz_depuncture_ff.cc: In function 'void set_matrix(const std::vector<int>&)': baz_depuncture_ff.cc:98:35: error: 'd_mutex' was not declared in this scope baz_depuncture_ff.cc:100:7: error: 'm_pMatrix' was not declared in this scope baz_depuncture_ff.cc:101:12: error: type '<type error>' argument given to 'delete', expected pointer baz_depuncture_ff.cc:103:3: error: 'm_iLength' was not declared in this scope baz_depuncture_ff.cc:104:3: error: 'm_pMatrix' was not declared in this scope baz_depuncture_ff.cc:114:26: error: 'set_relative_rate' was not declared in this scope baz_depuncture_ff.cc:117:3: error: 'm_iIndex' was not declared in this scope baz_depuncture_ff.cc: At global scope: baz_depuncture_ff.cc:121:1: error: 'baz_depuncture_ff' is not a class or namespace baz_print_char.cc: In function 'int work(int, gr_vector_const_void_star&, gr_vector_void_star&)': baz_print_char.cc:91:40: error: 'd_threshold' was not declared in this scope baz_print_char.cc:93:8: error: 'd_length' was not declared in this scope baz_print_char.cc:95:7: error: 'd_file' was not declared in this scope baz_print_char.cc:109:7: error: 'd_limit' was not declared in this scope baz_print_char.cc:109:26: error: 'd_length' was not declared in this scope baz_print_char.cc:111:8: error: 'd_file' was not declared in this scope baz_print_char.cc:122:8: error: 'd_file' was not declared in this scope baz_print_char.cc:128:4: error: 'd_length' was not declared in this scope baz_depuncture_ff.cc: In function 'int general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)': baz_depuncture_ff.cc:129:35: error: 'd_mutex' was not declared in this scope baz_depuncture_ff.cc:134:12: error: 'm_pMatrix' was not declared in this scope baz_depuncture_ff.cc:134:34: error: 'm_iIndex' was not declared in this scope baz_depuncture_ff.cc:142:30: error: 'm_iLength' was not declared in this scope baz_depuncture_ff.cc:146:20: error: 'consume_each' was not declared in this scope In file included from baz_puncture_bb.cc:37:0: ./baz_puncture_bb.h:34:15: error: aggregate 'BAZ_API baz_puncture_bb' has incomplete type and cannot be defined ./baz_puncture_bb.h:47:42: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_puncture_bb.h:47:42: error: expected a type, got 'baz_puncture_bb' ./baz_puncture_bb.h:47:64: error: invalid type in declaration before ';' token ./baz_puncture_bb.h:56:30: error: expected initializer before 'baz_make_puncture_bb' ./baz_puncture_bb.h:64:31: error: expected initializer before ':' token baz_puncture_bb.cc: In function 'baz_puncture_bb_sptr baz_make_puncture_bb(const std::vector<int>&)': baz_puncture_bb.cc:48:60: error: cast from 'int*' to 'baz_puncture_bb_sptr {aka int}' loses precision [-fpermissive] baz_puncture_bb.cc:48:31: error: expected primary-expression before '(' token baz_puncture_bb.cc:48:36: error: expected type-specifier before 'baz_puncture_bb' baz_puncture_bb.cc:48:36: error: expected ')' before 'baz_puncture_bb' baz_puncture_bb.cc: At global scope: baz_puncture_bb.cc:68:1: error: 'baz_puncture_bb' does not name a type baz_puncture_bb.cc:82:1: error: 'baz_puncture_bb' does not name a type baz_puncture_bb.cc:87:6: error: 'baz_puncture_bb' is not a class or namespace baz_puncture_bb.cc: In function 'void forecast(int, gr_vector_int&)': baz_puncture_bb.cc:90:58: error: cannot call member function 'virtual void gr_block::forecast(int, gr_vector_int&)' without object baz_puncture_bb.cc: At global scope: baz_puncture_bb.cc:93:6: error: 'baz_puncture_bb' is not a class or namespace baz_puncture_bb.cc: In function 'void set_matrix(const std::vector<int>&)': baz_puncture_bb.cc:98:35: error: 'd_mutex' was not declared in this scope baz_puncture_bb.cc:100:7: error: 'm_pMatrix' was not declared in this scope baz_puncture_bb.cc:101:12: error: type '<type error>' argument given to 'delete', expected pointer baz_puncture_bb.cc:103:3: error: 'm_iLength' was not declared in this scope baz_puncture_bb.cc:104:3: error: 'm_pMatrix' was not declared in this scope baz_puncture_bb.cc:114:26: error: 'set_relative_rate' was not declared in this scope baz_puncture_bb.cc:117:3: error: 'm_iIndex' was not declared in this scope baz_puncture_bb.cc: At global scope: baz_puncture_bb.cc:121:1: error: 'baz_puncture_bb' is not a class or namespace baz_puncture_bb.cc: In function 'int general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)': baz_puncture_bb.cc:129:35: error: 'd_mutex' was not declared in this scope baz_puncture_bb.cc:134:12: error: 'm_pMatrix' was not declared in this scope baz_puncture_bb.cc:134:34: error: 'm_iIndex' was not declared in this scope baz_puncture_bb.cc:142:30: error: 'm_iLength' was not declared in this scope baz_puncture_bb.cc:145:30: error: 'consume_each' was not declared in this scope make[2]: *** [baz_unpacked_to_packed_bb.lo] Error 1 make[2]: *** [baz_agc_cc.lo] Error 1 make[2]: *** [baz_test_counter_cc.lo] Error 1 make[2]: *** [baz_print_char.lo] Error 1 In file included from baz_rtl_source_c.cc:37:0: ./baz_rtl_source_c.h:54:15: error: aggregate 'BAZ_API baz_rtl_source_c' has incomplete type and cannot be defined ./baz_rtl_source_c.h:55:43: error: type/value mismatch at argument 1 in template parameter list for 'template<class T> class boost::shared_ptr' ./baz_rtl_source_c.h:55:43: error: expected a type, got 'baz_rtl_source_c' ./baz_rtl_source_c.h:55:66: error: invalid type in declaration before ';' token ./baz_rtl_source_c.h:60:31: error: expected initializer before 'baz_make_rtl_source_c' ./baz_rtl_source_c.h:68:32: error: expected initializer before ':' token make[2]: *** [baz_delay.lo] Error 1 make[2]: *** [baz_depuncture_ff.lo] Error 1 make[2]: *** [baz_puncture_bb.lo] Error 1 make[2]: *** [baz_rtl_source_c.lo] Error 1 make[2]: Leaving directory
/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-wireless/gr-baz-9999/work/gr-baz-9999'
make: *** [all] Error 2
emerge --info '=net-wireless/gr-baz-9999'
,emerge -pqv '=net-wireless/gr-baz-9999'
.You're using old name for libzmq, it's now libzmq1
Actually don't see any point in naming the lib, libzmq-dev should be ok. Otherwise use -
libzmq1 libzmq-dev
The following happens on after compiling gnuradio and gr-baz via the official gnuradio builder script:
alain@alain-900:~$ python /usr/local/lib/python2.7/dist-packages/baz/borip_server.py -v
==> Starting TCP server on port: 28888
==> TCP server running on ('0.0.0.0', 28888) in thread: Thread-1
==> Connection from: ('10.0.0.2', 54064)
--> Creating device with hint: RTL tuner=e4k readlen=262144
[UDP Sink "udp_sink (1)"] Payload size: 1472
[UDP Sink "udp_sink (1)"] BorIP: enabled
[UDP Sink "udp_sink (1)"] Connected: 127.0.0.1:28888
RTL2832 Source block configuration:
Read length (bytes): 32768
Buffer enabled: yes
Buffer multiplier: 8
Buffer size (samples): 131072
Samples per read: 16384
Buffer level: 50.0%
Successfully initialised demod: "Hama nano"
Skipping auto-probe with custom tuner: "e4k"
Found RTL2832 device: Hama nano (tuner: Elonics E4K)
Sample rate range: 900001 - 3200000 Hz
Crystal frequency: 28800000 Hz
[e4k] Initialised (default bandwidth: 0 Hz)
Wait delay: 24.576 ms
--> Using GnuRadioDevice wrapper for <borip_RTL.borip_RTL object at 0x9c992ec>
!!> Restricting calculated payload size: 65536 to maximum: 65024
[UDP Sink "udp_sink (1)"] Payload size: 65024
--> Created device: <main.GnuRadioDevice instance at 0x9c9946c>
[UDP Sink "udp_sink (1)"] Connected: 10.0.0.2:28888
Wait delay: 24.576 ms
Wait delay: 24.576 ms
Capture threading starting: 0xb605d478
Short bulk read: given 64 bytes (expecting 32768)
libusb error: unknown return code [-99]
No longer running after packet notification - signalling EOF...
Capture threading aborting due to libusb error: 0xb605d478
It does not build for me unless I #include <stdio.h>
in /lib/baz_fractional_resampler_cc.cc
, because it can't resolve fprintf
.
I can't find where to remove this.
When using baudline with -quadrature flag -flipcomplex flag is required due to the way baudline reads I/Q data.
After installing the module, when loading GNU Radio Companion, a series of warnings are printed to the console:
Warning: restarting the docstring loader (crashed while loading 'baudline_sink')
Warning: restarting the docstring loader (crashed while loading 'baz_acars_decoder')
Warning: restarting the docstring loader (crashed while loading 'baz_acars_printer')
Warning: restarting the docstring loader (crashed while loading 'baz_additive_scrambler_bb')
Warning: restarting the docstring loader (crashed while loading 'baz_agc_xx')
Warning: docstring loader crashed too often
<<< Welcome to GNU Radio Companion 3.7.10.1 >>>
Block paths:
/Users/XXX/.grc_gnuradio
/opt/local/share/gnuradio/grc/blocks
Warning: restarting the docstring loader (crashed while loading 'auto_fec')
Warning: restarting the docstring loader (crashed while loading 'baz_block_status')
Warning: restarting the docstring loader (crashed while loading 'borip_sink')
Warning: restarting the docstring loader (crashed while loading 'borip_source')
Warning: restarting the docstring loader (crashed while loading 'baz_burst_tagger')
Warning: docstring loader crashed too often
from cmake:
-- No package 'uhd' found
-- UHD NOT found! NOT compiling UHD-aware blocks
-- Checking for module 'libusb-1.0'
-- Found libusb-1.0, version 1.0.20
-- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/i386-linux-gnu/libusb-1.0.so
-- libusb found - compiling RTL2832U source block
-- Could NOT find Armadillo (missing: ARMADILLO_LIBRARY ARMADILLO_INCLUDE_DIR)
-- Armadillo NOT found! NOT compiling MUSIC DOA estimator block
any help appriciated
chris
not sure what to do
I get the following warnings when compiling master branch pulled today on Fedora 20 x86_64:
[ 39%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_burster.cc.o
In file included from /usr/include/string.h:32:0,
from /usr/include/c++/4.8.3/cstring:42,
from /usr/include/boost/date_time/posix_time/conversion.hpp:12,
from /usr/include/boost/thread/xtime.hpp:16,
from /usr/include/boost/thread/pthread/mutex.hpp:17,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:13,
from /usr/include/boost/thread/thread_only.hpp:17,
from /usr/include/boost/thread/thread.hpp:12,
from /home/alex/Documents/gr-baz/lib/baz_burster.h:32,
from /home/alex/Documents/gr-baz/lib/baz_burster.cc:34:
/home/alex/Documents/gr-baz/lib/baz_burster.cc: In constructor ‘baz_burster::baz_burster(const baz_burster_config&)’:
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:57: warning: invalid access to non-static data member ‘baz_burster::d_dummy_zero_last’ of NULL object [-Winvalid-offsetof]
memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first));
^
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:57: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous union>::d_dummy_zero_first’ of NULL object [-Winvalid-offsetof]
memset(&d_dummy_zero_first, 0x00, offsetof(baz_burster,d_dummy_zero_last) - offsetof(baz_burster,d_dummy_zero_first));
^
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:99: warning: invalid access to non-static data member ‘baz_burster::<anonymous>’ of NULL object [-Winvalid-offsetof]
/home/alex/Documents/gr-baz/lib/baz_burster.cc:58:99: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof]
[ 41%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_radar_detector.cc.o
root@artifex:/opt/gr-baz# make
make all-recursive
make[1]: Entering directory /opt/gr-baz' Making all in config make[2]: Entering directory
/opt/gr-baz/config'
make[2]: Nothing to be done for all'. make[2]: Leaving directory
/opt/gr-baz/config'
Making all in lib
make[2]: Entering directory /opt/gr-baz/lib' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/gr-baz/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/python2.7 -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -g -O2 -g -O2 -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c -o baz_delay.lo baz_delay.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/gr-baz/include -I/usr/include/gnuradio -I/usr/include/gnuradio/swig -I/usr/include/python2.7 -DOMNITHREAD_POSIX=1 -I/usr/include/gnuradio -g -O2 -g -O2 -MT baz_delay.lo -MD -MP -MF .deps/baz_delay.Tpo -c baz_delay.cc -fPIC -DPIC -o .libs/baz_delay.o In file included from baz_delay.cc:32:0: ./baz_delay.h:32:26: fatal error: gruel/thread.h: No such file or directory compilation terminated. make[2]: *** [baz_delay.lo] Error 1 make[2]: Leaving directory
/opt/gr-baz/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gr-baz'
make: *** [all] Error 2
root@artifex:/opt/gr-baz# dpkg -l libgruel-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libgruel-dev 3.2.2.dfsg-1ub GNU Radio Utility Etcetera Library
root@artifex:/opt/gr-baz#
Hi, can someone guide me how to make a grc that uses MUSIC for direction finding?
Thank you
Hi, first of all congratulations for your amazing project.
My question is quite simply, some .py blocks have not .xml file so they haven'r grc block. Is tx_time a gr block which i can use to obtain timestamp of some signal? If the answer is affirmative, why can i do that?. There are others .py files which i thinks that they are gr block without grc block, can i create the .xml file and deploy in my own grc flowgraph (e.g. correlator.py)
Thanks so much for your time and congratulations for your YouTube Video-tutorials.
I am using the latest gnuradio from source v3.7.4git-0-g69dcaa75.
I get the following error
File "/usr/local/lib/python2.7/dist-packages/baz/auto_fec.py", line 392, in init
self.gr_conjugate_cc_0 = gr.conjugate_cc()
AttributeError: 'module' object has no attribute 'conjugate_cc'
I also believe some of the tutorial under samples/tutorial may still use old block names also.
Can't find the boost library, except telling us that its missing and not giving us any idea as to what its looking for or how to resolve the issue.
I'm having a issue while trying to compile on a Fedora 15 system against GNU Radio Release 3.3git-ac8a8971.
I'm getting the following error
make[2]: Entering directory /home/user/Downloads/gr-baz/lib' /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -g -O2 -o test_all test_all.o libgnuradio-baz-qa.la /usr/local/include/gnuradio libtool: link: g++ -g -O2 -g -O2 -o .libs/test_all test_all.o /usr/local/include/gnuradio ./.libs/libgnuradio-baz-qa.a /home/user/Downloads/gr-baz/lib/.libs/libgnuradio-baz.so -lusb-1.0 -lcppunit -ldl /usr/local/include/gnuradio: file not recognized: Is a directory collect2: ld returned 1 exit status make[2]: *** [test_all] Error 1 make[2]: Leaving directory
/home/user/Downloads/gr-baz/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/Downloads/gr-baz'
make: *** [all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.