Current-Users archive

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

Re: [5.0] USB device ignored on boot



On Mon, Jul 20, 2009 at 11:38:17AM -0400, Andreas Wrede wrote:
> I tried to build a kernel with USB_DEBUG but it won't build.
>
> First:
> /u2/netbsd-5.0/src/sys/dev/usb/ulpt.c: In function 'ulpt_do_read':
> /u2/netbsd-5.0/src/sys/dev/usb/ulpt.c:763: warning: format '%d' expects 
> type 'int', but argument 3 has type 'size_t'

I just filed a pullup request to fix this.

> fixing that gets me:
>
> hid.o: In function `hid_get_data':
> /u2/netbsd-5.0/src/sys/dev/usb/hid.c:438: undefined reference to  
> `uhidevdebug'
> [...]

I'm not seeing this though.

Ah, looks like the problem is that USB_DEBUG isn't declared in
files.*, so changing it doesn't change opt_*.h. Easiest approach for
now is to make clean, since it looks like it potentially affects a lot
of files.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index