[ARGUS] argus 2.0.6 on Fedora Core 2

Mike Iglesias iglesias at draco.acs.uci.edu
Thu Jul 15 13:30:40 EDT 2004


When I tried to compile argus 2.0.6 on Fedora Core 2 (which uses the
2.6.x kernel series), common/gencode.c failed to compile because it
could not find the include file /usr/include/net/bpf.h.  It turnes out
that in FC2 (at least), the file has been renamed to
/usr/include/pcap-bpf.h.  I don't have a FC1 system handy to check if
it was renamed there as well.

I'm not sure what has to be done to the configure script to fix this.
Here's a diff of what I did to gencode.c to fix this.  I have not tested
it yet to see if it works, but it compiles now.

--- gencode.c.dist      2004-02-23 07:00:36.000000000 -0800
+++ gencode.c   2004-07-15 10:24:48.956200744 -0700
@@ -59,7 +59,8 @@
 #include <stdlib.h>
 #include <syslog.h>
  
-#include <net/bpf.h>
+/*#include <net/bpf.h>*/
+#include <pcap-bpf.h>
  
 #include <argus_out.h>
 #include <argus_filter.h>


Mike Iglesias                          Email:       iglesias at draco.acs.uci.edu
University of California, Irvine       phone:       949-824-6926
Network & Academic Computing Services  FAX:         949-824-2069



More information about the argus mailing list