Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[Snort-devel] missing include for snort-2.0.2

From: Andreas Steinmetz <ast(at)domdv.de>
Date: Tue Sep 23 2003 - 07:32:28 EDT


For snort-2.0.2 on Linux 2.4 configured with:

./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--with-mysql=/usr/local/mysql' '--with-openssl=/usr' '--enable-smbalerts' '--enable-flexresp'

src/util.h is missing #include <sys/types.h> so build fails with:

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/local/mysql/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 -O3 -fomit-frame-pointer -funroll-loops
-fexpensive-optimizations -fschedule-insns2 -fcse-follow-jumps
-fcse-skip-blocks -frerun-cse-after-loop -frerun-loop-opt -fgcse
-fgcse-lm -fgcse-sm -fdelete-null-pointer-checks -falign-loops
-falign-jumps -falign-functions -mcpu=pentiumpro -march=pentiumpro -mmmx
-minline-all-stringops -Wall -DENABLE_SMB_ALERTS -c `test -f
'sfthreshold.c' || echo './'`sfthreshold.c In file included from sfthreshold.c:23:
util.h:42: syntax 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'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/snort-2.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/snort-2.0.2' make: *** [all] Error 2

--

Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH



This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf

Snort-devel mailing list
Snort-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-devel Received on Tue Sep 23 08:51:57 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:09 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library