[Snort-users] Not able to compile pfring-daq-module in PF_RING 6.4.1

fatema bannatwala fatema.bannatwala at ...11827...
Wed Nov 30 17:44:13 EST 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20161130/169abb7c/attachment.html>


More information about the Snort-users mailing list