[Snort-users] --enable-smbalerts won't compile

Fyodor fygrave at ...121...
Sun Oct 8 14:19:00 EDT 2000


On Tue, Oct 03, 2000 at 07:01:16PM -0400, Martin Roesch wrote:
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/pcap    -g -O2 -Wall
> > -DENABLE_SMB_ALERTS -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
> > -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c log.c
> > log.c: In function `PrintIPPkt':
> > log.c:424: warning: passing arg 1 of `ts_print' from incompatible pointer type
> > log.c: In function `AlertFull':
> > log.c:607: warning: passing arg 1 of `ts_print' from incompatible pointer type
> > log.c: In function `AlertFast':
> > log.c:672: warning: passing arg 1 of `ts_print' from incompatible pointer type
> > log.c: At top level:
> > log.c:795: conflicting types for `SmbAlert'
> > log.h:86: previous declaration of `SmbAlert'
> > log.c: In function `SmbAlert':
> > log.c:807: warning: passing arg 1 of `ts_print' from incompatible pointer type
> > log.c: In function `PrintArpHeader':
> > log.c:1088: warning: passing arg 1 of `ts_print' from incompatible pointer
> > type
> > make: *** [log.o] Error 1
> > 
 
 check it out now, fixed these warnings and function declaration missmatch.



More information about the Snort-users mailing list