Getting linker error for Net-snmp. Need help

<[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <[email protected]>
Please let me know the fix for the same.

# make
making all in /usr/pkg/src/net-snmp-5.8/snmplib
making all in /usr/pkg/src/net-snmp-5.8/agent
making all in /usr/pkg/src/net-snmp-5.8/agent/helpers
making all in /usr/pkg/src/net-snmp-5.8/agent/mibgroup
/bin/sh ../libtool --mode=link gcc -g -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -Unetbsdelf7 -Dnetbsdelf7=netbsdelf7 -o snmpd snmpd.lo  libnetsnmpagent.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lm
libtool: link: gcc -g -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -Unetbsdelf7 -Dnetbsdelf7=netbsdelf7 -o .libs/snmpd .libs/snmpd.o  ./.libs/libnetsnmpagent.so ./.libs/libnetsnmpmibs.so /usr/pkg/src/net-snmp-5.8/agent/.libs/libnetsnmpagent.so /usr/pkg/src/net-snmp-5.8/snmplib/.libs/libnetsnmp.so -lkvm ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lm  -Wl,-rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_ip_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_icmp_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_icmp6_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_icmp_msg_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_icmp6_msg_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_tcp_stat'
./.libs/libnetsnmpmibs.so: undefined reference to `netbsd_read_udp_stat'

Regards,
Kiran

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.