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

Kevin Pietersma kev at ...526...
Wed Oct 4 12:38:54 EDT 2000


-*> Snort! <*-
Version 1.7-beta0

P.S. This email took over a week to arrive on the list.


At 07:01 PM 10/3/00 -0400, Martin Roesch wrote:
>What version of Snort are you having problems with?
>
>    -Marty
>
>Kevin Pietersma wrote:
>> 
>> 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
>> 
>> _______________________________________________
>> Snort-users mailing list
>> Snort-users at lists.sourceforge.net
>> http://lists.sourceforge.net/mailman/listinfo/snort-users
>
>-- 
>Martin Roesch
>roesch at ...421...
>http://www.snort.org
> 




More information about the Snort-users mailing list