[Snort-users] CVS version not finding pcap includes

Bob Van Cleef vancleef at ...211...
Wed Jan 9 12:53:06 EST 2002


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 at ...211...





More information about the Snort-users mailing list