[Snort-users] Compiling Barnyard2- fatal error: daq.h: No such file or directory

Michael Steele michaels at ...9077...
Sat Sep 5 09:55:22 EDT 2015

It looks like DAQ won’t compile without LIBPCAP compiled and installed.


I’m not sure exactly what happed between 333 and 336 but I never had to compile DAQ in in order to compile Basrnyard2 for windows under CYGWin. It now looks like it’s looking for LIBPCAP to be installed before DAQ will install.


It appears the CYGWin compiling process for Barnyard2 for windows may be severed for some reason.


I don’t think DAQ or LIBPCAP needs to be an installed requirement for this, seeing it was not required in 333?


I may be missing something here. I think I need some verification from someone on the Barnyard2 developers team. Is it’s still possible to compile Barnyard2 under CYGWin. I’m spent several hours on trying to move forward on this with not much luck.




From: James Lay [mailto:jlay at ...13475...] 
Sent: Saturday, September 5, 2015 8:47 AM
To: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] Compiling Barnyard2- fatal error: daq.h: No such file or directory


On Fri, 2015-09-04 at 21:18 -0400, Michael Steele wrote: 


gcc -DHAVE_CONFIG_H -I. -I../..  -I.. -I/usr/local/pgsql/include -DENABLE_POSTGR

ESQL  -g -O2 -fno-strict-aliasing -Wall -c -o sf_iph.o sf_iph.c

In file included from sf_iph.c:29:0:

../decode.h:48:17: fatal error: daq.h: No such file or directory

#include <daq.h>


compilation terminated.

Makefile:363: recipe for target 'sf_iph.o' failed

make[3]: *** [sf_iph.o] Error 1


Looks like I’m missing something?



Snort-users mailing list
Snort-users at lists.sourceforge.net <mailto:Snort-users at lists.sourceforge.net> 
Go to this URL to change user options or unsubscribe:
Snort-users list archive:
Please visit http://blog.snort.org to stay current on all the latest Snort news!

You're missing daq:

wget https://snort.org/downloads/snort/daq-2.0.6.tar.gz


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20150905/e6fb4c82/attachment.html>

More information about the Snort-users mailing list