[Bro-Dev] error compiling master

Aashish Sharma asharma at lbl.gov
Tue Jul 10 16:10:41 PDT 2018


Jon, 

> you have an old version of CAF (AKA actor-framework or libcaf)

Yes, that was the issue. I didn't realize I already had caf on this from Jan
2017. Thank you. 

root at box:# pkg info |fgrep caf
caf-0.15.3                     C++ actor framework

Removing this, lets me build bro now. 

Thanks for the pointer. 

Aashish 

On Tue, Jul 10, 2018 at 06:02:51PM -0500, Jon Siwek wrote:
> On Tue, Jul 10, 2018 at 2:10 PM Aashish Sharma <asharma at lbl.gov> wrote:
> 
> > [ 96%] Building CXX object libcaf_openssl/CMakeFiles/libcaf_openssl_shared.dir/src/manager.cpp.o
> > clang: warning: argument unused during compilation: '-L/lib'
> > /usr/local/src/master/aux/broker/3rdparty/caf/libcaf_openssl/src/manager.cpp:100:8: error: use of undeclared identifier 'get_or'
> >   if (!get_or(config(), "middleman.attach-utility-actors", false))
> >        ^
> 
> This is at least an odd error if it were actually finding the CAF
> headers that are embedded in the Bro source tree, so a guess is that
> you have an old version of CAF (AKA actor-framework or libcaf)
> installed in a system directory and it is finding those instead.  Can
> you check?  A specific header file in question here would be
> "caf/config_value.hpp".
> 
> And for reference, building on a fresh FreeBSD 10.3 system +
> bro/master checkout worked for me just now, which may also suggest a
> problem in the system setup (or else an inconsistent Bro
> checkout/configuration, but it seems like we are both starting from a
> fresh clone).
> 
> - Jon


More information about the bro-dev mailing list