drivers/ieee1394 duplicate symbol, 2.4.8-pre4

Keith Owens (kaos@ocs.com.au)
Mon, 06 Aug 2001 13:46:40 +1000


drivers/ieee1394/raw1394.c:spinlock_t host_info_lock = SPIN_LOCK_UNLOCKED;
drivers/ieee1394/nodemgr.c:spinlock_t host_info_lock = SPIN_LOCK_UNLOCKED;

when both raw1394 and nodemgr are linked into vmlinux, it gets

drivers/ieee1394/raw1394.o(.data+0x8): multiple definition of `host_info_lock'
drivers/ieee1394/ieee1394.o(.data+0x8c): first defined here

Either host_info_lock should be static or it should be defined as
extern in one source and referenced in the others.

-
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/