[meta-xilinx] [linux-xlnx] uio as module fails to link
Jean-Francois Dagenais
jeff.dagenais at gmail.com
Mon Jul 8 09:01:03 PDT 2019
Anyone tried that? I get:
WARNING: modpost: missing MODULE_LICENSE() in drivers/uio/uio_dmabuf.o
see include/linux/module.h for more information
ERROR: "uio_dmabuf_map" [drivers/uio/uio.ko] undefined!
ERROR: "uio_dmabuf_unmap" [drivers/uio/uio.ko] undefined!
ERROR: "uio_dmabuf_cleanup" [drivers/uio/uio.ko] undefined!
uio/Makefile shows:
obj-$(CONFIG_UIO) += uio.o uio_dmabuf.o
I got it to compile by hacking uio.c to #include uio_dmabuf.c instead of the .h but that's probably not the correct way to fix this.
More information about the meta-xilinx
mailing list