I received the following error compiling net/net-snmp on -current
i386. I have just built a new kernel and userland from yesterday
morning's sources. I will try to debug this but I will report it
in the meantime in case someone else has already worked out a patch.
cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../
snmplib -I/usr/obj/net/net-snmp/work.i386/.buildlink/include -fno-
strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/obj/net/
net-snmp/work.i386/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-
multi/CORE -DNETSNMP_ENABLE_IPV6 -O2 -Dnetbsd1 -Unetbsdelf -
Dnetbsdelf=netbsdelf -c mibII/ip.c -fPIC -DPIC -o mibII/.libs/ip.o
mibII/ip.c: In function 'ip_handler':
mibII/ip.c:367: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:370: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:371: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:372: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:372: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:372: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:375: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:378: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:433: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:444: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:444: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:451: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:452: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c:452: error: invalid use of undefined type 'struct ipstat'
mibII/ip.c: In function 'ip_load':
mibII/ip.c:861: error: invalid application of 'sizeof' to incomplete
type 'struct ipstat'
mibII/ip.c: In function 'ip_free':
mibII/ip.c:959: error: invalid application of 'sizeof' to incomplete
type 'struct ipstat'
*** Error code 1
--
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/