NEW Bro compile problems

Anton Chuvakin, Ph.D. anton at
Mon Jun 16 14:48:14 PDT 2003


Here is what I got:

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

and then


g++ -I. -Ilibedit -O -Ilinux-include -o bifcl bif_lex.o bif_parse.o
./bifcl event.bif
./bifcl const.bif
g++ -I. -Ilibedit -O -Ilinux-include -c
In file included from Net.h:27,
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 In function `void init_random_seed ()': `uint32_t' undeclared (first use this function) (Each undeclared identifier is reported only once for each
function it appears in.) parse error before `[' `buf' undeclared (first use this function) parse error before `=' `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 :-)

Anton Chuvakin, Ph.D., GCIA, GCIH
Senior Security Analyst
netForensics -

More information about the Bro mailing list