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

jdonnelly (JIRA) jira at bro-tracker.atlassian.net
Wed Jan 28 10:33:00 PST 2015


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

jdonnelly commented on BIT-1307:
--------------------------------

root at dyn-x64-01:/work/jpd/dyn/src/bro-fork/bro# grep PCAP build/CMakeCache.txt
PCAP_INCLUDE_DIR:PATH=/usr/local/include
PCAP_LIBRARY:FILEPATH=/usr/local/lib/libpcap.a
PCAP_ROOT_DIR:PATH=/usr/local
//Details about finding PCAP
FIND_PACKAGE_MESSAGE_DETAILS_PCAP:INTERNAL=[/usr/local/lib/libpcap.a][/usr/local/include][v()]
HAVE_LIBPCAP_PCAP_FREECODE:INTERNAL=1
HAVE_PCAP_INT_H:INTERNAL=
//Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER
LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER:INTERNAL=
//Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER
LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER:INTERNAL=1
//ADVANCED property for variable: PCAP_INCLUDE_DIR
PCAP_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PCAP_LIBRARY
PCAP_LIBRARY-ADVANCED:INTERNAL=1
//Test PCAP_LINKS_SOLO
PCAP_LINKS_SOLO:INTERNAL=1
//ADVANCED property for variable: PCAP_ROOT_DIR
PCAP_ROOT_DIR-ADVANCED:INTERNAL=1


> 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
(v6.4-OD-13-026#64011)



More information about the bro-dev mailing list