You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
pi@raspberrypi:~ $ sudo dkms install anbox-ashmem/1
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=6.1.21-v8+ all KERNEL_SRC=/lib/modules/6.1.21-v8+/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.21-v8+ (aarch64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.
Logs:
KMS make.log for anbox-ashmem-1 for kernel 6.1.21-v8+ (aarch64)
2023年 08月 14日 星期一 10:03:25 CST
make -C /lib/modules/6.1.21-v8+/build V=0 M=$PWD
make[1]: 进入目录“/usr/src/linux-headers-6.1.21-v8+”
CC [M] /var/lib/dkms/anbox-ashmem/1/build/deps.o
CC [M] /var/lib/dkms/anbox-ashmem/1/build/ashmem.o
/var/lib/dkms/anbox-ashmem/1/build/ashmem.c: In function ‘ashmem_init’:
/var/lib/dkms/anbox-ashmem/1/build/ashmem.c:877:2: error: too few arguments to function ‘register_shrinker’
877 | register_shrinker(&ashmem_shrinker);
| ^~~~~~~~~~~~~~~~~
In file included from ./include/linux/list_lru.h:13,
from ./include/linux/fs.h:13,
from ./arch/arm64/include/asm/elf.h:141,
from ./include/linux/elf.h:6,
from ./include/linux/module.h:19,
from /var/lib/dkms/anbox-ashmem/1/build/ashmem.c:21:
./include/linux/shrinker.h:99:27: note: declared here
99 | extern int __printf(2, 3) register_shrinker(struct shrinker *shrinker,
| ^~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:250:/var/lib/dkms/anbox-ashmem/1/build/ashmem.o] 错误 1
make[1]: *** [Makefile:2012:/var/lib/dkms/anbox-ashmem/1/build] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.1.21-v8+”
Running on Raspberry Pi OS(64-bit)(just Debian Bullseye,Aarch64)