Snort3-3.1.57.0 compilation problems.
Various emails via Snort-users <[email protected]>
| Newsgroups | gmane.comp.security.ids.snort.general |
|---|---|
| Message-ID | <[email protected]> |
Hello group, I am trying to update Snort 3 from version 3.1.43.0 to 3.1.57.0. During the compilation of the code I got the following error. How can I get around it? Thanks, Wojciech [ 8%] Building CXX object src/detection/CMakeFiles/detection.dir/pcrm.cc.o In file included from /usr/include/c++/11/algorithm:62, from /tmp/snort3-3.1.57.0/src/main/policy.h:35, from /tmp/snort3-3.1.57.0/src/main/snort_config.h:37, from /tmp/snort3-3.1.57.0/src/flow/flow_stash.h:29, from /tmp/snort3-3.1.57.0/src/flow/flow.h:38, from /tmp/snort3-3.1.57.0/src/protocols/packet.h:25, from /tmp/snort3-3.1.57.0/src/detection/pcrm.h:33, from /tmp/snort3-3.1.57.0/src/detection/pcrm.cc:38: /usr/include/c++/11/bits/stl_algo.h: In function ‘_BidirectionalIterator std::_V2::__rotate(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, std::bidirectional_iterator_tag)’: /usr/include/c++/11/bits/stl_algo.h:1289:46: error: ‘bidirectional_it’ was not declared in this scope 1289 | std::__reverse(__first, __middle, bidirectional_iterator_tag()); | ^~~~~~~~~~~~~~~~ /usr/include/c++/11/bits/stl_algo.h:1289:63: error: there are no arguments to ‘rator_tag’ that depend on a template parameter, so a declaration of ‘rator_tag’ must be available [-fpermissive] 1289 | std::__reverse(__first, __middle, bidirectional_iterator_tag()); | ^~~~~~~~~ /usr/include/c++/11/bits/stl_algo.h:1289:63: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) make[2]: *** [src/detection/CMakeFiles/detection.dir/build.make:272: src/detection/CMakeFiles/detection.dir/pcrm.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2969: src/detection/CMakeFiles/detection.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 _______________________________________________ Snort-users mailing list [email protected] Go to this URL to change user options or unsubscribe: https://lists.snort.org/mailman/listinfo/snort-users To unsubscribe, send an email to: [email protected] Please visit http://blog.snort.org to stay current on all the latest Snort news! Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette