[Snort-devel] FreeBSD compile error on 2.1.0

chris harwood harwood at ...2376...
Thu Feb 5 06:32:49 EST 2004


hi

using FreeBSD 4.8p13 where snort 2.0.4 was running just fine...after a 
succesful configure --with-mysql=/usr/local

a make gave these warnings and errors (truncated for brevity):

Making all in sfutil
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/mysql -DENABLE_MYSQL  -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'
.
.
.
any ideas?

downloaded this morning from the snort site.

thanks

chris






More information about the Snort-devel mailing list