Failed to install using DKMS on Kali Linux #97
Description
INSTALL.sh outputs the following.
Creating symlink /var/lib/dkms/anbox-ashmem/1/source -> /usr/src/anbox-ashmem-1
Building module:
cleaning build area...
make -j2 KERNELRELEASE=5.16.0-kali7-amd64 all KERNEL_SRC=/lib/modules/5.16.0-kali7-amd64/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.16.0-kali7-amd64 (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.
Creating symlink /var/lib/dkms/anbox-binder/1/source -> /usr/src/anbox-binder-1
Building module:
cleaning build area...
make -j2 KERNELRELEASE=5.16.0-kali7-amd64 all KERNEL_SRC=/lib/modules/5.16.0-kali7-amd64/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.16.0-kali7-amd64 (x86_64)
Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information.
binder_linux 225280 0
ashmem_linux 20480 0
crw------- 1 root root 10, 123 Jul 10 06:28 /dev/ashmem
crw------- 1 root root 10, 122 Jul 10 06:28 /dev/binder`
If I try to install manually, everything goes right until I run dkms to process the packages, where I get this error
┌──(rafe㉿rtd)-[~/anbox-modules]
└─$ sudo dkms install anbox-ashmem/1
Building module:
cleaning build area...
make -j2 KERNELRELEASE=5.16.0-kali7-amd64 all KERNEL_SRC=/lib/modules/5.16.0-kali7-amd64/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.16.0-kali7-amd64 (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.`
Any ways around this??
Im running Kali GNU/Linux Rolling x86_64 with the 5.16.0-kali7-amd64