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

Kevin Pietersma kev at ...526...
Tue Sep 26 17:47:34 EDT 2000


Redhat Linux 6.2 kernel 2.2.14smp
snort source from CVS, grabbed today

prompt #  rpm -q -a|grep samba
samba-client-2.0.7-4
samba-common-2.0.7-4
prompt #  rpm -q -a|grep libpcap
libpcap-0.4-19

./configure --enable-smbalerts --enable-flexresp
make
...
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


./configure --enable-flexresp compiles fine.

Any help is appreciated, I'm not a programmer so I'm at a loss.

TIA
kev




More information about the Snort-users mailing list