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
On Sat, Jan 10, 2009 at 02:28:30PM +0100, Erik Ekman wrote:
> 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
>
Yeah, comedi doesn't like to be built into the kernel, I'm working on
that.
thanks,
greg k-h