Bro compile problem

I encountered a problem while compiling bro(v0.8a20) on Linux machine.

As just announced on the bro-devel@lbl.gov list, there's now a new "CURRENT"
release, 0.8a32, available from

  ftp://ftp.ee.lbl.gov/.vp-bro-pub-0.8-current.tar.gz

Please give it a try and see whether it fixes the portability problems
you encountered - it should build better under Linux now.

Well, is there the archive for this mailing list?

Yes - "get bro archive" via majordomo@lbl.gov retrieves the archive, though
unfortunately it is only available as a single humongous file :-(.

    Vern

.

.

.

.

.

.

.

.

.

.

.

All,

Here is what I got:

Linux bastion 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown

and then

./configure
make

g++ -I. -Ilibedit -O -Ilinux-include -o bifcl bif_lex.o bif_parse.o
bif_arg.o
./bifcl event.bif
./bifcl const.bif
g++ -I. -Ilibedit -O -Ilinux-include -c main.cc
In file included from Net.h:27,
                 from main.cc:37:
PktSrc.h:26:18: pcap.h: No such file or directory
make: *** [main.o] Error 1

I "fix" it by adding 'INCLS = -Ilinux-include -I/usr/include/pcap'

Then it goes:

g++ -I. -Ilibedit -O -Ilinux-include -I/usr/include/pcap -c util.cc
util.cc: In function `void init_random_seed ()':
util.cc:395: `uint32_t' undeclared (first use this function)
util.cc:395: (Each undeclared identifier is reported only once for each
function it appears in.)
util.cc:395: parse error before `['
util.cc:399: `buf' undeclared (first use this function)
util.cc:427: parse error before `='
util.cc:430: `result' undeclared (first use this function)
make: *** [util.o] Error 1

Any ideas? The whole issue seems to me due to my missing something
obvious, but then again its Monday 5:49PM :slight_smile:

Best,