Peter Kelemen
2017-06-16 12:05:27 UTC
During step 3) "make" i get error "undefined reference to 'init_usmConf :'
make[2]: Leaving directory `/home/snmp/net-snmp-5.7.1/agent/mibgroup'
/bin/bash ../libtool --mode=link gcc -fno-strict-aliasing -g -O2 -Ulinux
-Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o snmpd snmpd.lo
-L../snmplib/.libs -L../snmplib -L./.libs libnetsnmpagent.la
libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lm -Wl,-E
libtool: link: gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o .libs/snmpd
.libs/snmpd.o -Wl,-E -L../snmplib/.libs -L../snmplib -L./.libs
./.libs/libnetsnmpagent.so -L/usr/local/lib -L/usr/lib/perl/5.14/CORE
./.libs/libnetsnmpmibs.so
/home/snmp/net-snmp-5.7.1/agent/.libs/libnetsnmpagent.so -lperl -lpthread
-lc -lcrypt /home/snmp/net-snmp-5.7.1/snmplib/.libs/libnetsnmp.so -ldl
../snmplib/.libs/libnetsnmp.so -lm
./.libs/libnetsnmpagent.so: undefined reference to `init_usmConf'
./.libs/libnetsnmpagent.so: undefined reference to `init_vacm_conf'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/snmp/net-snmp-5.7.1/agent'
make: *** [subdirs] Error 1
make[2]: Leaving directory `/home/snmp/net-snmp-5.7.1/agent/mibgroup'
/bin/bash ../libtool --mode=link gcc -fno-strict-aliasing -g -O2 -Ulinux
-Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing
-pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o snmpd snmpd.lo
-L../snmplib/.libs -L../snmplib -L./.libs libnetsnmpagent.la
libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lm -Wl,-E
libtool: link: gcc -fno-strict-aliasing -g -O2 -Ulinux -Dlinux=linux
-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.14/CORE -o .libs/snmpd
.libs/snmpd.o -Wl,-E -L../snmplib/.libs -L../snmplib -L./.libs
./.libs/libnetsnmpagent.so -L/usr/local/lib -L/usr/lib/perl/5.14/CORE
./.libs/libnetsnmpmibs.so
/home/snmp/net-snmp-5.7.1/agent/.libs/libnetsnmpagent.so -lperl -lpthread
-lc -lcrypt /home/snmp/net-snmp-5.7.1/snmplib/.libs/libnetsnmp.so -ldl
../snmplib/.libs/libnetsnmp.so -lm
./.libs/libnetsnmpagent.so: undefined reference to `init_usmConf'
./.libs/libnetsnmpagent.so: undefined reference to `init_vacm_conf'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/snmp/net-snmp-5.7.1/agent'
make: *** [subdirs] Error 1