2002-01-11 02:28:22

by Justin Pryzby

[permalink] [raw]
Subject: USB UHCI compile error

The following error is reported during the linking phase when USB UHCI
(Intel) support is enabled:


<-----

drivers/usb/usbdrv.o: In function `alloc_uhci':
drivers/usb/usbdrv.o(.text.init+0x2e2): undefined reference to
`uhci_pci_remove'make: *** [vmlinux] Error 1

<-----


Attached is my .config file.

I have tried with the 2.4.17 kernel, 2.5.1, and 2.4.18-pre3 patch on
2.5.17.

I swear I've done this before. Am I missing something?

Justin


Attachments:
.config (20.09 kB)

2002-01-11 05:00:27

by Dan Chen

[permalink] [raw]
Subject: Re: USB UHCI compile error

Compile in hotplug support as a workaround.

CONFIG_HOTPLUG=y
CONFIG_HOTPLUG_PCI=y

On Thu, Jan 10, 2002 at 09:28:01PM -0500, Justin Pryzby wrote:
> drivers/usb/usbdrv.o: In function `alloc_uhci':
> drivers/usb/usbdrv.o(.text.init+0x2e2): undefined reference to
> `uhci_pci_remove'make: *** [vmlinux] Error 1

--
Dan Chen [email protected]
GPG key: http://www.unc.edu/~crimsun/pubkey.gpg.asc


Attachments:
(No filename) (408.00 B)
(No filename) (232.00 B)
Download all attachments

2002-01-11 20:37:56

by Greg KH

[permalink] [raw]
Subject: Re: USB UHCI compile error

On Thu, Jan 10, 2002 at 11:57:18PM -0500, Dan Chen wrote:
> Compile in hotplug support as a workaround.
>
> CONFIG_HOTPLUG=y
> CONFIG_HOTPLUG_PCI=y

You don't need CONFIG_HOTPLUG_PCI unless you have a pci hotplug
controller (most people do not.)

CONFIG_HOTPLUG=y should solve the problem for now.

greg k-h