[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:20:01 PST 2015

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

Jon Siwek commented on BIT-1307:

After `./configure`, what's the output of `grep PCAP build/CMakeCache.txt` ?

And does that actually point to the expected pcap library/headers?  i.e. do you have more than one libpcap version installed and is it picking up the right one?

> 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