Subject: pkg/15244: ucd-snmp-current does not build on NetBSD/i386 1.5.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <he@uninett.no>
List: netbsd-bugs
Date: 01/14/2002 14:13:06
>Number:         15244
>Category:       pkg
>Synopsis:       ucd-snmp-current does not build on NetBSD/i386 1.5.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 05:15:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Havard Eidnes
>Release:        NetBSD 1.5.2
>Organization:
UNINETT AS
>Environment:
NetBSD nsa.uninett.no 1.5.2 NetBSD 1.5.2 (GENERIC) #59: Tue Sep 18 14:16:20 CEST 2001     he@nsa.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

Architecture: i386
Machine: i386
>Description:
	Build failure of ucd-snmp-current.  End of compile log is:


cc -DINET6 -I/usr/pkgsrc/net/ucd-snmp-current/work/.buildlink/include -O2 -Dnetbsd1 -Dnetbsd -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -I/usr/pkgsrc/net/ucd-snmp-current/work/.buildlink/include -I/usr/include -c host/hr_disk.c  -fPIC -DPIC -o host/.libs/hr_disk.lo
host/hr_disk.c: In function `Save_HR_Disk_Specific':
host/hr_disk.c:758: invalid use of undefined type `struct disklabel'
host/hr_disk.c: In function `Save_HR_Disk_General':
host/hr_disk.c:775: `dktypenames' undeclared (first use in this function)
host/hr_disk.c:775: (Each undeclared identifier is reported only once
host/hr_disk.c:775: for each function it appears in.)
host/hr_disk.c:775: invalid use of undefined type `struct disklabel'
host/hr_disk.c: In function `Query_Disk':
host/hr_disk.c:826: sizeof applied to an incomplete type
host/hr_disk.c: At top level:
host/hr_disk.c:130: storage size of `HRD_info' isn't known
*** Error code 1

Stop.


>How-To-Repeat:
	Try to compile ucd-snmp-current 4.2.3 (i.e. what's in pkgsrc
	at the moment for ucd-snmp-current)
>Fix:
	Sorry, undiagnosed at the moment.
>Release-Note:
>Audit-Trail:
>Unformatted: