Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel 5.16 #53

Open
jlhdzl opened this issue Jul 26, 2022 · 1 comment
Open

kernel 5.16 #53

jlhdzl opened this issue Jul 26, 2022 · 1 comment

Comments

@jlhdzl
Copy link

jlhdzl commented Jul 26, 2022

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

@jlhdzl
Copy link
Author

jlhdzl commented Jul 26, 2022

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-1ubuntu120.04) 9.4.0
You are using: gcc (Ubuntu 9.4.0-1ubuntu1
20.04.1) 9.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant