pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

net/net-snmp fails to build



Hello,

net/net-snmp from pkgsrc HEAD fails to build on a -current NetBSD/i386
system:

[...]
 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-I/b/build/pkg/c/net/net-snmp/work/.buildlink/include -fno-strict-aliasing 
-pipe -Wdeclaration-after-statement 
-I/b/build/pkg/c/net/net-snmp/work/.buildlink/lib/perl5/5.8.0/i386-netbsd-thread-multi/CORE
 -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

Stop.
make: stopped in /b/build/pkg/c/net/net-snmp/work/net-snmp-5.4.1/agent/mibgroup
*** Error code 1
[...]


I don't see any recent changes to the package. Any hints?


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~


Home | Main Index | Thread Index | Old Index