[Bro] Bro 2.3.2 and pf_ring 6.0.2
Lou Ruppert
himself at louruppert.com
Thu Feb 12 08:10:30 PST 2015
Siwek, Jon:
>
>> On Feb 12, 2015, at 9:14 AM, Michał Purzyński <michalpurzynski1 at gmail.com> wrote:
>>
>> When trying to build Bro 2.3.2 with libpcap from pf_ring 6.0.2
>> (./configure --with-pcap=/usr/local/lib, where libpcap-1.1.1-ring is
>> installed) I get errors:
>>
>> -- Looking for include files HAVE_PCAP_INT_H
>> -- Looking for include files HAVE_PCAP_INT_H - not found.
>> -- Looking for pcap_freecode
>> -- Looking for pcap_freecode - not found
>> -- No implementation for pcap_freecode()
>> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER
>> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_HAS_ERROR_PARAMETER - Failed
>> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER
>> -- Performing Test LIBPCAP_PCAP_COMPILE_NOPCAP_NO_ERROR_PARAMETER - Failed
>> CMake Error at cmake/PCAPTests.cmake:58 (message):
>> Can't determine if pcap_compile_nopcap takes an error parameter
>> Call Stack (most recent call first):
>> CMakeLists.txt:176 (include)
>> -- Configuring incomplete, errors occurred!
>
> Can you send the contents of build/CMakeFiles/CMakeError.log ?
I wish I'd thought of that. Instead I kludged a quick solution:
LDFLAGS="-Wl,--no-as-needed -lrt" ./configure
I'm not sure why that bit of ugliness helps, but it got me up and
running again.
-lou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: OpenPGP digital signature
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20150212/a9776f6e/attachment.bin
More information about the Bro
mailing list