[Snort-users] snort 2.1.0 does not compile on FreeBSD 4.8

henk at ...6003... henk at ...6003...
Fri Dec 19 00:35:02 EST 2003


Hi,

The dirty details.


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  -g
-O2 -Wall -c `test -f 'ipobj.c' || echo './'`ipobj.c
In file included from ipobj.c:22:
/usr/include/sys/socket.h:52: syntax error before `sa_family_t'
/usr/include/sys/socket.h:52: warning: type defaults to `int' in
declaration of `sa_family_t'
/usr/include/sys/socket.h:52: warning: data definition has no type or
storage class
/usr/include/sys/socket.h:163: syntax error before `u_char'
/usr/include/sys/socket.h:174: syntax error before `u_short'
/usr/include/sys/socket.h:188: syntax error before `u_char'
/usr/include/sys/socket.h:190: `int64_t' undeclared here (not in a function)
/usr/include/sys/socket.h:190: `u_char' undeclared here (not in a function)
/usr/include/sys/socket.h:190: size of array `__ss_pad1' is too large
/usr/include/sys/socket.h:191: syntax error before `int64_t'
/usr/include/sys/socket.h:192: `u_char' undeclared here (not in a function)

Please could someone fix this?

Thnx,

Henk




More information about the Snort-users mailing list