Yosemite attempt

Description

I'm setting up opengraphiti (http://www.opengraphiti.com/) and wanted to use the .pcap file to create a visual web. From what I gathered I need to run the .pcap through bro -r to create a .log file which will be usable.
On to the issue.

The ./configure goes off without a hitch with the final output being – Generating done – Build files have been written to: /Users/infosec/bro/build.

Then when I try to run "make" I get this fun error message

[ 19%] Building CXX object src/analyzer/protocol/conn-size/CMakeFiles/plugin-Bro-ConnSize.dir/ConnSize.cc.o
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.cc:6:
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.h:7:
In file included from /Users/infosec/bro/src/analyzer/Analyzer.h:8:
In file included from /Users/infosec/bro/src/analyzer/Tag.h:10:
In file included from /Users/infosec/bro/src/plugin/ComponentManager.h:10:
In file included from /Users/infosec/bro/src/Var.h:7:
In file included from /Users/infosec/bro/src/Expr.h:11:
In file included from /Users/infosec/bro/src/Val.h:11:
/Users/infosec/bro/src/net_util.h:210:15: error: expected ')'
inline uint64 ntohll(uint64 i)
^
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:30: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
/Users/infosec/bro/src/net_util.h:210:15: note: to match this '('
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:5: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.cc:6:
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.h:7:
In file included from /Users/infosec/bro/src/analyzer/Analyzer.h:8:
In file included from /Users/infosec/bro/src/analyzer/Tag.h:10:
In file included from /Users/infosec/bro/src/plugin/ComponentManager.h:10:
In file included from /Users/infosec/bro/src/Var.h:7:
In file included from /Users/infosec/bro/src/Expr.h:11:
In file included from /Users/infosec/bro/src/Val.h:11:
/Users/infosec/bro/src/net_util.h:210:15: error: functions that differ only in their return type cannot be overloaded
inline uint64 ntohll(uint64 i)
^
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:6: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
/Users/infosec/bro/src/net_util.h:210:15: note: previous implicit declaration is here
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:6: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.cc:6:
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.h:7:
In file included from /Users/infosec/bro/src/analyzer/Analyzer.h:8:
In file included from /Users/infosec/bro/src/analyzer/Tag.h:10:
In file included from /Users/infosec/bro/src/plugin/ComponentManager.h:10:
In file included from /Users/infosec/bro/src/Var.h:7:
In file included from /Users/infosec/bro/src/Expr.h:11:
In file included from /Users/infosec/bro/src/Val.h:11:
/Users/infosec/bro/src/net_util.h:226:15: error: expected ')'
inline uint64 htonll(uint64 i) { return ntohll; }
^
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:30: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
/Users/infosec/bro/src/net_util.h:226:15: note: to match this '('
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:5: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.cc:6:
In file included from /Users/infosec/bro/src/analyzer/protocol/conn-size/ConnSize.h:7:
In file included from /Users/infosec/bro/src/analyzer/Analyzer.h:8:
In file included from /Users/infosec/bro/src/analyzer/Tag.h:10:
In file included from /Users/infosec/bro/src/plugin/ComponentManager.h:10:
In file included from /Users/infosec/bro/src/Var.h:7:
In file included from /Users/infosec/bro/src/Expr.h:11:
In file included from /Users/infosec/bro/src/Val.h:11:
/Users/infosec/bro/src/net_util.h:226:15: error: functions that differ only in their return type cannot be overloaded
inline uint64 htonll(uint64 i) { return ntohll; }
^
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:6: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
/Users/infosec/bro/src/net_util.h:210:15: note: previous implicit declaration is here
inline uint64 ntohll(uint64 i)
^
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll __DARWIN_OSSwapInt64
^
/usr/include/libkern/OSByteOrder.h:78:6: note: expanded from macro '_DARWIN_OSSwapInt64'
(__builtin_constant_p ? __DARWIN_OSSwapConstInt64 : _OSSwapInt64)
^
4 errors generated.
make[3]: *** [src/analyzer/protocol/conn-size/CMakeFiles/plugin-Bro-ConnSize.dir/ConnSize.cc.o] Error 1
make[2]: *** [src/analyzer/protocol/conn-size/CMakeFiles/plugin-Bro-ConnSize.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Environment

OS X 10.10 Yosemite, MacBook Pro

Assignee

Unassigned

Reporter

mel

External issue ID

None

Components

Fix versions

Affects versions

Priority

Normal
Configure