[Snort-devel] Build 125 on solaris

Kreimendahl, Chad J Chad.Kreimendahl at ...1167...
Fri Apr 12 18:00:01 EDT 2002


So... here goes latest updates for compiling most recent snort (125) on
solaris 8 with gcc 3.0.2, binutils 2.11.2, make 3.79.1, gnu m4 1.4  (could
name more...)

BTW... works fine when 'snort -v'   Dumps core on 'snort -c snort.conf'
(will send core if you want (looked like something related to pcap).

Here are all the warnings we get on compile (with no args).  Looks like
mostly the lack of <strings.h> include for these files... with the rare
exeption of some different warnings in stream4 and snort.c

I'd write a patch for the first part, but it'd be just as easy to add 
include <strings.h> ... not sure why it's complaining about unsigned ints...
is there a way to make it shut up?  

anyway....


spo_alert_fast.c: In function `AlertFast':
spo_alert_fast.c:134: warning: implicit declaration of function `bzero'
spo_alert_full.c: In function `AlertFull':
spo_alert_full.c:162: warning: implicit declaration of function `bzero'
spo_alert_syslog.c: In function `AlertSyslog':
spo_alert_syslog.c:409: warning: implicit declaration of function `bzero'
spo_alert_unixsock.c: In function `AlertUnixSock':
spo_alert_unixsock.c:197: warning: implicit declaration of function `bzero'
spo_alert_unixsock.c:200: warning: implicit declaration of function `bcopy'
spo_csv.c: In function `RealAlertCSV':
spo_csv.c:258: warning: implicit declaration of function `bzero'
spo_log_tcpdump.c: In function `TcpdumpInitLogFile':
spo_log_tcpdump.c:275: warning: implicit declaration of function `bzero'
spo_unified.c: In function `UnifiedInitFile':
spo_unified.c:269: warning: implicit declaration of function `bzero'
spo_log_ascii.c: In function `OpenLogFile':
spo_log_ascii.c:178: warning: implicit declaration of function `bzero'
sp_ip_tos_check.c: In function `ParseIpTos':
sp_ip_tos_check.c:139: warning: implicit declaration of function `index'
sp_pattern_match.c: In function `PayloadSearchListInit':
sp_pattern_match.c:367: warning: implicit declaration of function `index'
sp_pattern_match.c: In function `ParsePattern':
sp_pattern_match.c:655: warning: implicit declaration of function `bzero'
sp_session.c: In function `OpenSessionFile':
sp_session.c:305: warning: implicit declaration of function `bzero'
sp_tcp_win_check.c: In function `ParseTcpWin':
sp_tcp_win_check.c:146: warning: implicit declaration of function `index'
spp_arpspoof.c: In function `ARPspoofPreprocFunction':
spp_arpspoof.c:255: warning: implicit declaration of function `bzero'
spp_arpspoof.c:315: warning: implicit declaration of function `bcopy'
spp_stream4.c: In function `ParseStream4Args':
spp_stream4.c:699: warning: `toks' might be used uninitialized in this
function
spp_stream4.c:700: warning: `num_toks' might be used uninitialized in this
function
spp_stream4.c: In function `OpenStatsFile':
spp_stream4.c:3178: warning: implicit declaration of function `bzero'
spp_stream4.c: At top level:
spp_stream4.c:327: warning: `DetectTTLEvasion' declared `static' but never
defined
decode.c: In function `DecodeEthPkt':
decode.c:53: warning: implicit declaration of function `bzero'
log.c: In function `PrintIPPkt':
log.c:340: warning: implicit declaration of function `bzero'
log.c: In function `PrintArpHeader':
log.c:762: warning: implicit declaration of function `bcopy'
parser.c: In function `ParseRulesFile':
parser.c:196: warning: implicit declaration of function `bzero'
parser.c: In function `ParseRuleOptions':
parser.c:1472: warning: implicit declaration of function `index'
parser.c: In function `ParseIP':
parser.c:2190: warning: implicit declaration of function `bcopy'
plugbase.c: In function `TCPOptionValue':
plugbase.c:1166: warning: implicit declaration of function `bzero'
snort.c: In function `ParseCmdLine':
snort.c:861: warning: implicit declaration of function `bcopy'
snort.c: In function `InterfaceThread':
snort.c:1580: warning: implicit declaration of function `bzero'
snort.c:1607: warning: unsigned int format, time_t arg (arg 2)
snort.c:1607: warning: unsigned int format, suseconds_t arg (arg 3)
util.c: In function `ts_print':
util.c:278: warning: implicit declaration of function `bzero'




More information about the Snort-devel mailing list