NEW Bro compile problems
Anton Chuvakin, Ph.D.
anton at netForensics.com
Mon Jun 16 14:48:14 PDT 2003
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 :-)
Best,
--
Anton Chuvakin, Ph.D., GCIA, GCIH
Senior Security Analyst
netForensics - http://www.netForensics.com
732-393-6071
More information about the Bro
mailing list