$ tar net-snmp-5.0.8.tar.gz
$ cd net-snmp-5.0.8
$ ./configure --with-libwrap \
--with-mib-modules="mibII snmpv3mibs utilities host mibII/mta_sendmail ucd-snmp/diskio misc/ipfwacc" \
--with-transports="UDP TCP Unix"
(snip)
Default version of SNMP to use (3): <--- Enter
(snip)
System Contact Information (fuka@ts.dci.ad.jp): foo@example.co.jp
(snip)
System Location (Unknown): Nagoya city, Aichi, Japan
(snip)
Location to write logfile (/var/log/snmpd.log): <--- Enter
(snip)
Location to write persistent information (/var/net-snmp): <--- Enter
(snip)
$ make
(snip)
/bin/sh ../libtool --mode=link gcc -g -O2 -Dlinux -o snmpd snmpd.lo -L/usr/local/ssl/lib libnetsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la -lwrap ../snmplib/libnetsnmp.la -ldl -lz -lcrypto -lm
gcc -g -O2 -Dlinux -o .libs/snmpd snmpd.o -L/usr/local/ssl/lib ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so helpers/.libs/libnetsnmphelpers.so -lwrap ../snmplib/.libs/libnetsnmp.so -ldl -lz -lcrypto -lm -Wl,--rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `var_diskio'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] エラー 1
make[1]: 出ます ディレクトリ `/usr/local/src/net-snmp-5.0.8/agent'
make: *** [subdirs] エラー 1
|