Snort mailing list archives
snort and Tru64
From: Darryl Cook <dlc () cs appstate edu>
Date: Mon, 09 Feb 2004 09:24:10 -0500
I used to be able to run snort on version 1.8.7 but since then I cant get it to compile correctly on Tru64 version 5.1b. Im wondering if anyone else has run into this problem or could help me with it. Below is the output of make for snort 2.1.1RC1. In all versions since 1.8.7 the problem seems to be with the fast-alert modules. Any help appreciated!
darryl make all-recursive make[1]: Entering directory `/usr/local/src/snort/snort-2.1.1-RC1' Making all in src make[2]: Entering directory `/usr/local/src/snort/snort-2.1.1-RC1/src' Making all in sfutilmake[3]: Entering directory `/usr/local/src/snort/snort-2.1.1-RC1/src/sfutil'
make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/local/src/snort/snort-2.1.1-RC1/src/sfutil' Making all in win32 make[3]: Entering directory `/usr/local/src/snort/snort-2.1.1-RC1/src/win32' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/local/src/snort/snort-2.1.1-RC1/src/win32' Making all in output-pluginsmake[3]: Entering directory `/usr/local/src/snort/snort-2.1.1-RC1/src/output-plugins' 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 'spo_alert_fast.c' || echo './'`spo_alert_fast.c
In file included from spo_alert_fast.c:41: ../../src/event.h:35: error: parse error before "uint32_t" ../../src/event.h:35: warning: no semicolon at end of struct or union../../src/event.h:36: warning: type defaults to `int' in declaration of `sig_id'
../../src/event.h:36: warning: data definition has no type or storage class ../../src/event.h:37: error: parse error before "sig_rev"../../src/event.h:37: warning: type defaults to `int' in declaration of `sig_rev'
../../src/event.h:37: warning: data definition has no type or storage class ../../src/event.h:38: error: parse error before "classification"../../src/event.h:38: warning: type defaults to `int' in declaration of `classification'
../../src/event.h:38: warning: data definition has no type or storage class ../../src/event.h:39: error: parse error before "priority"../../src/event.h:39: warning: type defaults to `int' in declaration of `priority'
../../src/event.h:39: warning: data definition has no type or storage class ../../src/event.h:40: error: parse error before "event_id"../../src/event.h:40: warning: type defaults to `int' in declaration of `event_id'
../../src/event.h:40: warning: data definition has no type or storage class ../../src/event.h:41: error: parse error before "event_reference"../../src/event.h:41: warning: type defaults to `int' in declaration of `event_reference'
../../src/event.h:41: warning: data definition has no type or storage class ../../src/event.h:45: error: parse error before '}' token../../src/event.h:45: warning: type defaults to `int' in declaration of `Event'
../../src/event.h:45: warning: data definition has no type or storage class In file included from ../../src/rules.h:32, from ../../src/plugbase.h:27, from spo_alert_fast.c:44: ../../src/spo_plugbase.h:52: error: parse error before "Event" ../../src/spo_plugbase.h:63: error: parse error before "Event" ../../src/spo_plugbase.h:65: error: parse error before "Event" In file included from ../../src/plugbase.h:27, from spo_alert_fast.c:44: ../../src/rules.h:189: error: parse error before "Event" ../../src/rules.h:189: warning: no semicolon at end of struct or union ../../src/rules.h:210: error: parse error before '}' token../../src/rules.h:210: warning: type defaults to `int' in declaration of `OptTreeNode'
../../src/rules.h:210: warning: data definition has no type or storage class ../../src/rules.h:263: error: parse error before "OptTreeNode" ../../src/rules.h:263: warning: no semicolon at end of struct or union ../../src/rules.h:267: error: parse error before '}' token../../src/rules.h:267: warning: type defaults to `int' in declaration of `RuleTreeNode'
../../src/rules.h:267: warning: data definition has no type or storage class ../../src/rules.h:273: error: parse error before "RuleTreeNode" ../../src/rules.h:273: warning: no semicolon at end of struct or union../../src/rules.h:274: warning: type defaults to `int' in declaration of `TcpList'
../../src/rules.h:274: warning: data definition has no type or storage class ../../src/rules.h:275: error: parse error before '*' token../../src/rules.h:275: warning: type defaults to `int' in declaration of `UdpList'
../../src/rules.h:275: warning: data definition has no type or storage class ../../src/rules.h:276: error: parse error before '*' token../../src/rules.h:276: warning: type defaults to `int' in declaration of `IcmpList'
../../src/rules.h:276: warning: data definition has no type or storage class ../../src/rules.h:280: error: parse error before '}' token../../src/rules.h:280: warning: type defaults to `int' in declaration of `ListHead'
../../src/rules.h:280: warning: data definition has no type or storage class ../../src/rules.h:284: error: parse error before "ListHead" ../../src/rules.h:284: warning: no semicolon at end of struct or union ../../src/rules.h:289: error: conflicting types for `next' ../../src/rules.h:207: error: previous declaration of `next' ../../src/rules.h:290: error: parse error before '}' token../../src/rules.h:290: warning: type defaults to `int' in declaration of `RuleListNode'
../../src/rules.h:290: warning: data definition has no type or storage class In file included from spo_alert_fast.c:44: ../../src/plugbase.h:107: error: parse error before "OptTreeNode" ../../src/plugbase.h:118: error: parse error before "OptTreeNode" ../../src/plugbase.h:121: error: parse error before "OptTreeNode" ../../src/plugbase.h:123: error: parse error before "OptTreeNode" In file included from spo_alert_fast.c:46: ../../src/parser.h:89: error: parse error before '*' token ../../src/parser.h:89: error: parse error before "ListHead"../../src/parser.h:89: warning: type defaults to `int' in declaration of `CreateRuleType'
../../src/parser.h:89: warning: data definition has no type or storage class In file included from spo_alert_fast.c:48: ../../src/log.h:74: error: parse error before "Event" ../../src/log.h:75: error: parse error before "Event" ../../src/log.h:79: error: parse error before '*' token spo_alert_fast.c:79: error: parse error before "Event" spo_alert_fast.c:134: error: parse error before "Event" spo_alert_fast.c: In function `AlertFast': spo_alert_fast.c:137: error: `arg' undeclared (first use in this function)spo_alert_fast.c:137: error: (Each undeclared identifier is reported only once
spo_alert_fast.c:137: error: for each function it appears in.) spo_alert_fast.c:140: error: `p' undeclared (first use in this function) spo_alert_fast.c:146: error: `msg' undeclared (first use in this function) spo_alert_fast.c:150: error: `event' undeclared (first use in this function) make[3]: *** [spo_alert_fast.o] Error 1make[3]: Leaving directory `/usr/local/src/snort/snort-2.1.1-RC1/src/output-plugins'
make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/snort/snort-2.1.1-RC1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/snort/snort-2.1.1-RC1' make: *** [all] Error 2 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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:
- snort and Tru64 Darryl Cook (Feb 09)