New install and looking for help.

Hi,

I'm trying to install bro on OpenBSD 3.6 and receiving the following
error during the make. Also I've trie to install on FreeBSD on 5.3.
No Luck with either.

OpenBSD error:

bash-2.05b# make
g++ -I. -Ilibedit -O -c PktSrc.cc
PktSrc.cc: In method `void PktSrc::SetHdrSize()':
PktSrc.cc:239: `DLT_LINUX_SLL' undeclared (first use this function)
PktSrc.cc:239: (Each undeclared identifier is reported only once
PktSrc.cc:239: for each function it appears in.)
*** Error code 1

Stop in /home/jsa/bro/bro-pub-0.8a88 (line 350 of Makefile).

FreeBSD error:

Nesium# make
g++ -I. -Ilibedit -O -c main.cc
In file included from PacketFilter.h:9,
                 from Sessions.h:29,
                 from RuleMatcher.h:12,
                 from main.cc:54:
PrefixTable.h:48: error: struct PrefixTable::iterator redeclared with
different access
main.cc: In function `int main(int, char**)':
main.cc:317: error: array bound forbidden after parenthesized type-id
main.cc:317: note: try removing the parentheses around the type-id
*** Error code 1

Stop in /usr/home/jsa/Bro/bro-pub-0.8a88.

I have not been able to find very much information on troubleshooting
the install. Appreciate the help!

Jeff