[Bro] bro on freebsd 7-RC1

Paul Schmehl pauls at utdallas.edu
Fri Mar 7 14:30:09 PST 2008

--On Friday, March 07, 2008 16:12:28 -0600 Randolph Reitz <rreitz at fnal.gov> 

> Anne,
> I have a new box with FreeBSD 7.0-RELEASE installed (selected
> developer install).  When compiling BRO (1.3.2), I get an error ...
> Making install in src
> source='DNS-binpac.cc' object='DNS-binpac.o' libtool=no
> depfile='.deps/DNS-binpac.Po' tmpdepfile='.deps/DNS-binpac.TPo'
> depmode=gcc3 /usr/local/bin/bash ../depcomp  g++ -DHAVE_CONFIG_H -I. -
> I. -I..   -I. -I../aux/binpac/lib -I../src -I. -I.. -Ilibedit   -O -W -
> Wall -Wno-unused   -g -O2 -c -o DNS-binpac.o `test -f 'DNS-binpac.cc'
>|| echo './'`DNS-binpac.cc
> In file included from ARP.h:43,
>                   from Sessions.h:28,
>                   from RuleMatcher.h:12,
>                   from Conn.h:32,
>                   from Analyzer.h:11,
>                   from UDP.h:25,
>                   from DNS-binpac.h:6,
>                   from DNS-binpac.cc:3:
> NetVar.h:260:30: error: const.bif.netvar_h: No such file or directory
> NetVar.h:261:30: error: event.bif.netvar_h: No such file or directory
> In file included from DNS-binpac.cc:3:
> DNS-binpac.h:9:21: error: dns_pac.h: No such file or directory
> DNS-binpac.h:40:25: error: dns_tcp_pac.h: No such file or directory
> In file included from DNS-binpac.h:7,
>                   from DNS-binpac.cc:3:
> TCP.h: In static member function 'static bool
> TCPStats_Analyzer::Available()':
> TCP.h:360: error: 'conn_stats' was not declared in this scope
> TCP.h:360: error: 'tcp_rexmit' was not declared in this scope
> In file included from DNS-binpac.cc:3:
> DNS-binpac.h: At global scope:
> DNS-binpac.h:37: error: 'binpac' has not been declared
> (this goes on and on)
> It looks like there is a DNS dependency that I need to figure out??

I'm the FreeBSD port maintainer for bro.  I'm running 7.0 RELEASE (i386), and 
I'm not having a problems compiling bro.  (I just compiled it after reading 
your email.)  Make sure that your sources, kernel and ports are up to date and 
try it again.  Also, what architechture are you trying to compile on?  I'm 
running i386 SMP.

On a different note, I updated this port on request.  I don't use bro 
personally, so I'd appreciate any comments about improvements, changes, etc. 
For example, if you'd like to see more options available (we call them KNOBS), 
let me know, *in detail*, what you're looking for, and I'll work on improving 
the port further.  Since I don't know how people use the program, it's hard for 
me to know what functionality to include by default or highlight, offer as an 
option, etc., etc.

Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas

More information about the Bro mailing list