pkgsrc-Bugs archive

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

pkg/38661: net-snmp doesn't build on current



>Number:         38661
>Category:       pkg
>Synopsis:       net-snmp doesn't build on current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 14 15:25:01 +0000 2008
>Originator:     bouyer%antioche.lip6.fr@localhost
>Release:        NetBSD 4.99.62
>Organization:
>Environment:
        
        
System: NetBSD 4.99.62/i386
Architecture: i386
Machine: i386
>Description:
        On current, pkgsrc/net/net-snmp fails to build with:
 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib 
-I/root/pkgsrc/net/net-snmp/work/.buildlink/include -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement 
-I/root/pkgsrc/net/net-snmp/work/.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

Stop.

>How-To-Repeat:
        on a -current system:
        cd pkgsrc/net/net-snmp; make
>Fix:



Home | Main Index | Thread Index | Old Index