Snort mailing list archives
Problems trying to compile snort v2.6.1.3 on FreeBSD 4.x
From: Patrik Israelsson <patrik.israelsson () sentor se>
Date: Mon, 26 Feb 2007 11:58:56 +0100
Hi,
I'm trying to compile snort 2.6.1.3 on various boxen running FreeBSD 4.x. I've
encountered some problems while building the dynamic preprocessors:
Making all in dcerpc
make all-am
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../../.. -I../include -I/usr/local/include -I
1-client/work/mysql-4.1.18//include -DENABLE_MYSQL -g -O2 -Wall
-DDYNAMIC_PLUGIN -c -o dcerpc_config.lo dcerpc_config.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../include -I/usr/local/include
-I/usr/ports/databases/mysql41-client/work/mysql-4.1
-g -O2 -Wall -DDYNAMIC_PLUGIN -c dcerpc_config.c -fPIC -DPIC
-o .libs/dcerpc_config.o
In file included from ../include/sf_snort_plugin_api.h:39,
from dcerpc_config.c:41:
/usr/include/netinet/in.h:235: syntax error before `in_addr_t'
/usr/include/netinet/in.h:287: syntax error before `u_char'
In file included from /usr/include/netinet/in.h:469,
from ../include/sf_snort_plugin_api.h:39,
from dcerpc_config.c:41:
/usr/include/netinet6/in6.h:122: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:144: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:149: syntax error before `u_int32_t'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:613: warning: type defaults to `int' in
declaration of `inet6_option_append'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:614: warning: type defaults to `int' in
declaration of `inet6_option_alloc'
/usr/include/netinet6/in6.h:614: warning: data definition has no type or
storage class
/usr/include/netinet6/in6.h:615: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:616: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:631: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:636: syntax error before `u_int8_t'
/usr/include/netinet6/in6.h:638: syntax error before `u_int8_t'
*** Error code 1
Stop in /usr/nids-src/newsnort/snort/src/dynamic-preprocessors/dcerpc.
*** Error code 1
[...]
Has anyone else tried this with success, and/or does anyone know what could be
the cause and solution to this problem?
Regards,
Patrik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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:
- Problems trying to compile snort v2.6.1.3 on FreeBSD 4.x Patrik Israelsson (Feb 26)
- Message not available
- Re: Problems trying to compile snort v2.6.1.3 on FreeBSD 4.x Patrik Israelsson (Feb 26)
- Message not available
