Snort mailing list archives

Re: Compiling Barnyard2- fatal error: daq.h: No such file or directory


From: "Michael Steele" <michaels () winsnort com>
Date: Sat, 5 Sep 2015 09:55:22 -0400

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.

 

Thanks…

 

From: James Lay [mailto:jlay () slave-tothe-box net] 
Sent: Saturday, September 5, 2015 8:47 AM
To: snort-users () 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?

 

TIA…



 
------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net <mailto: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!


You're missing daq:

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

James 

------------------------------------------------------------------------------
_______________________________________________
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: