public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.19-ac4 build problem
@ 2002-09-04  5:50 Peter
  2002-09-04 16:21 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Peter @ 2002-09-04  5:50 UTC (permalink / raw)
  To: linux-kernel


Is there a fix for this compilation problem? I've tried gcc 2.95.3, 3.0, 
and 3.1 and get the same:

drivers/usb/usbdrv.o: In function `hidinput_hid_event':
drivers/usb/usbdrv.o(.text+0x127f1): undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x12889): undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x128e1): undefined reference to `input_event'
drivers/usb/usbdrv.o(.text+0x12967): undefined reference to `input_event'
drivers/usb/usbdrv.o: In function `hidinput_connect':
drivers/usb/usbdrv.o(.text+0x12bc0): undefined reference to `input_register_device'
drivers/usb/usbdrv.o: In function `hidinput_hid_event':
drivers/usb/usbdrv.o(.text+0x12848): undefined reference to `input_event'
drivers/usb/usbdrv.o: In function `hidinput_disconnect':
drivers/usb/usbdrv.o(.text+0x12bdd): undefined reference to `input_unregister_device'
make: *** [vmlinux] Error 1

I'm trying to get USB keyboard and mouse support, so I'd like to keep the 
hidinput options.

Cheers,
Peter


#
# Input core support
#
CONFIG_INPUT=m
CONFIG_INPUT_KEYBDEV=m
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_EVDEV is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=y
# CONFIG_USB_UHCI_ALT is not set
# CONFIG_USB_OHCI is not set


#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
CONFIG_USB_STORAGE_ISD200=y
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_WACOM is not set

#
# USB Imaging devices
#
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
CONFIG_USB_SCANNER=m
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

No additional USB devices are set.


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: 2.4.19-ac4 build problem
@ 2002-09-04 20:19 Peter
  2002-09-04 21:26 ` Greg KH
  0 siblings, 1 reply; 17+ messages in thread
From: Peter @ 2002-09-04 20:19 UTC (permalink / raw)
  To: linux-kernel


Hi Greg -

Agree -- I couldn't find it either. This may be a makefile error:

linux-2.4.19-ac4 # grep usbdrv.o * -r
Makefile:DRIVERS-$(CONFIG_USB) += drivers/usb/usbdrv.o
drivers/usb/Makefile:O_TARGET   := usbdrv.o

The kernel compiled fine when I defined Input core support in the kernel
rather than as modules (cf. below). And USB is working great -- keyboard, 
cordless mouse, webcam, scanner, printer, the works.

Cheers,
Peter


Does not compile:

#
# Input core support
#
CONFIG_INPUT=m
CONFIG_INPUT_KEYBDEV=m
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_EVDEV is not set

Compiles:

#
# Input core support
#
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=y
CONFIG_INPUT_EVDEV=y

I don't know if the last two lines matter.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2003-01-21  1:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-04  5:50 2.4.19-ac4 build problem Peter
2002-09-04 16:21 ` Greg KH
2002-09-05  3:59 ` Peter
2002-09-05  6:58   ` Greg KH
2002-09-12  2:41   ` 2.4.19-ac4 Out of Memory cogwepeter
2003-01-10  2:35     ` 2.4.19 -- ac97_codec failure ALi 5451 Peter
2003-01-10  2:50       ` Alan Cox
2003-01-10  4:30         ` Peter
2003-01-10 13:15         ` Peter
2003-01-10 13:36           ` Alan Cox
2003-01-21  0:41             ` 2.4.20 USB storage (SCSI emulation) Peter Nome
2003-01-21  1:18               ` Matthew Dharm
2003-01-21  2:01                 ` Peter Nome
2002-09-05  8:00 ` 2.4.19-ac4 build problem Peter
2002-09-05 16:26   ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2002-09-04 20:19 Peter
2002-09-04 21:26 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox