[Bro-Dev] [JIRA] (BIT-1307) bro build fails when pulled from git

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Wed Jan 28 10:46:00 PST 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19516#comment-19516 ] 

Jon Siwek commented on BIT-1307:

What version of libpcap is installed in /usr/local?  I don't expect that came from the OS.

If it's actually the one you want, `./configure --with-pcap=/usr` should get it to use the standard one coming from the OS.

> bro build fails when pulled from git
> ------------------------------------
>                 Key: BIT-1307
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1307
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>            Reporter: jdonnelly
>             Fix For: 2.4
>   If a package is missing the configure step should find it.
>   I am getting this error on a fresh checkout:
>     git clone --recursive 
>     cd bro 
>     ./configure --enable-debug  
> make[3]: Entering directory `/work/jpd/dyn/src/bro-fork/bro/build'
> [ 20%] Building CXX object src/analyzer/protocol/bittorrent/CMakeFs/plugin-Bro-BitTorrent.dir/BitTorrent.cc.o
> In file included from /work/jpd/dyn/src/bro-fork/bro/src/Net.h:12:0,
>                  from /work/jpd/dyn/src/bro-fork/bro/src/RuleMatcher.h:15,
>                  from /work/jpd/dyn/src/bro-fork/bro/src/Conn.h:13,
>                  from /work/jpd/dyn/src/bro-fork/bro/src/analyzer/protocol/tcp/TCP.h:11,
>                  from /work/jpd/dyn/src/bro-fork/bro/src/analyzer/protocol/bittorrent/BitTorrent.h:6,
>                  from /work/jpd/dyn/src/bro-fork/bro/src/analyzer/protocol/bittorrent/BitTorrent.cc:3:
> /work/jpd/dyn/src/bro-fork/bro/src/iosource/PktSrc.h: In constructor ‘iosource::PktSrc::Properties::Properties()’:
> /work/jpd/dyn/src/bro-fork/bro/src/iosource/PktSrc.h:272:14: error: ‘PCAP_NETMASK_UNKNOWN’ was not declared in this scope
>     netmask = PCAP_NETMASK_UNKNOWN;

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list