[Snort-users] Compiling prob with snmp on RH 7.2

Poppi, Sandro Sandro.Poppi at ...3316...
Fri Feb 15 06:50:12 EST 2002


Hi,

I'm having probs compiling snort 1.8.4beta1 on a RedHat Linux 7.2 with snmp
support. Here's the output I get:

[snip]
gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap  -I/usr/include/pcap
-I/usr/include/mysql -DENABLE_MYSQL -DENABLE_SNMP -I/usr/include -g -O2 -g
-O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -c ../../spo_log_null.c
../../spo_SnmpTrap.c: In function `ParseSnmpTrapArgs':
../../spo_SnmpTrap.c:501: warning: assignment makes integer from pointer
without a cast
../../spo_SnmpTrap.c:555: warning: assignment makes integer from pointer
without a cast
../../spo_SnmpTrap.c: At top level:
/usr/include/ucd-snmp/version.h:1: warning: `VersionInfo' defined but not
used
gcc -g -O2 -g -O2 -Wall -DENABLE_RESPONSE -D_BSD_SOURCE -D__BSD_SOURCE
-D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -L/usr/lib/mysql
-L/usr/lib  -o snort  snort.o log.o decode.o mstring.o rules.o plugbase.o
sp_pattern_match.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_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
snprintf.o checksum.o spp_tcp_stream2.o sp_reference.o sp_ip_fragbits.o
spp_anomsensor.o tag.o spp_unidecode.o codes.o strlcpyu.o strlcatu.o debug.o
sp_tcp_win_check.o spp_rpc_decode.o spp_bo.o spp_telnet_negotiation.o
spo_csv.o sp_ip_same_check.o sp_priority.o sp_ip_proto.o ubi_BinTree.o
ubi_SplayTree.o spo_unified.o spp_stream4.o spp_frag2.o spp_arpspoof.o
spo_idmef.o spo_SnmpTrap.o spo_log_null.o  -lpcap -lm -lnsl  -lmysqlclient
-lsnmp  -lnet
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp.so: undefined reference to `HMAC'
/usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [snort] Error 1
make[2]: Leaving directory
`/usr/src/redhat/BUILD/snort-1.8.4beta1/building/mysql+flexresp+snmp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/BUILD/snort-1.8.4beta1/building/mysql+flexresp+snmp'
make: *** [all-recursive-am] Error 2

Installed are the original RPMs:

ucd-snmp-utils-4.2.1-7
ucd-snmp-devel-4.2.1-7
ucd-snmp-4.2.1-7
openssl095a-0.9.5a-11
openssl-perl-0.9.6b-8
openssl-0.9.6b-8
openssl-devel-0.9.6b-8

For me it seems that there may be a prob between ucd-snmp and openssl. Any
suggestions?

TIA,
Sandro




More information about the Snort-users mailing list