Snort mailing list archives

Re: Snort 2.0.2 Available


From: "Kristofer T. Karas" <ktk () enterprise bidmc harvard edu>
Date: Thu, 18 Sep 2003 14:23:03 -0400

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




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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: