Subject: current build failure ehci.c
To: NetBSD current-users <current-users@netbsd.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 04/27/2005 16:17:53
This is with rev 1.94 of ehci.c

#   compile  GENERIC.MPACPI.DEBUG/ehci.o
cc -ffreestanding -g -O2 -Werror -Wall -Wno-main -Wno-format-zero- 
length -Wpoint
er-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-sign-compare - 
fno-zero-in
itialized-in-bss -Di386 -I. -I/usr/src/sys/arch -I/usr/src/sys - 
nostdinc -DLKM -
DDIAGNOSTIC -DDEBUG -DUSB_DEBUG -DUHCI_DEBUG -DEHCI_DEBUG - 
DMAXUSERS=32 -D_KERNE
L -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/dev/usb/ehci.c
/usr/src/sys/dev/usb/ehci.c:315: error: `EHCI_MAX_POLLRATE'  
undeclared here (not
in a function)
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
/usr/src/sys/dev/usb/ehci.c:316: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c:316: warning: excess elements in scalar  
initializer
...
/usr/src/sys/dev/usb/ehci.c:323: warning: (near initialization for  
`revbits')
/usr/src/sys/dev/usb/ehci.c: In function `ehci_init':
/usr/src/sys/dev/usb/ehci.c:464: error: `EHCI_MAX_POLLRATE'  
undeclared (first us
e in this function)
/usr/src/sys/dev/usb/ehci.c:464: error: (Each undeclared identifier  
is reported
only once
/usr/src/sys/dev/usb/ehci.c:464: error: for each function it appears  
in.)
/usr/src/sys/dev/usb/ehci.c: At top level:
/usr/src/sys/dev/usb/ehci.c:315: error: storage size of `revbits'  
isn't known
/usr/src/sys/dev/usb/ehci.c:315: warning: `revbits' defined but not used
*** Error code 1

Stop.
make: stopped in /usr/src/sys/arch/i386/compile/obj/GENERIC.MPACPI.DEBUG