google / gasket-driver

GNU General Public License v2.0
47 stars 29 forks source link

build error with mainline kernel 5.16 (aarch64) #3

Closed yan-wyb closed 2 years ago

yan-wyb commented 2 years ago

There is the error message:

DKMS make.log for gasket-1.0 for kernel 5.16.0-rc2 (aarch64) Fri Dec 17 14:56:02 CST 2021 make: Entering directory '/usr/src/linux-headers-5.16.0-rc2' CC [M] /var/lib/dkms/gasket/1.0/build/gasket_core.o CC [M] /var/lib/dkms/gasket/1.0/build/gasket_ioctl.o CC [M] /var/lib/dkms/gasket/1.0/build/gasket_interrupt.o CC [M] /var/lib/dkms/gasket/1.0/build/gasket_page_table.o CC [M] /var/lib/dkms/gasket/1.0/build/gasket_sysfs.o CC [M] /var/lib/dkms/gasket/1.0/build/apex_driver.o LD [M] /var/lib/dkms/gasket/1.0/build/gasket.o LD [M] /var/lib/dkms/gasket/1.0/build/apex.o MODPOST /var/lib/dkms/gasket/1.0/build/Module.symvers ERROR: modpost: module gasket uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it. ERROR: modpost: module gasket uses symbol dma_buf_put from namespace DMA_BUF, but does not import it. ERROR: modpost: module gasket uses symbol dma_buf_get from namespace DMA_BUF, but does not import it. ERROR: modpost: module gasket uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it. ERROR: modpost: module gasket uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it. ERROR: modpost: module gasket uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it. make[1]: [scripts/Makefile.modpost:134: /var/lib/dkms/gasket/1.0/build/Module.symvers] Error 1 make[1]: Deleting file '/var/lib/dkms/gasket/1.0/build/Module.symvers' make: *** [Makefile:1761: modules] Error 2 make: Leaving directory '/usr/src/linux-headers-5.16.0-rc2'

spaced commented 2 years ago

@mbrooksx any plans to merge https://github.com/google/gasket-driver/pull/4 . kernel 5.16 is out.

yan-wyb commented 2 years ago

Hello, maybe I can try with least mainline kernel . And make a pull request again. Do you need ?

mbrooksx commented 2 years ago

Fixed.