You are not logged in.
Hello everyone I'm trying to compiling a kernel module for a arm64 linux kernel, but i have this error when i try to do make:
==============================================
In file included from <command-line>:
././include/linux/compiler_types.h:88:10: fatal error: asm/compiler.h: No such file or directory
88 | #include <asm/compiler.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
==============================================
I have tried to reinstall linux-api-headers as suggested there https://bbs.archlinux.org/viewtopic.php?id=94591, but this doesn't work
Last edited by narakuyama (2021-01-08 19:58:43)
Offline
I was justi using a wrong compiler, hope someone can find this healpfull.
make ARCH=arm64 CROSS_COMPILE=<path_compiler> /* wihout gcc */
Offline
I realize this is an old thread, but in the off chance you see this or someone has the answer: Which compiler were you successfully able to use?
Offline