All pastes #627527 Raw Edit

ktdreyer

public text v1 · immutable
·published 2007-07-20 11:39 UTC
rendered paste body

./configure --prefix=/usr/local             \
            --with-default-snmp-version="3"     \
            --with-sys-contact="Unknown"    \
            --with-sys-location="Unknown"   \
            --with-logfile="/usr/local/var/snmpd.log"   \
            --with-persistent-directory="/usr/local/var/net-snmp"   \
            --with-out-mib-modules="mibII snmpv3mibs ucd_snmp agent_mibs agentx notification utilities disman/event disman/schedule host" \
            --with-cc=gcc

make


The error I got this time was:

-- SNIP --

gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o  ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl -lkvm -lcrypto -lkstat -lelf -lm -lnsl -lsocket -ladm  -Wl,--rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `run_exec_command'
./.libs/libnetsnmpmibs.so: undefined reference to `get_FilterProfileName'
./.libs/libnetsnmpagent.so: undefined reference to `vacm_standard_views'
./.libs/libnetsnmpmibs.so: undefined reference to `snmpNotifyFilterTable_vacm_view_subtree'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory `/home/dis/kdreyer/snmp/net-snmp-5.4/agent'
make: *** [subdirs] Error 1