[Snort-users] Snort 1.9.0 on solaris

Szymon Miotk spam at ...7247...
Wed Oct 30 07:04:09 EST 2002


Chris Green wrote:
> Szymon Miotk <spam at ...7247...> writes:
> 
> 
>>Hi!
>>Seems like someone forgot, that on Solaris bzero and bcopy functions
>>are defined in <strings.h>, not <string.h>.
>>Snort compiles after addition of
>>#include <strings.h>
>>to config.h (file created by ./configure)
>>
> 
> 
> What file did it fail on compilation of?

Sorry for late reply. I was offline for a few days :)
It issued warnings about bzero and bcopy:

spo_alert_unixsock.c:200: warning: implicit declaration of function `bcopy'

It should fail to compile every file, which uses bzero and bcopy 
functions (I stopped compilation and fixed the bug).
Those files are:

decode.c
detection-plugins/sp_pattern_match.c
detection-plugins/sp_react.c
detection-plugins/sp_session.c
log.c
mempool.c
output-plugins/spo_alert_fast.c
output-plugins/spo_alert_full.c
output-plugins/spo_alert_smb.c
output-plugins/spo_alert_syslog.c
output-plugins/spo_alert_unixsock.c
output-plugins/spo_csv.c
output-plugins/spo_database.c
output-plugins/spo_log_tcpdump.c
output-plugins/spo_xml.c
output-plugins/spo_unified.c
output-plugins/spo_log_ascii.c
output-plugins/spo_alert_fast.o
output-plugins/spo_alert_full.o
output-plugins/spo_alert_syslog.o
output-plugins/spo_alert_unixsock.o
output-plugins/spo_csv.o
parser.c
plugbase.c
preprocessors/spp_http_decode.c
preprocessors/spp_rpc_decode.c
preprocessors/spp_stream4.c
preprocessors/spp_telnet_negotiation.c
preprocessors/spp_conversation.c
prototypes.h
snort.c
util.c

Szymon Miotk





More information about the Snort-users mailing list