We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have been trying to install gr-LoRa block.
OS: Ubuntu 20.04.6 LTS GNU Radio: GNU Radio Companion 3.7.13.4
Pls help me troubleshoot this
I am getting the following errors after running the make cmd.
test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:/Documents/gr-lora-rpp/build$ make [ 3%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/decoder_impl.cc.o /home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc: In member function ‘float gr::lora::decoder_impl::sliding_norm_cross_correlate_upchirp(const float*, uint32_t, int32_t*)’: /home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:422:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 422 | if (test==0) std::cout<<"TS 17 start\n"; | ^ /home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:424:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 424 | float max_correlation = 0; | ^~~~~ /home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:435:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 435 | if (test==0) std::cout<<"TS 17 end\n"; | ^~ /home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:437:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 437 | return max_correlation; | ^~~~~~ [ 6%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/kill5_impl.cc.o In file included from /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:12: /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h: In constructor ‘gr::lora::kill5_impl::kill5_impl(float, uint32_t, uint8_t, bool, uint8_t, bool, bool, int, float)’: /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h:105:47: warning: ‘gr::lora::kill5_impl::d_pwr_queue’ will be initialized after [-Wreorder] 105 | boost::circular_buffer d_pwr_queue; ///< Queue holding symbol power values | ^~~~~~~~~~~ In file included from /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:12: /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h:58:41: warning: ‘gr::filter::kernel::fir_filter_ccf gr::lora::kill5_impl::d_test_f’ [-Wreorder] 58 | filter::kernel::fir_filter_ccf d_test_f; | ^~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:22:9: warning: when initialized here [-Wreorder] 22 | kill5_impl::kill5_impl(float samp_rate, uint32_t bandwidth, uint8_t sf, bool implicit, uint8_t cr, bool crc, bool reduced_rate, int level, float center_freq) | ^~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc: In member function ‘virtual int gr::lora::kill5_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’: /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:544:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 544 | for(int i = 0; i < pksi.size(); i++) | ~~^~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:488:9: warning: variable ‘maxbin’ set but not used [-Wunused-but-set-variable] 488 | int maxbin=0; | ^~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:516:11: warning: unused variable ‘avgg’ [-Wunused-variable] 516 | float avgg=summ/2048; | ^~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:565:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 565 | if (stp_p > (d_samples_per_second-1)) stp_p= stp_p - d_samples_per_second; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:611:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 611 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:614:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 614 | for(int k = 0; k < tpks.size(); k++) | ~~^~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:621:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 621 | if (k=tpks.size()-1) | ~^~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:630:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 630 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:638:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 638 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:646:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 646 | if (done_all==pksi_i.size()) | ~~~~~~~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:651:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 651 | if (stp_p > (d_samples_per_second-1)) stp_p= stp_p - d_samples_per_second; | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:577:8: warning: variable ‘maxbin’ set but not used [-Wunused-but-set-variable] 577 | int maxbin=0; | ^~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:662:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 662 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:679:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 679 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:694:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 694 | for(int i = 0; i < pksi_i.size(); i++) | ~~^~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:711:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 711 | for (int q=0;q<d_samples_per_symbol;q++) | ^~~~~~~~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:713:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare] 713 | if (present==d_samples_per_second) present=0; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:911:27: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 911 | if (d_words.size() == (xd + (is_first ? 4 : d_phdr.cr))) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:925:27: warning: comparison of integer expressions of different signedness: ‘const uint32_t’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 925 | if (bits_per_word > (2*xd)) { | ~~~~~~~~~~~~~~^~~~~~~~ [ 9%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_file_sink_impl.cc.o [ 12%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_socket_sink_impl.cc.o [ 15%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/channelizer_impl.cc.o [ 18%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/controller_impl.cc.o [ 21%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/debugger.cc.o [ 25%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_socket_source_impl.cc.o [ 28%] Linking CXX shared library libgnuradio-lora.so [ 28%] Built target gnuradio-lora Scanning dependencies of target test-lora [ 31%] Building CXX object lib/CMakeFiles/test-lora.dir/test_lora.cc.o /home/test8/Documents/gr-lora-rpp/lib/test_lora.cc: In function ‘int main(int, char**)’: /home/test8/Documents/gr-lora-rpp/lib/test_lora.cc:36:11: warning: unused parameter ‘argc’ [-Wunused-parameter] 36 | main (int argc, char **argv) | ~~~~^~~~ /home/test8/Documents/gr-lora-rpp/lib/test_lora.cc:36:24: warning: unused parameter ‘argv’ [-Wunused-parameter] 36 | main (int argc, char **argv) | ~~~~~~~^~~~ [ 34%] Building CXX object lib/CMakeFiles/test-lora.dir/qa_lora.cc.o [ 37%] Building CXX object lib/CMakeFiles/test-lora.dir/qa_message_socket_sink.cc.o [ 40%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:~/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:~/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to
boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:~/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to
Pls help me troubleshoot this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have been trying to install gr-LoRa block.
OS: Ubuntu 20.04.6 LTS
GNU Radio: GNU Radio Companion 3.7.13.4
Pls help me troubleshoot this
I am getting the following errors after running the make cmd.
test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:
/Documents/gr-lora-rpp/build$ make[ 3%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/decoder_impl.cc.o
/home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc: In member function ‘float gr::lora::decoder_impl::sliding_norm_cross_correlate_upchirp(const float*, uint32_t, int32_t*)’:
/home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:422:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
422 | if (test==0) std::cout<<"TS 17 start\n";
| ^
/home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:424:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
424 | float max_correlation = 0;
| ^~~~~
/home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:435:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
435 | if (test==0) std::cout<<"TS 17 end\n";
| ^~
/home/test8/Documents/gr-lora-rpp/lib/decoder_impl.cc:437:14: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
437 | return max_correlation;
| ^~~~~~
[ 6%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/kill5_impl.cc.o
In file included from /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:12:
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h: In constructor ‘gr::lora::kill5_impl::kill5_impl(float, uint32_t, uint8_t, bool, uint8_t, bool, bool, int, float)’:
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h:105:47: warning: ‘gr::lora::kill5_impl::d_pwr_queue’ will be initialized after [-Wreorder]
105 | boost::circular_buffer d_pwr_queue; ///< Queue holding symbol power values
| ^~~~~~~~~~~
In file included from /home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:12:
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.h:58:41: warning: ‘gr::filter::kernel::fir_filter_ccf gr::lora::kill5_impl::d_test_f’ [-Wreorder]
58 | filter::kernel::fir_filter_ccf d_test_f;
| ^~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:22:9: warning: when initialized here [-Wreorder]
22 | kill5_impl::kill5_impl(float samp_rate, uint32_t bandwidth, uint8_t sf, bool implicit, uint8_t cr, bool crc, bool reduced_rate, int level, float center_freq)
| ^~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc: In member function ‘virtual int gr::lora::kill5_impl::work(int, gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:544:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
544 | for(int i = 0; i < pksi.size(); i++)
| ~~^~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:488:9: warning: variable ‘maxbin’ set but not used [-Wunused-but-set-variable]
488 | int maxbin=0;
| ^~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:516:11: warning: unused variable ‘avgg’ [-Wunused-variable]
516 | float avgg=summ/2048;
| ^~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:565:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
565 | if (stp_p > (d_samples_per_second-1)) stp_p= stp_p - d_samples_per_second;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:611:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
611 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:614:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
614 | for(int k = 0; k < tpks.size(); k++)
| ~~^~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:621:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
621 | if (k=tpks.size()-1)
| ~^~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:630:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
630 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:638:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
638 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:646:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
646 | if (done_all==pksi_i.size())
| ~~~~~~~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:651:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
651 | if (stp_p > (d_samples_per_second-1)) stp_p= stp_p - d_samples_per_second;
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:577:8: warning: variable ‘maxbin’ set but not used [-Wunused-but-set-variable]
577 | int maxbin=0;
| ^~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:662:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
662 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:679:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
679 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:694:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
694 | for(int i = 0; i < pksi_i.size(); i++)
| ~~^~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:711:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
711 | for (int q=0;q<d_samples_per_symbol;q++)
|
^~~~~~~~~~~~~~~~~~~~~/Documents/gr-lora-rpp/build$ make/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:713:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
713 | if (present==d_samples_per_second) present=0;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:911:27: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
911 | if (d_words.size() == (xd + (is_first ? 4 : d_phdr.cr))) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/test8/Documents/gr-lora-rpp/lib/kill5_impl.cc:925:27: warning: comparison of integer expressions of different signedness: ‘const uint32_t’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare]
925 | if (bits_per_word > (2*xd)) {
| ~~~~~~~~~~~~~~^~~~~~~~
[ 9%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_file_sink_impl.cc.o
[ 12%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_socket_sink_impl.cc.o
[ 15%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/channelizer_impl.cc.o
[ 18%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/controller_impl.cc.o
[ 21%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/debugger.cc.o
[ 25%] Building CXX object lib/CMakeFiles/gnuradio-lora.dir/message_socket_source_impl.cc.o
[ 28%] Linking CXX shared library libgnuradio-lora.so
[ 28%] Built target gnuradio-lora
Scanning dependencies of target test-lora
[ 31%] Building CXX object lib/CMakeFiles/test-lora.dir/test_lora.cc.o
/home/test8/Documents/gr-lora-rpp/lib/test_lora.cc: In function ‘int main(int, char**)’:
/home/test8/Documents/gr-lora-rpp/lib/test_lora.cc:36:11: warning: unused parameter ‘argc’ [-Wunused-parameter]
36 | main (int argc, char **argv)
| ~~~~^~~~
/home/test8/Documents/gr-lora-rpp/lib/test_lora.cc:36:24: warning: unused parameter ‘argv’ [-Wunused-parameter]
36 | main (int argc, char **argv)
| ~~~~~~~^~~~
[ 34%] Building CXX object lib/CMakeFiles/test-lora.dir/qa_lora.cc.o
[ 37%] Building CXX object lib/CMakeFiles/test-lora.dir/qa_message_socket_sink.cc.o
[ 40%] Linking CXX executable test-lora
/usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to
boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:~/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to
boost::system::detail::generic_category_ncx()'collect2: error: ld returned 1 exit status
make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:
[ 28%] Built target gnuradio-lora
[ 31%] Linking CXX executable test-lora
/usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to
boost::system::detail::generic_category_ncx()' collect2: error: ld returned 1 exit status make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1 make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 test8@test8-Victus-by-HP-Gaming-Laptop-15-fa0xxx:~/Documents/gr-lora-rpp/build$ make [ 28%] Built target gnuradio-lora [ 31%] Linking CXX executable test-lora /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xc1): undefined reference to
boost::system::detail::generic_category_ncx()'/usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x151): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: CMakeFiles/test-lora.dir/test_lora.cc.o: in function
boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3f): undefined reference to
boost::system::detail::generic_category_ncx()' /usr/bin/ld: test_lora.cc:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x81): undefined reference to
boost::system::detail::generic_category_ncx()'collect2: error: ld returned 1 exit status
make[2]: *** [lib/CMakeFiles/test-lora.dir/build.make:126: lib/test-lora] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: lib/CMakeFiles/test-lora.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Pls help me troubleshoot this.
The text was updated successfully, but these errors were encountered: