[TriLUG] help - kernel complie error

Tom 'spot' Callaway tcallawa at redhat.com
Wed Feb 5 13:42:56 EST 2003


On Wed, 2003-02-05 at 13:40, Greg wrote:

> drivers/usb/usbdrv.o: In function `hidinput_hid_event':
> drivers/usb/usbdrv.o(.text+0xdecd): undefined reference to `input_event'
> drivers/usb/usbdrv.o(.text+0xdf4a): undefined reference to `input_event'
> drivers/usb/usbdrv.o(.text+0xdfa1): undefined reference to `input_event'
> drivers/usb/usbdrv.o(.text+0xe026): undefined reference to `input_event'
> drivers/usb/usbdrv.o: In function `hidinput_connect':
> drivers/usb/usbdrv.o(.text+0xe24c): undefined reference to
> `input_register_device'
> drivers/usb/usbdrv.o: In function `hidinput_hid_event':
> drivers/usb/usbdrv.o(.text+0xdf0d): undefined reference to `input_event'
> drivers/usb/usbdrv.o: In function `hidinput_disconnect':
> drivers/usb/usbdrv.o(.text+0xe269): undefined reference to
> `input_unregister_device'
> make: *** [vmlinux] Error 1
> 
> On a hunch I thought his must have something to do with the USB system
> so I mucked around in there and couldn't find anything too terribly
> incorrect (though, as we may recall I'm still new to this).  I'll copy
> the stuff related to USB at the end of this e-mail.

Exerpted from the help message off CONFIG_USB_HIDINPUT:

You also need Input layer support, (CONFIG_INPUT) which you select under
"Input core support".

This is very likely the source of your error. Make sure that
CONFIG_INPUT and CONFIG_INPUT_KEYBDEV are enabled.

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> (SAIR LCA, RHCE)
GPG: D786 8B22 D9DB 1F8B 4AB7  448E 3C5E 99AD 9305 4260
Red Hat Field Sales Engineer :: http://www.redhat.com
Aurora SPARC Linux Project Leader :: http://www.auroralinux.org

The words and opinions reflected in this message do not necessarily
reflect those of my employer, Red Hat, or my project, Aurora 
SPARC Linux and belong solely to me.




More information about the TriLUG mailing list