[Snort-devel] Today's (last nights - midnight CST) CVS on Solaris 2.6

Bill Marquette wlmarque at ...10...
Mon Feb 26 15:08:09 EST 2001


Just an FYI, during compile I got the following warnings (that's all of them :)
)

tag.c: In function `PruneNode':
tag.c:315: warning: `ret_node' might be used uninitialized in this function
tag.c: In function `ParseTag':
tag.c:422: warning: passing arg 1 of `strtok' from incompatible pointer type


And oddly enough (I have auto* installed on this machine), after snort compiled,
autoheader ran and created the config.h :-/

gcc -DHAVE_CONFIG_H -I. -I. -I.   -DBSD_COMP -I/usr/local/include/mysql
-DENABLE_MYSQL  -g -O2 -Wall -c spp_unidecode.c
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DBSD_COMP -I/usr/local/include/mysql
-DENABLE_MYSQL  -g -O2 -Wall -c codes.c
gcc  -g -O2 -Wall -L/usr/local/lib/mysql -o snort  snort.o log.o decode.o
mstring.o rules.o plugbase.o  sp_pattern_matc
h.o sp_tcp_flag_check.o sp_icmp_type_check.o  sp_icmp_code_check.o
sp_ttl_check.o sp_ip_id_check.o sp_tcp_ack_check.o
sp_tcp_seq_check.o sp_dsize_check.o spp_http_decode.o spp_minfrag.o
spp_portscan.o sp_ipoption_check.o sp_rpc_check.o
sp_icmp_id_check.o  sp_icmp_seq_check.o sp_respond.o spo_alert_syslog.o
spo_log_tcpdump.o  spo_database.o sp_session.o
spp_defrag.o parser.o spo_alert_fast.o  spo_alert_full.o spo_alert_smb.o
spo_alert_unixsock.o sp_react.o  spo_xml.o sp_
ip_tos_check.o spp_tcp_stream.o snprintf.o checksum.o  sp_reference.o
sp_ip_fragbits.o spp_anomsensor.o tag.o spp_unide
code.o  codes.o  -lz -lpcap -lm -lsocket -lnsl  -lmysqlclient
cd . && autoheader
configure.in:16: warning: AC_TRY_RUN called without default to allow cross
compiling
cd . \
  && CONFIG_FILES= CONFIG_HEADERS=config.h \
     /bin/sh ./config.status
creating config.h

[billm at ...288... ~/IDS/snort/snort]$ uname -a
SunOS tokai 5.6 Generic_105181-19 sun4m sparc SUNW,SPARCstation-20
[billm at ...288... ~/IDS/snort/snort]$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/specs
gcc version 2.95.2 19991024 (release)

Other than that, looks good...now to see if snort still runs :)

--Bill






More information about the Snort-devel mailing list