On Thu, 29 Dec 2022 at 12:33:43 +0100, BERTRAND Joël wrote:
First issue on Netbsd-10. net-snmp build fails with following error:
mibgroup/mibII/ipv6.c: In function 'var_udp6':
mibgroup/mibII/ipv6.c:1630:19: error: 'struct in6pcb' has no member
named 'in6p_af'
1630 | if (in6pcb.in6p_af != AF_INET6)
| ^
mibgroup/mibII/ipv6.c:1655:34: error: 'struct in6pcb' has no member
named 'in6p_laddr'
1655 | newname[j++] = in6pcb.in6p_laddr.s6_addr[i];
| ^
In file included from /usr/include/sys/stdint.h:35,
from /usr/include/sys/inttypes.h:39,
from /usr/include/sys/param.h:104,
from ../include/net-snmp/system/netbsd.h:3,
from ../include/net-snmp/net-snmp-config.h:2324,
from mibgroup/mibII/ipv6.c:6:
This is fallout from inpcb changes made as of 9.99.104. A similar issue
exists with sysutils/lsof. (I occasionally use the latter, but hadn't
got around to looking at this in detail.)