2.5.55: Two global symbols driver_lock

Adrian Bunk (bunk@fs.tum.de)
Fri, 10 Jan 2003 01:35:14 +0100


I got the following compile error in 2.5.55:

<-- snip -->

...
ld -m elf_i386 -r -o drivers/built-in.o drivers/pci/built-in.o
drivers/acpi/built-in.o drivers/pnp/built-in.o drivers/serial/built-in.o
drivers/parport/built-in.o drivers/base/built-in.o
drivers/char/built-in.o drivers/block/built-in.o drivers/misc/built-in.o
drivers/net/built-in.o drivers/media/built-in.o drivers/atm/built-in.o
drivers/ide/built-in.o drivers/scsi/built-in.o
drivers/ieee1394/built-in.o drivers/cdrom/built-in.o
drivers/video/built-in.o drivers/mtd/built-in.o
drivers/pcmcia/built-in.o drivers/block/paride/built-in.o
drivers/usb/built-in.o drivers/input/built-in.o
drivers/input/gameport/built-in.o drivers/input/serio/built-in.o
drivers/message/built-in.o drivers/i2c/built-in.o
drivers/telephony/built-in.o drivers/md/built-in.o
drivers/bluetooth/built-in.o drivers/hotplug/built-in.o
drivers/mca/built-in.o
drivers/i2c/built-in.o(.data+0x14): multiple definition of `driver_lock'
drivers/net/built-in.o(.data+0xcf14): first defined here
ld: Warning: size of symbol `driver_lock' changed from 4 to 20 in
drivers/i2c/built-in.o
make[1]: *** [drivers/built-in.o] Error 1

<-- snip -->

The offending files are:
drivers/i2c/i2c-core.c
drivers/net/aironet4500_proc.c

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

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