Snort mailing list archives

Not able to compile pfring-daq-module in PF_RING 6.4.1


From: fatema bannatwala <fatema.bannatwala () gmail com>
Date: Wed, 30 Nov 2016 17:44:13 -0500

Hi,

I am trying to make snort work with the latest PF_RING 6.4.1, hence started
with the install of different modules comes with pf_ring tar file.
I successfully installed kernel, userland/lib, userland/libpcap and
userland/tcpdump.
But when trying to configure userland/snort/pfring-daq-module getting
consistent error:

[~pfring-daq-module]$ ./configure
 <snip>
checking CFLAGS for gcc -Wformat... -Wformat
checking CFLAGS for gcc -Wformat-security... -Wformat-security
checking CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter
checking CFLAGS for gcc -fno-strict-aliasing... -fno-strict-aliasing
checking CFLAGS for gcc -fdiagnostics-show-option...
-fdiagnostics-show-option
checking CFLAGS for gcc -pedantic -std=c99 -D_GNU_SOURCE... -pedantic
-std=c99 -D_GNU_SOURCE
checking daq_api.h usability... no
checking daq_api.h presence... no
checking for daq_api.h... no
configure: error: Could not find daq_api.h!

I am not able to figure out why it is not able to find daq_api.h, or do I
have to copy it from somewhere in some directory?

Also, After installing various modules of pf ring (except
pfring-daq-module) I installed daq-2.0.6
as well, which successfully got configured and installed.
[ ~/daq-2.0.6]$ ./configure --prefix=/usr/local/daq/2.0.6
--with-libpcap-includes=/usr/local/pfring/6.4.1/include
--with-libpcap-libraries=/usr/local/pfring/6.4.1/lib
--with-dnet-includes=/usr/local/libdnet/include
--with-dnet-libraries=/usr/local/libdnet/lib
--with-libpfring-includes=/usr/local/pfring/6.4.1/include
--with-libpfring-libraries=/usr/local/pfring/6.4.1/lib LIBS=-lpthread

After installing daq module I again tried installing pfring-daq-module from
PF_RING pakage, but same error.
Running CentOS7

Any help appreciated.

Thanks,
Fatema.
------------------------------------------------------------------------------
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: