[Bro-Dev] Compiler error on MacOS

Robin Sommer robin at icir.org
Thu Mar 1 08:35:25 PST 2012


All of a sudden my Mac says this when compiling master (Linux and
FreeBSD work fine):

In file included from /Users/robin/bro/master/build/src/netflow_pac.cc:3:
/Users/robin/bro/master/build/src/netflow_pac.h:13: error: expected initializer before ‘*’ token
/Users/robin/bro/master/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)’:
/Users/robin/bro/master/build/src/netflow_pac.cc:158: error: ‘mgr’ was not declared in this scope
/Users/robin/bro/master/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)’:
/Users/robin/bro/master/build/src/netflow_pac.cc:225: error: ‘mgr’ was not declared in this scope

I'm pretty sure that must be something local to my setup as others
here are using Mac too. Does anybody happen to have an idea what could
be causing this?

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list