Snort mailing list archives

CVS version not finding pcap includes


From: Bob Van Cleef <vancleef () microunity com>
Date: Wed, 9 Jan 2002 12:52:27 -0800 (PST)


I downloaded a clean copy of the CVS version on a redhat 7.2 system.
Make was failing due to an inability to find the pcap include files,
inspite of an existing "extra_incl = -I/usr/include/pcap" entry in
all of the Makefiles.

Adding a $(extra_incl) to the compile templat in the lower directories
appears to fix the problem, so there must be something wrong with
the Makefile generation script.

For example, in src/preprocessors/Makefile :

Change:

INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src 
-I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins 
-I$(top_srcdir)/src/preprocessors

To:

INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src $(extra_incl)
-I$(top_srcdir)/src/output-plugins -I$(top_srcdir)/src/detection-plugins 
-I$(top_srcdir)/src/preprocessors


Bob
-- 
<>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>  ><>
Bob Van Cleef, Systems Administrator             (408) 734-8100
MicroUnity, Inc.                             FAX (408) 734-8136
376 Martin Ave., Santa Clara, CA 95050  vancleef () microunity com


_______________________________________________
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://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: