Dear all I´m having an error when running make install, I´m having an issue with net-snmp and zabbix.
Configure ran fine
server:
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
rpm -qa | grep net-snmp
net-snmp-utils-5.1.2-22.el4
net-snmp-5.1.2-22.el4
net-snmp-libs-5.1.2-22.el4
net-snmp-libs-5.1.2-13.el4
net-snmp-devel-5.1.2-22.el4
./configure --enable-proxy --enable-agent --with-net-snmp --with-ssh2=/usr --with-oracle=yes --with-oracle-lib=/softw/app/oracle/product/10.2.0/db/lib --with-oracle-include=/softw/app/oracle/product/10.2.0/db
Zabbix version: zabbix-2.4.5
When running make install:
...
...
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/libs/zbxsysinfo/simple -I../../../src/libs/zbxdbcache -g -O2 -I/softw/app/oracle/product/10.2.0/db/rdbms/public -I/softw/app/oracle/product/10.2.0/db/rdbms/demo -I/usr/include/rpm -I/usr/include/rpm -I. -I/usr/include/net-snmp -I/usr/include -MT libzbxpoller_a-checks_snmp.o -MD -MP -MF .deps/libzbxpoller_a-checks_snmp.Tpo -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo './'`checks_snmp.c
checks_snmp.c: In function `zbx_snmp_open_session':
checks_snmp.c:423: error: `usmAESPrivProtocol' undeclared (first use in this function)
checks_snmp.c:423: error: (Each undeclared identifier is reported only once
checks_snmp.c:423: error: for each function it appears in.)
checks_snmp.c:424: error: `USM_PRIV_PROTO_AES_LEN' undeclared (first use in this function)
make[2]: *** [libzbxpoller_a-checks_snmp.o] Error 1
make[2]: Leaving directory `/home/zabbix/zabbix-2.4.5/src/zabbix_server/poller'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/zabbix/zabbix-2.4.5/src'
make: *** [install-recursive] Error 1
Appreciate your help to diagnose this error
Configure ran fine
server:
cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
rpm -qa | grep net-snmp
net-snmp-utils-5.1.2-22.el4
net-snmp-5.1.2-22.el4
net-snmp-libs-5.1.2-22.el4
net-snmp-libs-5.1.2-13.el4
net-snmp-devel-5.1.2-22.el4
./configure --enable-proxy --enable-agent --with-net-snmp --with-ssh2=/usr --with-oracle=yes --with-oracle-lib=/softw/app/oracle/product/10.2.0/db/lib --with-oracle-include=/softw/app/oracle/product/10.2.0/db
Zabbix version: zabbix-2.4.5
When running make install:
...
...
gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../src/libs/zbxsysinfo/simple -I../../../src/libs/zbxdbcache -g -O2 -I/softw/app/oracle/product/10.2.0/db/rdbms/public -I/softw/app/oracle/product/10.2.0/db/rdbms/demo -I/usr/include/rpm -I/usr/include/rpm -I. -I/usr/include/net-snmp -I/usr/include -MT libzbxpoller_a-checks_snmp.o -MD -MP -MF .deps/libzbxpoller_a-checks_snmp.Tpo -c -o libzbxpoller_a-checks_snmp.o `test -f 'checks_snmp.c' || echo './'`checks_snmp.c
checks_snmp.c: In function `zbx_snmp_open_session':
checks_snmp.c:423: error: `usmAESPrivProtocol' undeclared (first use in this function)
checks_snmp.c:423: error: (Each undeclared identifier is reported only once
checks_snmp.c:423: error: for each function it appears in.)
checks_snmp.c:424: error: `USM_PRIV_PROTO_AES_LEN' undeclared (first use in this function)
make[2]: *** [libzbxpoller_a-checks_snmp.o] Error 1
make[2]: Leaving directory `/home/zabbix/zabbix-2.4.5/src/zabbix_server/poller'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/zabbix/zabbix-2.4.5/src'
make: *** [install-recursive] Error 1
Appreciate your help to diagnose this error
Comment