[Snort-users] snort 2.0.0 on Tru64 5.1

Darryl Cook dlc at ...6294...
Thu Apr 24 11:52:07 EDT 2003


Darryl Cook wrote:

> Has anyone successfully built snort  2.0 on tru64?  I have built 1.8.7 
> and it runs fine but I get lots of compile errors when I run make with 
> 2.0.0.  Ive tried using gcc3.1 and gcc2.95.3 but both bomb.  Below is 
> the configure statement I use and some of the errors.
>
> configure --with-libpcap-includes=/usr/local/etc/libpcap/INCLDEST     
> --with-libpcap-libraries=/usr/local/etc/libpcap/LIBDEST
>
> # make
> make  all-recursive
> make[1]: Entering directory `/usr/local/src/snort/snort-2.0.0'
> Making all in src
> make[2]: Entering directory `/usr/local/src/snort/snort-2.0.0/src'
> Making all in win32
> make[3]: Entering directory `/usr/local/src/snort/snort-2.0.0/src/win32'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/usr/local/src/snort/snort-2.0.0/src/win32'
> Making all in output-plugins
> make[3]: Entering directory 
> `/usr/local/src/snort/snort-2.0.0/src/output-plugins'
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src  
> -I../../src/output-plugins -I../../src/detection-plugins 
> -I../../src/preprocessors  -I/usr/local/etc/libpcap/INCLDEST  -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: 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: 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: 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: 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: 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: 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: parse error before `}'
> ../../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 /usr/include/netinet/in6_machtypes.h:36,
>                 from /usr/include/netinet/in6.h:30,
>                 from /usr/include/netinet/in.h:294,
>                 from ../../src/decode.h:37,
>                 from spo_alert_fast.c:42:
> /usr/include/sys/bitypes.h:104: warning: redefinition of `uint8_t'
> /usr/include/sys/bitypes.h:89: warning: `uint8_t' previously declared 
> here
> /usr/include/sys/bitypes.h:105: warning: redefinition of `uint16_t'
> /usr/include/sys/bitypes.h:91: warning: `uint16_t' previously declared 
> here
> /usr/include/sys/bitypes.h:106: warning: redefinition of `uint32_t'
> /usr/include/sys/bitypes.h:93: warning: `uint32_t' previously declared 
> here
> In file included from ../../src/plugbase.h:28,
>                 from spo_alert_fast.c:44:
> ../../src/rules.h:185: parse error before `Event'
> ../../src/rules.h:185: warning: no semicolon at end of struct or union
> ../../src/rules.h:206: parse error before `}'
> ../../src/rules.h:206: warning: type defaults to `int' in declaration 
> of `OptTreeNode'
> ../../src/rules.h:206: warning: data definition has no type or storage 
> class
> ../../src/rules.h:259: parse error before `OptTreeNode'
> ../../src/rules.h:259: warning: no semicolon at end of struct or union
> ../../src/rules.h:263: parse error before `}'
> ../../src/rules.h:263: warning: type defaults to `int' in declaration 
> of `RuleTreeNode'
> ../../src/rules.h:263: warning: data definition has no type or storage 
> class
> ../../src/rules.h:269: parse error before `RuleTreeNode'
> ../../src/rules.h:269: warning: no semicolon at end of struct or union
> ../../src/rules.h:270: warning: type defaults to `int' in declaration 
> of `TcpList'
> ../../src/rules.h:270: warning: data definition has no type or storage 
> class
> ../../src/rules.h:271: parse error before `*'
> ../../src/rules.h:271: warning: type defaults to `int' in declaration 
> of `UdpList'
> ../../src/rules.h:271: warning: data definition has no type or storage 
> class
> ../../src/rules.h:272: parse error before `*'
> ../../src/rules.h:272: warning: type defaults to `int' in declaration 
> of `IcmpList'
> ../../src/rules.h:272: warning: data definition has no type or storage 
> class
> ../../src/rules.h:276: parse error before `}'
> ../../src/rules.h:276: warning: type defaults to `int' in declaration 
> of `ListHead'
> ../../src/rules.h:276: warning: data definition has no type or storage 
> class
> ../../src/rules.h:280: parse error before `ListHead'
> ../../src/rules.h:280: warning: no semicolon at end of struct or union
> ../../src/rules.h:285: conflicting types for `next'
> ../../src/rules.h:203: previous declaration of `next'
> ../../src/rules.h:286: parse error before `}'
> ../../src/rules.h:286: warning: type defaults to `int' in declaration 
> of `RuleListNode'
> ../../src/rules.h:286: warning: data definition has no type or storage 
> class
> In file included from spo_alert_fast.c:44:
> ../../src/plugbase.h:108: parse error before `OptTreeNode'
> ../../src/plugbase.h:119: parse error before `OptTreeNode'
> ../../src/plugbase.h:122: parse error before `OptTreeNode'
> ../../src/plugbase.h:124: parse error before `OptTreeNode'
> ../../src/plugbase.h:178: parse error before `Event'
> ../../src/plugbase.h:189: parse error before `Event'
> ../../src/plugbase.h:191: parse error before `Event'
> In file included from spo_alert_fast.c:45:
> ../../src/parser.h:89: parse error before `*'
> ../../src/parser.h:89: 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:47:
> ../../src/log.h:74: parse error before `Event'
> ../../src/log.h:75: parse error before `Event'
> ../../src/log.h:79: parse error before `*'
> spo_alert_fast.c:78: parse error before `Event'
> spo_alert_fast.c:133: parse error before `Event'
> spo_alert_fast.c: In function `AlertFast':
> spo_alert_fast.c:136: `arg' undeclared (first use in this function)
> spo_alert_fast.c:136: (Each undeclared identifier is reported only once
> spo_alert_fast.c:136: for each function it appears in.)
> spo_alert_fast.c:139: `p' undeclared (first use in this function)
> spo_alert_fast.c:145: `msg' undeclared (first use in this function)
> spo_alert_fast.c:149: `event' undeclared (first use in this function)
> spo_alert_fast.c:193: warning: unreachable code at beginning of switch 
> statement
> make[3]: *** [spo_alert_fast.o] Error 1
> make[3]: Leaving directory 
> `/usr/local/src/snort/snort-2.0.0/src/output-plugins'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/snort/snort-2.0.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/snort/snort-2.0.0'
> make: *** [all] Error 2
>
>
>
> any help appreciated...
>
> darryl
>
>
>






More information about the Snort-users mailing list