[Userland] [OpenIndiana Distribution - Feature #4686] Bump NET-SNMP to 5.7.2.1

illumos project devnull at illumos.org
Fri Mar 14 07:46:16 UTC 2014


Issue #4686 has been updated by Alexander Pyhalov.


After massaging these patches so that they apply and build at least starts, I receive 
<pre>
/bin/bash ../../libtool  --mode=compile /usr/gcc/4.7/bin/gcc -I../../include -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/include -I. -I../../agent -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent -I../../agent/mibgroup -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent/mibgroup -I../../snmplib -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/snmplib -DFALSE_SHARING_ALIGN=64  -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -m32 -O3  -Usolaris2 -Dsolaris2=solaris2  -c -o ip-mib/data_access/systemstats_solaris2.lo ip-mib/data_access/systemstats_solaris2.c
libtool: compile:  /usr/gcc/4.7/bin/gcc -I../../include -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/include -I. -I../../agent -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent -I../../agent/mibgroup -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/agent/mibgroup -I../../snmplib -I/export/home/alp/srcs/oi-userland/components/net-snmp/net-snmp-5.7.2.1/snmplib -DFALSE_SHARING_ALIGN=64 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -m32 -O3 -Usolaris2 -Dsolaris2=solaris2 -c ip-mib/data_access/systemstats_solaris2.c  -fPIC -DPIC -o ip-mib/data_access/.libs/systemstats_solaris2.o
ip-mib/data_access/systemstats_solaris2.c: In function '_systemstats':
ip-mib/data_access/systemstats_solaris2.c:57:5: warning: incompatible implicit declaration of built-in function 'bzero' [enabled by default]
ip-mib/data_access/systemstats_solaris2.c: In function '_insert_entry':
ip-mib/data_access/systemstats_solaris2.c:127:9: error: too few arguments to function 'netsnmp_access_systemstats_entry_create'
In file included from ip-mib/data_access/systemstats_solaris2.c:6:0:
../../include/net-snmp/data_access/systemstats.h:87:1: note: declared here
ip-mib/data_access/systemstats_solaris2.c:162:14: error: 'netsnmp_ipstats' has no member named 'OutNoRoutes'
ip-mib/data_access/systemstats_solaris2.c:167:14: error: 'netsnmp_ipstats' has no member named 'OutDiscards'
ip-mib/data_access/systemstats_solaris2.c:168:14: error: 'netsnmp_ipstats' has no member named 'OutFragOKs'
ip-mib/data_access/systemstats_solaris2.c:169:14: error: 'netsnmp_ipstats' has no member named 'OutFragFails'
ip-mib/data_access/systemstats_solaris2.c:170:14: error: 'netsnmp_ipstats' has no member named 'OutFragCreates'
ip-mib/data_access/systemstats_solaris2.c: At top level:
ip-mib/data_access/systemstats_solaris2.c:214:1: error: redefinition of 'netsnmp_access_systemstats_arch_init'
ip-mib/data_access/systemstats_solaris2.c:15:1: note: previous definition of 'netsnmp_access_systemstats_arch_init' was here
ip-mib/data_access/systemstats_solaris2.c:225:1: error: redefinition of 'netsnmp_access_systemstats_container_arch_load'
ip-mib/data_access/systemstats_solaris2.c:26:1: note: previous definition of 'netsnmp_access_systemstats_container_arch_load' was here
ip-mib/data_access/systemstats_solaris2.c:253:1: error: redefinition of '_systemstats'
ip-mib/data_access/systemstats_solaris2.c:51:1: note: previous definition of '_systemstats' was here
ip-mib/data_access/systemstats_solaris2.c:272:1: error: redefinition of '_add_ipstats'
ip-mib/data_access/systemstats_solaris2.c:70:1: note: previous definition of '_add_ipstats' was here
ip-mib/data_access/systemstats_solaris2.c:326:1: error: redefinition of '_insert_entry'
ip-mib/data_access/systemstats_solaris2.c:124:1: note: previous definition of '_insert_entry' was here
make[3]: *** [ip-mib/data_access/systemstats_solaris2.lo] Error 1
make[3]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/agent/mibgroup'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/agent'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86'
gmake: *** [/export/home/alp/srcs/oi-userland/components/net-snmp/build/i86/.built] Error 2
</pre>

netsnmp_ipstats_s doesn't contain these fields.  It has HCOutNoRoutes, HCOutDiscards and so on, but they have different type.
----------------------------------------
Feature #4686: Bump NET-SNMP to 5.7.2.1
https://www.illumos.org/issues/4686

Author: Ken Mays
Status: New
Priority: Normal
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: 
Difficulty: Medium
Tags: snmp


Net-SNMP is a suite of software for using and deploying the SNMP protocol. It supports IPv4, IPv6, IPX, AAL5, Unix domain sockets and other transports. It contains a generic client library, a suite of command line applications, a highly extensible SNMP agent, perl modules and python modules.

Ref src: http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.2.1/

Affects pkgs:
system/management/snmp/net-snmp


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list