[Bro-Dev] [VIRUS PM SCAN ERROR] Compiler error on MacOS

Slagell, Adam J slagell at illinois.edu
Thu Mar 1 08:52:25 PST 2012

I haven't tried a build since the new xCode. But that totally screwed up MacPorts.

On Mar 1, 2012, at 10:35 AM, Robin Sommer wrote:

> 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
> _______________________________________________
> bro-dev mailing list
> bro-dev at bro-ids.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Adam J. Slagell, CISO, CISSP
Chief Information Security Officer
National Center for Supercomputing Applications
University of Illinois at Urbana-Champaign

"Under the Illinois Freedom of Information Act (FOIA), any written communication to or from University employees regarding University business is a public record and may be subject to public disclosure." 

More information about the bro-dev mailing list