Skip to content

qa_fixedlen_to_pdu freezes under GNU Radio 3.10.1.1 #776

@DL7NDR

Description

@DL7NDR

[ 10%] Building CXX object lib/CMakeFiles/gnuradio-satellites.dir/fixedlen_to_pdu_impl.cc.o
In file included from /home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:11:
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.h:34:16: error: ‘optional’ in namespace ‘std’ does not name a template type
34 | const std::optionalpmt::pmt_t d_packet_length_tag;
| ^~~~~~~~
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.h:34:11: note: ‘std::optional’ is only available from C++17 onwards
34 | const std::optionalpmt::pmt_t d_packet_length_tag;
| ^~~
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc: In constructor ‘gr::satellites::fixedlen_to_pdu_impl::fixedlen_to_pdu_impl(gr::types::vector_type, const string&, size_t, bool, const string&)’:
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:42:7: error: class ‘gr::satellites::fixedlen_to_pdu_impl’ does not have any field named ‘d_packet_length_tag’
42 | d_packet_length_tag(packet_length_tag_key.empty()
| ^~~~~~~~~~~~~~~~~~~
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:43:38: error: ‘nullopt’ is not a member of ‘std’
43 | ? std::nullopt
| ^~~~~~~
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:44:38: error: ‘optional’ is not a member of ‘std’
44 | : std::optional(pmt::mp(packet_length_tag_key))),
| ^~~~~~~~
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:44:38: note: ‘std::optional’ is only available from C++17 onwards
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc: In member function ‘virtual int gr::satellites::fixedlen_to_pdu_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/user/gr-satellites-main/lib/fixedlen_to_pdu_impl.cc:71:13: error: ‘d_packet_length_tag’ was not declared in this scope
71 | if (d_packet_length_tag.has_value()) {
| ^~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/CMakeFiles/gnuradio-satellites.dir/build.make:244: lib/CMakeFiles/gnuradio-satellites.dir/fixedlen_to_pdu_impl.cc.o] error 1
make[1]: *** [CMakeFiles/Makefile2:682: lib/CMakeFiles/gnuradio-satellites.dir/all] error 2
make: *** [Makefile:146: all] error 2

On Lubuntu Kernel 6.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions