Just installed a fresh copy of Ubuntu 12.0.4.3 (desktop) on a virtual machine,
downloaded net-snmp version 5.7.2 and when I run make, I get the following
errors:
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 ./.libs/libnetsnmpagent.so -L/usr/local/lib -L/usr/lib/perl/5.14/CORE
./.libs/libnetsnmpmibs.so /home/jugesd/net-snmp/agent/.libs/libnetsnmpagent.so
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so -lperl -ldl -lpthread -lc
-lcrypt ../snmplib/.libs/libnetsnmp.so -lrt -lm
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_tcpbase_recv'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_udpbase_recv'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_udpbase_send'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_tcpbase_send'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_ipv4_fmtaddr'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_sock_buffer_set'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_udpipv4_sendto'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_udpipv4base_transport'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_sockaddr_in2'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_set_non_blocking_mode'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_udpipv4_recvfrom'
/home/jugesd/net-snmp/snmplib/.libs/libnetsnmp.so: undefined reference to
`netsnmp_socketbase_close'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
Until that point, there was no error or warning.
I used default settings and instructions in
http://www.net-snmp.org/wiki/index.php/Net-Snmp_on_Ubuntu
Any help appreciated!
Didier Juges
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users