Hello,
I was trying to run some flow graphs from gr-ieee802-11 examples. When I
opened them at the first time , there were some missing blocks like WIFI
Phy Hier and foo_packet_pad. I got the first one fixed. For the second
one I read that we need to install gr-foo to make it work. I followed
these steps:
git clone GitHub - bastibl/gr-foo: Some GNU Radio blocks that I use.
cd gr-foo
mkdir build
cd build
cmake …
make
sudo make install
sudo ldconfig
but when I run the command make, this error pops up:
/home/comlab/pybombs/src/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/comlab/pybombs/src/gr-foo/lib/wireshark_connector_impl.cc:165:57:
error: no matching function for call to
‘gr::foo::wireshark_connector_impl::delete_head_blocking(pmt::pmt_t,
int)’
pmt::pmt_t msg(delete_head_blocking(pmt::mp(“in”), 100));
^
/home/comlab/pybombs/src/gr-foo/lib/wireshark_connector_impl.cc:165:57:
note: candidate is:
In file included from /usr/local/target/include/gnuradio/block.h:27:0,
from
/home/comlab/pybombs/src/gr-foo/include/foo/wireshark_connector.h:21,
from
/home/comlab/pybombs/src/gr-foo/lib/wireshark_connector_impl.h:20,
from
/home/comlab/pybombs/src/gr-foo/lib/wireshark_connector_impl.cc:17:
/usr/local/target/include/gnuradio/basic_block.h:259:16: note:
pmt::pmt_t gr::basic_block::delete_head_blocking(pmt::pmt_t)
pmt::pmt_t delete_head_blocking( pmt::pmt_t which_port);
^
/usr/local/target/include/gnuradio/basic_block.h:259:16: note:
candidate expects 1 argument, 2 provided
make[2]: ***
[lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Error 2
make: *** [all] Error 2
Could anyone tell me why is this happening?