[Bro] Error while trying to compile Bro

Gregory Edigarov gregory.edigarov at gmail.com
Sun Jun 8 09:11:56 PDT 2008


I am trying to get bro working on my system:
$ uname -a
OpenBSD edigarov.sa.net.ua 4.3 GENERIC#0 amd64

I am getting the following error.
As Bro is written in C++, and I am not a speciallist in this language (I am
a C guy, after all) I am asking you to help:

gmake[4]: Entering directory `/usr/home/greg/bro-1.2.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I. -I../src/binpac/lib -I../src -I.
-I.. -Ilibedit   -O -W -Wall -Wno-unused   -g -O2 -MT TCP_Rewriter.o -MD -MP
-MF ".deps/TCP_Rewriter.Tpo" -c -o TCP_Rewriter.o TCP_Rewriter.cc; \
then mv -f ".deps/TCP_Rewriter.Tpo" ".deps/TCP_Rewriter.Po"; else rm -f
".deps/TCP_Rewriter.Tpo"; exit 1; fi
TCP_Rewriter.cc: In member function `int
   const u_char*&, int&, unsigned int, unsigned int)':
TCP_Rewriter.cc:328: error: no match for 'operator=' in '
   this->TCP_TracePacket::pcap_hdr.pcap_pkthdr::ts =
/usr/include/net/bpf.h:129: error: candidates are: bpf_timeval&
   bpf_timeval::operator=(const bpf_timeval&)
gmake[4]: *** [TCP_Rewriter.o] Error 1
gmake[4]: Leaving directory `/usr/home/greg/bro-1.2.1/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/greg/bro-1.2.1/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/greg/bro-1.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/greg/bro-1.2.1'
gmake: *** [all] Error 2

Thanks a lot in advance.

With best regards,
    Gregory  Edigarov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20080608/87733af1/attachment.html 

More information about the Bro mailing list