[Bro-Dev] error compiling master

Jon Siwek jsiwek at corelight.com
Tue Jul 10 16:02:51 PDT 2018


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