From: Adrian Bunk <bunk@fs.tum.de>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
dbrownell@users.sourceforge.net
Cc: linux-kernel@vger.kernel.org, greg@kroah.com,
linux-usb-devel@lists.sourceforge.net
Subject: 2.4.23-pre8: link error with multiple USB Gadget drivers
Date: Thu, 23 Oct 2003 21:59:45 +0200 [thread overview]
Message-ID: <20031023195945.GJ11807@fs.tum.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0310222116270.1364-100000@logos.cnet>
I'm getting the following link error when trying to compile multiple
Gadget drivers statically into the kernel:
<-- snip -->
...
ld -m elf_i386 -r -o built-in.o net2280.o g_zero.o g_ether.o
g_ether.o(.text+0x1a60): In function `usb_gadget_get_string':
: multiple definition of `usb_gadget_get_string'
g_zero.o(.text+0xe50): first defined here
make[3]: *** [built-in.o] Error 1
make[3]: Leaving directory `/home/bunk/linux/kernel-2.4/linux-2.4.23-pre8-full/drivers/usb/gadget'
<-- snip -->
IIRC this issue was fixed many months ago in 2.6, and a similar fix
(disallowing multiple Gatget drivers) is also needed in 2.4 .
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
next prev parent reply other threads:[~2003-10-23 19:59 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-22 23:24 Linux 2.4.23-pre8 Marcelo Tosatti
2003-10-23 1:53 ` viro
2003-10-23 15:45 ` Matt Zimmerman
2003-10-23 7:05 ` Jeff Chua
2003-10-23 11:26 ` Marcelo Tosatti
2003-10-23 14:07 ` [patch] 2.4.23-pre8: link error with both megaraid drivers Adrian Bunk
2003-10-23 14:18 ` Matthew Wilcox
2003-10-23 19:42 ` Adrian Bunk
2003-10-23 15:22 ` Linux 2.4.23-pre8 laurent.ml
2003-10-23 20:23 ` Olaf Hering
2003-10-23 17:05 ` Peter Osterlund
2003-10-23 17:48 ` Marcelo Tosatti
2003-10-23 18:12 ` Philipp Matthias Hahn
2003-10-23 18:59 ` Trond Myklebust
2003-10-23 21:20 ` Andre Tomt
2003-10-23 21:55 ` Trond Myklebust
2003-10-23 19:47 ` 2.4.23-pre8: usbnet.c doesn't compile with gcc 2.95 Adrian Bunk
2003-10-23 22:03 ` Greg KH
2003-10-23 22:43 ` Adrian Bunk
2003-10-23 19:59 ` Adrian Bunk [this message]
2003-10-24 16:47 ` 2.4.23-pre8: link error with multiple USB Gadget drivers David Brownell
2003-10-23 23:09 ` Linux 2.4.23-pre8 Lukasz Trabinski
2003-10-24 0:26 ` Andre Tomt
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=20031023195945.GJ11807@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=dbrownell@users.sourceforge.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
--cc=marcelo.tosatti@cyclades.com \
/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
Powered by JetHome