[Snort-users] Snort 2.0.2 Available

Kristofer T. Karas ktk at ...10113...
Thu Sep 18 11:24:03 EDT 2003


Grime, Richard S wrote:

>A bit more testing reveals that if I use ./configure --enable-flexresp
>  
>

And many people said,

>util.h:42: parse error before `netmasks'
>

The problem is that 'sfthreshold.c' is including 'util.h' which is 
missing the following at the top of the file:

	#ifdef HAVE_SYS_TYPES_H
	#include <sys/types.h>
	#endif

That's where you find the definition for u_long which is what gcc is 
complaining about.  Cut and paste that into your snort-2.0.2/src/util.h 
file somewhere before line 42 and you'll be fine.

HTH,

Kris






More information about the Snort-users mailing list