I'm trying to build and install GR and gr-ieee802.11 from the git repos, as I know that I'll be wanting to examine and possibly single-step & instrument the underlying code for my project. This is on Ubuntu 18.04.
In the directories for both, I get:
ayank@ubuntu:~/Documents/SDR/gnuradio$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
GR compiles and installs just fine to /opt.
With gr-ieee802.1, I get the following error when I make:
[ 34%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o
/home/ayank/Documents/SDR/gr-foo/lib/wireshark_connector_impl.cc: In member function 'virtual int gr::foo::wireshark_connector_impl::general_work(int, gr_vector_int&, gr_vector_const_void_star&, gr_vector_void_star&)':
/home/ayank/Documents/SDR/gr-foo/lib/wireshark_connector_impl.cc:185:18: error: 'delete_head_blocking' was not declared in this scope
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in"), 100));
^~~~~~~~~~~~~~~~~~~~
/home/ayank/Documents/SDR/gr-foo/lib/wireshark_connector_impl.cc:185:18: note: suggested alternative: 'delete_head_nowait'
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in"), 100));
^~~~~~~~~~~~~~~~~~~~
delete_head_nowait
lib/CMakeFiles/gnuradio-foo.dir/build.make:230: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
/home/ayank/Documents/SDR/gr-foo/lib/wireshark_connector_impl.cc:185:18: error: 'delete_head_blocking' was not declared in this scope
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in"), 100));
^~~~~~~~~~~~~~~~~~~~
/home/ayank/Documents/SDR/gr-foo/lib/wireshark_connector_impl.cc:185:18: note: suggested alternative: 'delete_head_nowait'
pmt::pmt_t msg(delete_head_blocking(pmt::mp("in"), 100));
^~~~~~~~~~~~~~~~~~~~
delete_head_nowait
lib/CMakeFiles/gnuradio-foo.dir/build.make:230: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
I have the wireshark-dev deb installed on my system. Maybe there's something else I need?
No comments:
Post a Comment