Thread (1 message) 1 message, 1 author, 2004-10-22

Re: 2.6.9-mm1: pc_debug multiple definitions

From: Russell King <hidden>
Date: 2004-10-22 23:13:05
Also in: lkml

On Fri, Oct 22, 2004 at 03:39:29PM +0200, Adrian Bunk wrote:
The following compile error comes from Linus' tree:


<--  snip  -->

...
  LD      drivers/built-in.o
drivers/pcmcia/built-in.o(.bss+0xf20): multiple definition of `pc_debug'
drivers/net/built-in.o(.data+0x24ae0): first defined here
make[1]: *** [drivers/built-in.o] Error 1

<--  snip  -->


The pc_debug in drivers/pcmcia/ds.c was made non-static in Linus' tree,
but the global definition of a global variable with such a generic name 
in drivers/net/wireless/prism54/islpci_mgt.c seems to be equally wrong.
I've forwarded it to Dominik to sort out with suggested solutions.
Hopefully Dominik will forward a fix soon.

(PS, I dropped David Hinds from the CC list - David doesn't maintain
2.6 PCMCIA.)

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help