[Bro] problems compiling bro 25 master on centos 6
Seth Hall
seth at icir.org
Wed Sep 21 07:56:08 PDT 2016
Is this on RedHat or CentOS 6.x? I'm not sure if anyone has tried building on those.
.Seth
> On Sep 20, 2016, at 7:55 AM, philosnef <philosnef at yahoo.com> wrote:
>
> 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 1
> make[3]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'
> make[2]: *** [src/CMakeFiles/bifcl.dir/all] Error 2
> make[2]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/src/bro_25_master/direct_dl/bro-2.5-beta.master/build'
> make: *** [all] Error 2
> ---
>
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro
--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro.org/
More information about the Bro
mailing list