Subject: pkg/12498: net/ucd-snmp won't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Steven M. Bellovin <smb@challenger.research.att.com>
List: netbsd-bugs
Date: 03/28/2001 21:02:52
>Number:         12498
>Category:       pkg
>Synopsis:       net/ucd-snmp won't build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 28 18:04:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Steven M. Bellovin
>Release:        <NetBSD-current 2001/02/06>
>Organization:
		--Steve Bellovin, http://www.research.att.com/~smb
>Environment:
Athalon 700 Mhz
System: NetBSD challenger.research.att.com 1.5R NetBSD 1.5R (MIKADO) #2: Sat Mar 24 20:16:26 EST 2001 root@:/usr/src/sys/arch/i386/compile/MIKADO i386
Architecture: i386
Machine: i386
>Description:
	ucd-snmp won't build.

	cc -c -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -fPIC -shared -DINET6 -O2 -Dnetbsd1 -Dnetbsd1 -Dnetbsd host/hr_disk.c  -fPIC -DPIC -o host/.libs/hr_disk.o
	host/hr_disk.c: In function `Save_HR_Disk_Specific':
	host/hr_disk.c:436: invalid use of undefined type `struct disklabel'
	host/hr_disk.c: In function `Save_HR_Disk_General':
	host/hr_disk.c:453: `dktypenames' undeclared (first use in this function)
	host/hr_disk.c:453: (Each undeclared identifier is reported only once
	host/hr_disk.c:453: for each function it appears in.)
	host/hr_disk.c:453: invalid use of undefined type `struct disklabel'
	host/hr_disk.c: In function `Query_Disk':
	host/hr_disk.c:490: sizeof applied to an incomplete type
	host/hr_disk.c: At top level:
	host/hr_disk.c:107: storage size of `HRD_info' isn't known
	*** Error code 1


>How-To-Repeat:
	cd /usr/pkgsrc/net/ucd-snmp; make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: