Snort mailing list archives

RE: Snort 2.0.2 Available


From: "Grime, Richard S" <richard.grime () imperial ac uk>
Date: Thu, 18 Sep 2003 13:43:53 +0100

And again here:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/include/pcap
-I../src/output-plugins -I../src/detection-plugins
-I../src/preprocessors  -I/usr/include/mysql -DENABLE_MYSQL
-DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include
-I/sw/include  -O2 -mcpu=i686 -pipe -Wall -DENABLE_SMB_ALERTS -c `test
-f 'sfthreshold.c' || echo './'`sfthreshold.c
In file included from sfthreshold.c:23:
util.h:42: parse error before "netmasks"
util.h:42: warning: type defaults to `int' in declaration of `netmasks'
util.h:42: warning: data definition has no type or storage class

This is on a Gentoo system...

/snort snort # gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/
g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)

-----Original Message-----
From: Jim Gifford [mailto:maillist () jg555 com] 
Sent: 18 September 2003 07:27
To: Jason Haar; snort-users () lists sourceforge net
Subject: Re: [Snort-users] Snort 2.0.2 Available


Same here. But with an LFS system using GCC 3.3.1 and Glibc 2.3.2.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/include/pcap
-I../src/
output-plugins -I../src/detection-plugins -I../src/preprocessors
-I/usr/inc
lude/mysql -DENABLE_MYSQL -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D_
_FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-I/usr/local/include -I
/sw/include  -march=pentium2 -mmmx -O3 -pipe -fomit-frame-pointer -Wall
-DEN
ABLE_SMB_ALERTS -c `test -f 'sfthreshold.c' || echo './'`sfthreshold.c

Attach is the output from the command above with --save-temps enabled

----- Original Message ----- 
From: "Jason Haar" <Jason.Haar () trimble co nz>
To: <snort-users () lists sourceforge net>
Sent: Wednesday, September 17, 2003 6:48 PM
Subject: Re: [Snort-users] Snort 2.0.2 Available


On Wed, Sep 17, 2003 at 05:57:32PM -0400, Brian wrote:
Snort 2.0.2 is available.  This release incorporates a big new
feature
as
well as some bug fixing, we recommend that everyone upgrade at their
soonest opportunity.

Looks like the thresholding code (src/sfthreshold.c) won't compile
under
RH
7.1 (gcc 2.96)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I/usr/include/pcap
-I../src/output-plugins -I../src/detection-plugins
-I../src/preprocessors
-DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -I/usr/local/include
-I/sw/inclu
de
-g -O2 -Wall -c test -f 'sfthreshold.c' || echo './'sfthreshold.c
In file included from sfthreshold.c:23:
util.h:42: parse error before `netmasks'
util.h:42: warning: type defaults to `int' in declaration of
`netmasks'
util.h:42: warning: data definition has no type or storage class
make[3]: *** [sfthreshold.o] Error 1
make[3]: Leaving directory /usr/src/snort-2.0.2/src'


-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------
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



-------------------------------------------------------
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: