[Bro] problems compiling bro 25 master on centos 6

philosnef philosnef at yahoo.com
Tue Sep 20 04:55:53 PDT 2016


See the following cmake error. I have run --disable-auxtools and --disable-broccoli. Not exact sure where this is breaking.
---/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:57:14: error:       rvalue reference to type 'typename std::remove_reference<BuiltinFuncArg      *&>::type' (aka 'BuiltinFuncArg *') cannot bind to lvalue of type      'BuiltinFuncArg *'    { return __t; }             ^~~/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:747:27: note:       in instantiation of function template specialization      'std::move<BuiltinFuncArg *&>' requested here      { emplace_back(std::move(__x)); }                          ^builtin-func.y:611:12: note: in instantiation of member function      'std::vector<BuiltinFuncArg *, std::allocator<BuiltinFuncArg *>      >::push_back' requested here    { args.push_back(new BuiltinFuncArg((yyvsp[(1) - (5)].str), (yyvsp[(...           ^In file included from builtin-func.y:2:In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/vector:69:/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:96:9: error:       no matching function for call to 'forward'                                    std::forward<_Args>(__args)...);                                    ^~~~~~~~~~~~~~~~~~~/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:747:9: note:       in instantiation of function template specialization      'std::vector<BuiltinFuncArg *, std::allocator<BuiltinFuncArg *>      >::emplace_back<BuiltinFuncArg *>' requested here      { emplace_back(std::move(__x)); }        ^builtin-func.y:611:12: note: in instantiation of member function      'std::vector<BuiltinFuncArg *, std::allocator<BuiltinFuncArg *>      >::push_back' requested here    { args.push_back(new BuiltinFuncArg((yyvsp[(1) - (5)].str), (yyvsp[(...           ^/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:51:5: note:       candidate function [with _Tp = BuiltinFuncArg *] not viable: no known      conversion from 'BuiltinFuncArg *' to 'typename      std::identity<BuiltinFuncArg *>::type &&' (aka 'BuiltinFuncArg *&&') for      1st argument    forward(typename std::identity<_Tp>::type&& __t)    ^2 errors generated.make[3]: *** [src/CMakeFiles/bifcl.dir/bif_parse.cc.o] Error 1make[3]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'make[2]: *** [src/CMakeFiles/bifcl.dir/all] Error 2make[2]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'make[1]: *** [all] Error 2make[1]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'make: *** [all] Error 2---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20160920/d7d842e8/attachment-0001.html 


More information about the Bro mailing list