NetBSD-Bugs archive

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

kern/49201: broken build with options USB_DEBUG (latest current)



>Number:         49201
>Category:       kern
>Synopsis:       broken build with options USB_DEBUG (latest current)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 13 04:05:00 +0000 2014
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.49
>Organization:
        
>Environment:
        
        
System: NetBSD temp.elements.tetera.org 6.99.49 NetBSD 6.99.49 (NOI915DRM) #0: 
Wed Aug 6 04:09:12 JST 2014 
ryo_on%bismuth.elements.tetera.org@localhost:/usr/obj/amd64/sys/arch/amd64/compile/NOI915DRM
 amd64
Architecture: x86_64
Machine: amd64
>Description:
If you have "options USB_DEBUG" in your kernel config.
build.sh kernel will not performed successfully as following.

--- ehci.o ---
In file included from /usr/src/sys/dev/usb/ehci.c:81:0:
/usr/src/sys/dev/usb/ehci.c: In function 'ehci_init':
/usr/src/sys/dev/usb/ehci.c:362:33: error: 'ehcidebug' undeclared (first use in 
this function)
  USBHIST_FUNC(); USBHIST_CALLED(ehcidebug);
                                 ^
/usr/src/sys/dev/usb/usbhist.h:62:7: note: in definition of macro 
'USBHIST_CALLED'
  if ((NAME) != 0) {     \
       ^
/usr/src/sys/dev/usb/ehci.c:362:33: note: each undeclared identifier is 
reported only once for each function it appears in
  USBHIST_FUNC(); USBHIST_CALLED(ehcidebug);
                                 ^
/
        
>How-To-Repeat:
        
>Fix:
        
I have no idea.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index