lkml.org 
[lkml]   [2000]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.0-test9-pre8, usb, unresolved symbols
Keith Owens wrote:
>
> Objects that export symbols must be explicitly listed before the
> calculation of OX_OBJS. usb.o is not explicitly listed as an object,
> it is implicitly included via the link of usbcore.
>
> Index: 0-test10-pre3.1/drivers/usb/Makefile
> --- 0-test10-pre3.1/drivers/usb/Makefile Mon, 02 Oct 2000 15:28:44 +1100
> kaos (linux-2.4/n/b/19_Makefile 1.1.1.10 644)
> +++ 0-test10-pre3.1(w)/drivers/usb/Makefile Wed, 18 Oct 2000 13:17:59
> +1100 kaos (linux-2.4/n/b/19_Makefile 1.1.1.10 644)
> @@ -38,7 +38,7 @@ obj- :=
>
> # Each configuration option enables a list of files.
>
> -obj-$(CONFIG_USB) += usbcore.o
> +obj-$(CONFIG_USB) += usbcore.o usb.o
> obj-$(CONFIG_USB_UHCI) += usb-uhci.o
> obj-$(CONFIG_USB_UHCI_ALT) += uhci.o
> obj-$(CONFIG_USB_OHCI) += usb-ohci.o

Keith-

We still need your help. Using this usb/Makefile change gives
me errors on all (?) exported symbols when I try to build all
of USB into the kernel. Example (one of many):

usbcore.o: In function `usb_set_address':
usbcore.o(.text+0x1b90): multiple definition of `usb_set_address'
usb.o(.text+0x1b90): first defined here


I guess that we could go ahead and merge usb-core.c into usb.c
if there's no good/simple solution to this.

Thanks,
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:1.402 / U:0.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site