mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* ieee1394 does not compile
@ 2001-07-27 21:28 root
  0 siblings, 0 replies; only message in thread
From: root @ 2001-07-27 21:28 UTC (permalink / raw)
  To: linux-kernel



I have the following in my .config

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
CONFIG_IEEE1394=y

#
# Device Drivers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=y

#
# Protocol Drivers
#
CONFIG_IEEE1394_VIDEO1394=y
CONFIG_IEEE1394_SBP2=y
CONFIG_IEEE1394_RAWIO=y
# CONFIG_IEEE1394_VERBOSEDEBUG is not set

And I get the following message when make bzImage

ld -m elf_i386  -r -o ieee1394drv.o ieee1394.o ohci1394.o video1394.o raw1394.o sbp2.o
raw1394.o(.data+0x8): multiple definition of `host_info_lock'
ieee1394.o(.data+0x8c): first defined here
make[3]: *** [ieee1394drv.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/ieee1394'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/ieee1394'
make[1]: *** [_subdir_ieee1394] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

After changing in raw1394.c:

spinlock_t host_info_lock = SPIN_LOCK_UNLOCKED;

into:

extern spinlock_t host_info_lock;

everything compiles fine!

-----
Milan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-27 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-27 21:28 ieee1394 does not compile root

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®