pkgsrc-Users archive

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

Re: net/net-snmp fails to build



This is likely due to thorpej's rototill of stat storage.

http://mail-index.netbsd.org/source-changes/2008/04/07/msg004617.html
(specifically ip_var.h rev 1.85)

net-snmp is going to have to cope with the array instead of the struct.


On 12/04/2008, at 2:57 AM, Jukka Salmi wrote:

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