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

Bamm Visscher bamm at ...539...
Fri Dec 19 07:11:04 EST 2003


Seems snort-2.1.0 compiles fine on FreeBSD 5.1 (RELEASE and CURRENT). I am following RELENG_4 and have the same problems as you.

http://homefries.333tech.com:8888/52

*tap* *tap* Is this thing on?

Bammkkkk

On Fri, Dec 19, 2003 at 09:34:27AM +0100, henk at ...6003... wrote:
> 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
> 
> 
> -------------------------------------------------------
> 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 at 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




More information about the Snort-users mailing list