Snort mailing list archives

Re: upgrade to 2.1


From: "Chris Reid" <chris.reid () codecraftconsultants com>
Date: Thu, 1 Jan 2004 14:02:34 -0700

Bryan,

Two things.

First, you're going to have to change all occurrances of:
    #include <stdint.h>
into
    #ifdef HAVE_STDINT_H
    #include <stdint.h>
    #endif
(this has already been fixed in the post-2.1.0 code).

And second, try using "gmake" instead of "make".

Chris Reid


----- Original Message ----- 
From: "Bryan Irvine" <bryan.irvine () kingcountyjournal com>
To: "'Snort Users List'" <snort-users () lists sourceforge net>
Sent: Thursday, January 01, 2004 12:18 PM
Subject: [Snort-users] upgrade to 2.1


I'm trying to upgrade an install of 2.0 to 2.1 
(I REALLY want thresholds :-)

but, it won't compile.  I'm trying to compile from source on OBSD 3.4.

I run ./configure --with-postgresql

which seems to run ok, then when I run 'make' I get this:

####begin paste####
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src
-I../../src/sfutil  -I../../src/output-plugins
-I../../src/detection-plugins -I../../src/preprocessors
-I../../src/preprocessors/flow -I../../src/preprocessors/portscan 
-I../../src/preprocessors/flow/int-snort 
-I../../src/preprocessors/HttpInspect/include   -I/usr/local/include
-I/usr/local/include/postgresql -DENABLE_POSTGRESQL  -g -O2 -Wall -c
`test -f 'util_net.c' || echo './'`util_net.c
In file included from util_net.c:16:
util_net.h:14: stdint.h: No such file or directory
*** Error code 1

Stop in /usr/ports/net/snort/snort-2.1.0/src/sfutil.
*** Error code 1

Stop in /usr/ports/net/snort/snort-2.1.0/src (line 260 of Makefile).
*** Error code 1

Stop in /usr/ports/net/snort/snort-2.1.0 (line 216 of Makefile).
*** Error code 1

Stop in /usr/ports/net/snort/snort-2.1.0 (line 112 of Makefile).
####end paste####


What am I missing???

--Bryan



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
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: