[Bro] Build Fail on OS X Lion

Chucky mdmonk at gmail.com
Tue Nov 22 17:00:13 PST 2011


I'm having some difficulties building the latest Bro 2.0beta on OS X Lion.

Bro = v 2.0-beta-47
OS = OS X 10.7.2
Gcc = v i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
Cmake = 2.8.6

It fails when building netflow_pac.cc.o . Log snippet below. I can provide the full screen output/log if necessary. 

Any ideas/recommendations are welcome. :)

#### Log ####
<SNIP>
====================|  Bro Build Summary  |=====================

Install prefix:    /usr/local/bro.git
Bro Script Path:   /usr/local/bro.git/share/bro
Debug mode:        false

CC:                /usr/bin/gcc
CFLAGS:             -Wall -Wno-unused -O2 -g
CXX:               /usr/bin/c++
CXXFLAGS:           -Wall -Wno-unused -O2 -g
CPP:               /usr/bin/c++

Broccoli:          true
Broctl:            true
Aux. Tools:        true

GeoIP:             false
Google perftools:  false

================================================================
<SNIP>
Scanning dependencies of target bro
<SNIP>
[ 29%] Building CXX object src/CMakeFiles/bro.dir/netflow_pac.cc.o
In file included from /DG/BUILD/bro/build/src/netflow_pac.cc:3:
/DG/BUILD/bro/build/src/netflow_pac.h:13: error: expected initializer before ‘*’ token
/DG/BUILD/bro/build/src/netflow_pac.cc: In member function ‘bool binpac::NetFlow::NetFlow_Flow::deliver_v5_header(binpac::uint16, binpac::uint32, binpac::uint32, binpac::uint32, binpac::uint32, binpac::uint8, binpac::uint8, binpac::uint16)’:
/DG/BUILD/bro/build/src/netflow_pac.cc:158: error: ‘mgr’ was not declared in this scope
/DG/BUILD/bro/build/src/netflow_pac.cc: In member function ‘bool binpac::NetFlow::NetFlow_Flow::deliver_v5_record(binpac::uint32, binpac::uint32, binpac::uint32, binpac::uint16, binpac::uint16, binpac::uint32, binpac::uint32, binpac::uint32, binpac::uint32, binpac::uint16, binpac::uint16, binpac::uint8, binpac::uint8, binpac::uint8, binpac::uint16, binpac::uint16, binpac::uint8, binpac::uint8)’:
/DG/BUILD/bro/build/src/netflow_pac.cc:225: error: ‘mgr’ was not declared in this scope
make[3]: *** [src/CMakeFiles/bro.dir/netflow_pac.cc.o] Error 1
make[2]: *** [src/CMakeFiles/bro.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


#-----------------------------------------------
Chuck Little
Security Engineer, Geek
GPG key: F14EAD4C
GPG fprint: AE4D 367F C946 919B CB8C
         5BD0 490D 8B9F F14E AD4C
#-----------------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20111122/48478563/attachment.bin 


More information about the Bro mailing list