[Bro-Dev] Compile Bro in OpenBSD 5.2

Sean Shoufu Luo luoshoufu at gmail.com
Thu Feb 21 10:22:14 PST 2013


Hi all,

I'm trying to compile Bro in OpenBSD 5.2. Unfortunately, several errors
stop me. The following are logs. Anyone can give some quick advise? I
appreciate your comments.


Thanks,
Shoufu

--------------

/usr/include/sys/socket.h:162: error: expected specifier-qualifier-list
before 'u_int8_t'

/usr/include/sys/socket.h:462: error: expected declaration specifiers or
'...' before 'socklen_t'

/usr/include/sys/socket.h:470: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'recv'

/usr/include/sys/socket.h:477: error: expected declaration specifiers or
'...' before 'socklen_t'
In file included from /home/sluo/bro/bro/src/bro_inet_ntop.c:19:
{home}/bro/bro/src/bro_inet_ntop.h:10: error: expected declaration
specifiers or '...' before 'socklen_t'
{home}/bro/bro/src/bro_inet_ntop.c:52: error: conflicting types for
'bro_inet_ntop'
{home}/bro/bro/src/bro_inet_ntop.h:10: error: previous declaration of
'bro_inet_ntop' was here
*** Error code 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.icsi.berkeley.edu/pipermail/bro-dev/attachments/20130221/f5a1776d/attachment.html 


More information about the bro-dev mailing list