building 5.7.2.1 or 5.6.2.1 on net-bsd gives undefined reference errors for libnetsnmp.so
Hello, I am trying to build net-snmp on netbsd-6.1_RC4 and have tried both net-snmp-5.7.2.1 and net-snmp-5.6.2.1 and am getting the same error from make in both: undefined references to netbsd_read_ip_stat, netbsd_read_icmp_stat, netbsd_read_tcp_stat, and netbsd_read_udp_stat in libnetsnmp.so. I have just been doing the normal ./configure and make. I also did a nm -u on libnetsnmp.so and got a long list of undefined references. Thanks for any help -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: building 5.7.2.1 or 5.6.2.1 on net-bsd gives undefined reference errors for libnetsnmp.so
It appears this is related to the netbsd-6.1_RC4 release as I was able to successfully build net-snmp-5.7.2.1 on netbsd-5.2.2. On 2014-08-16 10:20, clearc...@lycos.com wrote: > Hello, > > I am trying to build net-snmp on netbsd-6.1_RC4 and have tried both > net-snmp-5.7.2.1 and net-snmp-5.6.2.1 and am getting the same error from make > in both: undefined references to netbsd_read_ip_stat, netbsd_read_icmp_stat, > netbsd_read_tcp_stat, and netbsd_read_udp_stat in libnetsnmp.so. I have just > been doing the normal ./configure and make. I also did a nm -u on > libnetsnmp.so and got a long list of undefined references. > > Thanks for any help > > -- > > ___ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders [1] Links: -- [1] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: building 5.7.2.1 or 5.6.2.1 on net-bsd gives undefined reference errors for libnetsnmp.so
Den 16-08-2014 kl. 16:20 skrev clearc...@lycos.com: > Hello, > > I am trying to build net-snmp on netbsd-6.1_RC4 and have tried both > net-snmp-5.7.2.1 and net-snmp-5.6.2.1 and am getting the same error from > make in both: undefined references to netbsd_read_ip_stat, > netbsd_read_icmp_stat, netbsd_read_tcp_stat, and netbsd_read_udp_stat in > libnetsnmp.so. I have just been doing the normal ./configure and make. I > also did a nm -u on libnetsnmp.so and got a long list of undefined > references. Do you really mean 6.1.RC4? It is more than a year old. 6.1.4 is the current release and has been out for 4 months! I just downloaded the 5.7.2.1 tarball to my 6.1.4 test system, and after ./configure --with-defaults it compiled without problems. And yes, the .so has a large number of undefined references, but that is to be expected. Those are references to libc, openssl, et c. /Niels -- Niels Baggesen -- @home -- Ã…rhus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders