mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@digeo.com>, greg@kroah.com
Cc: linux-kernel@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net,
	David Brownell <david-b@pacbell.net>
Subject: [patch] 2.5.70-mm3: usb_gadget_* several times defined
Date: Sat, 31 May 2003 23:07:52 +0200	[thread overview]
Message-ID: <20030531210752.GK29425@fs.tum.de> (raw)
In-Reply-To: <20030531013716.07d90773.akpm@digeo.com>

It seems the following compile error comes from Linus' tree:

<--  snip  -->

...
  LD      drivers/built-in.o
drivers/usb/gadget/built-in.o(.text+0x2d00): In function 
`net2280_set_fifo_mode':
: multiple definition of `net2280_set_fifo_mode'
drivers/usb/built-in.o(.text+0xb9460): first defined here
drivers/usb/gadget/built-in.o(.text+0x6040): In function 
`usb_gadget_get_string':
: multiple definition of `usb_gadget_get_string'
drivers/usb/built-in.o(.text+0xbc7a0): first defined here
drivers/usb/gadget/built-in.o(.text+0x32c0): In function 
`usb_gadget_register_driver':
: multiple definition of `usb_gadget_register_driver'
drivers/usb/built-in.o(.text+0xb9a20): first defined here
drivers/usb/gadget/built-in.o(.text+0x3620): In function 
`usb_gadget_unregister_driver':
: multiple definition of `usb_gadget_unregister_driver'
drivers/usb/built-in.o(.text+0xb9d80): first defined here
make[1]: *** [drivers/built-in.o] Error 1

<--  snip  -->


The following patch fixes it (drivers/usb/Makefile now includes gadget/
entries):


--- linux-2.5.70-mm3/drivers/Makefile.old	2003-05-31 23:00:25.000000000 +0200
+++ linux-2.5.70-mm3/drivers/Makefile	2003-05-31 23:00:44.000000000 +0200
@@ -37,7 +37,6 @@
 obj-$(CONFIG_PARIDE) 		+= block/paride/
 obj-$(CONFIG_TC)		+= tc/
 obj-$(CONFIG_USB)		+= usb/
-obj-$(CONFIG_USB_GADGET)	+= usb/gadget/
 obj-$(CONFIG_INPUT)		+= input/
 obj-$(CONFIG_GAMEPORT)		+= input/gameport/
 obj-$(CONFIG_SERIO)		+= input/serio/



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  parent reply	other threads:[~2003-05-31 20:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-31  8:37 2.5.70-mm3 Andrew Morton
2003-05-31 13:56 ` [patch] 2.5.70-mm3: sdla.c doesn't compile Adrian Bunk
2003-05-31 14:07   ` Christoph Hellwig
2003-05-31 14:09 ` 2.5.70-mm3: LVM/device-mapper seems broken Sean Neakums
2003-05-31 14:18   ` Christophe Saout
2003-05-31 15:01     ` Sean Neakums
2003-05-31 15:11       ` Sean Neakums
2003-05-31 21:07 ` Adrian Bunk [this message]
2003-05-31 23:41   ` [patch] 2.5.70-mm3: usb_gadget_* several times defined David Brownell
2003-05-31 22:02 ` 2.5.70-mm3 Jordan Breeding
2003-06-02  9:17 ` 2.5.70-mm3 Alistair J Strachan
2003-06-02  9:29   ` 2.5.70-mm3 Andrew Morton
2003-06-02 10:06     ` 2.5.70-mm3 Alistair J Strachan
2003-06-03 16:51 ` 2.5.70-mm3 Mingming Cao
2003-06-03 17:39   ` 2.5.70-mm3 Andrew Morton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030531210752.GK29425@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@digeo.com \
    --cc=david-b@pacbell.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®