[Bro] Error while trying to compile Bro

jean-philippe luiggi jean-philippe.luiggi at didconcept.com
Sun Jun 8 15:28:37 PDT 2008


Hello everybody,

I can't remember if i compiled directly (aka without tweaks) Bro 1.2.1
on OpenBSD (i'm sure it was not 4.3) but speaking of the last
release of Bro (1.3.2), it works perfectly on the last release of
"puffy".

May i suggest you switch/use 1.3.2 because the
following line remember me to the problems i ran into.

>/usr/include/net/bpf.h:129: error: candidates are: bpf_timeval&
>bpf_timeval::operator=(const bpf_timeval&)

With regards,

Jean-Philippe.

On Sun, 8 Jun 2008 19:11:56 +0300
"Gregory Edigarov" <gregory.edigarov at gmail.com> wrote:

> Hello,
> 
> 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
> TCP_TracePacket::Finish(pcap_pkthdr*&,
>    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 =
>    double_to_timeval(double)()'
> /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
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 



More information about the Bro mailing list