Open jlhdzl opened 2 years ago
make CHECK="/usr/bin/sparse" -C /lib/modules/5.16.15-051615-generic/build M=/usr/src/fl2000_drm-master modules make[1]: se entra en el directorio '/usr/src/linux-headers-5.16.15-051615-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 You are using: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Apply petereon patch
But when compiling it gives the following error:
LD [M] /usr/src/fl2000_drm-master/fl2000.o MODPOST /usr/src/fl2000_drm-master/Module.symvers ERROR: modpost: module fl2000 uses symbol dma_buf_begin_cpu_access from namespace DMA_BUF, but does not import it. ERROR: modpost: module fl2000 uses symbol dma_buf_end_cpu_access from namespace DMA_BUF, but does not import it. make[2]: [scripts/Makefile.modpost:134: /usr/src/fl2000_drm-master/Module.symvers] Error 1 make[2]: Se borra el archivo '/usr/src/fl2000_drm-master/Module.symvers' make[1]: [Makefile:1767: modules] Error 2 make[1]: se sale del directorio '/usr/src/linux-headers-5.16.15-051615-generic' make: [Makefile:21: modules] Error 2