[STAGING] comedi breaks build

From: Erik Ekman
Date: Sat Jan 10 2009 - 08:28:44 EST


Comedi does not build:

drivers/staging/comedi/kcomedilib/built-in.o: In function `comedi_unmap':
(.text+0x499): multiple definition of `comedi_unmap'
drivers/staging/comedi/comedi.o:(.text+0x18): first defined here
make[3]: *** [drivers/staging/comedi/built-in.o] Error 1
make[2]: *** [drivers/staging/comedi] Error 2
make[1]: *** [drivers/staging] Error 2

comedi_unmap() exists both in
drivers/staging/comedi/kcomedilib/kcomedilib_main.c and
drivers/staging/comedi/comedi_fops.c

.config extract:

CONFIG_STAGING=y
# CONFIG_STAGING_EXCLUDE_BUILD is not set
# CONFIG_ET131X is not set
# CONFIG_SLICOSS is not set
# CONFIG_ME4000 is not set
# CONFIG_MEILHAUS is not set
# CONFIG_VIDEO_GO7007 is not set
# CONFIG_USB_IP_COMMON is not set
# CONFIG_W35UND is not set
# CONFIG_PRISM2_USB is not set
# CONFIG_ECHO is not set
# CONFIG_USB_ATMEL is not set
# CONFIG_AGNX is not set
# CONFIG_OTUS is not set
# CONFIG_RT2860 is not set
# CONFIG_RT2870 is not set
# CONFIG_BENET is not set
CONFIG_COMEDI=y
# CONFIG_COMEDI_PCI_DRIVERS is not set
# CONFIG_COMEDI_USB_DRIVERS is not set
# CONFIG_ASUS_OLED is not set
# CONFIG_PANEL is not set
# CONFIG_ALTERA_PCIE_CHDMA is not set
# CONFIG_RTL8187SE is not set
# CONFIG_INPUT_MIMIO is not set
# CONFIG_TRANZPORT is not set

Found when doing a make randconfig.

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