Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Failed to install using DKMS on Kali Linux #97

Open
rsoley opened this issue Jul 10, 2022 · 2 comments
Open

Failed to install using DKMS on Kali Linux #97

rsoley opened this issue Jul 10, 2022 · 2 comments

Comments

@rsoley
Copy link

rsoley commented Jul 10, 2022

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

@SoulInfernoDE
Copy link

SoulInfernoDE commented Sep 26, 2022

Here is the solution: (Adapt for your distro)

#75

Also remove the modules completly from the dkms system.

sudo dkms status

@nagtutitf6
Copy link

i have install dkms but cant find it

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

No branches or pull requests

3 participants