Snort mailing list archives

Re: Trying to build daq with nfq support


From: Russ Combs <rcombs () sourcefire com>
Date: Thu, 31 Mar 2011 13:04:00 -0400

Prolly shoulda said:

CPPFLAGS="-I/data/soft/libnetfilter_queue/include"

( and, just in case, that is an uppercase i )

On Thu, Mar 31, 2011 at 12:58 PM, carlopmart <carlopmart () gmail com> wrote:

On 03/31/2011 06:52 PM, Russ Combs wrote:
oops, forgot the -I ...

On Thu, Mar 31, 2011 at 12:51 PM, Russ Combs <rcombs () sourcefire com
<mailto:rcombs () sourcefire com>> wrote:

    Try this:

    export
    CPPFLAGS="-I/data/soft/libnetfilter_queue/include/libnetfilter_queue"
    ./configure ...



Thanks Russ, but doesn't works:

[root@lorinand daq-0.5]# export
CPPFLAGS="-I/data/soft/libnetfilter_queue/include/libnetfilter_queue"
[root@lorinand daq-0.5]# ./configure --prefix=/data/soft/daq
--with-libpcap-includes=/data/soft/libpcap/include
--with-libpcap-libraries=/data/soft/libpcap/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
....................
checking for pcap.h... yes
checking dnet.h usability... yes
checking dnet.h presence... yes
checking for dnet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnetfilter_queue/libnetfilter_queue.h usability... no
checking libnetfilter_queue/libnetfilter_queue.h presence... no
checking for libnetfilter_queue/libnetfilter_queue.h... no
checking for linux/netfilter.h... yes
checking for pcap.h... (cached) yes
checking for pcap_lib_version... checking for pcap_lib_version in
-lpcap... yes
checking for libpcap version >= "1.0.0"... yes
........................................

And result:

Build AFPacket DAQ module.. : yes
Build Dump DAQ module...... : yes
Build IPFW DAQ module...... : yes
Build IPQ DAQ module....... : yes
Build NFQ DAQ module....... : no
Build PCAP DAQ module...... : yes
--
CL Martinez
carlopmart {at} gmail {d0t} com


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Current thread: