I can’t get Bro master to build with XCode 7 on OS X. For anyone trying to build Bro on a new OS X system, this is a problem, since I don’t think old versions of XCode are still available.
cc -v Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.2.0 Thread model: posix ./configure
…
====================| Bro Build Summary |=====================
Install prefix: /usr/local/bro
Bro Script Path: /usr/local/bro/share/bro
Debug mode: false
CC: /usr/bin/cc
CFLAGS: -Wall -Wno-unused -O2 -g -DNDEBUG
CXX: /usr/bin/c++
CXXFLAGS: -Wall -Wno-unused -std=c++11 -O2 -g -DNDEBUG
CPP: /usr/bin/c++
Broker: true
Broker Python: false
Broccoli: true
Broctl: true
Aux. Tools: true
GeoIP: true
gperftools found: true
tcmalloc: false
debugging: false
jemalloc: false
================================================================
…
$ make
…
/Users/vladg/src/bro/src/main.cc:865:10: error: no member named ‘init’ in namespace ‘binpac’
binpac::init();4 warnings and 1 error generated. make[3]: *** [src/CMakeFiles/bro.dir/main.cc.o] Error 1
$ make clean; ./configure --disable-broker
…
/Users/vladg/src/bro/src/main.cc:865:10: error: no member named ‘init’ in namespace ‘binpac’
binpac::init();1 error generated. make[3]: *** [src/CMakeFiles/bro.dir/main.cc.o] Error 1
Any ideas on how to fix this? This seems related: https://github.com/bro/binpac/commit/e42a18d8cbb1fffa9cec54b7893e72f113fdba8f
–Vlad