drivers/ieee1394 duplicate symbol, 2.4.8-pre4

From: Keith Owens (kaos@ocs.com.au)
Date: Sun Aug 05 2001 - 22:46:40 EST


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/



This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:36 EST