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 has been archived by the owner on Feb 13, 2024. It is now read-only.
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.15.7-200.fc35.x86_64 all KERNEL_SRC=/lib/modules/5.15.7-200.fc35.x86_64/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.7-200.fc35.x86_64 (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information
The text was updated successfully, but these errors were encountered:
In newer kernel versions the anbox modules are migrated into the kernel. You need to build the kernel with the modules enabled and uninstall the modules first.
As a base reading you can follow my writeup (you need to copy the writeup for fedora of course): #75 (comment)
Download the kernel source either from your distribution target or in most cases from www.kernel.org
unpack the kernel.tar.xz
open terminal/shell and navigate to the extracted kernel.tar.xz -folder
copy the kernel configuration you are actually have in use with: cp /boot/config-uname -r* .config
edit the copied configuration file: .config with the command: make olddefconfig and make menuconfig or make gconfig
You are getting a graphical interface to edit the lines in the .config textfile. Navigate to the android sections and enable all. Save and build your kernel.
Ubuntu:
build your kernel with the command: time nice make -j4 bindeb-pkg LOCALVERSION=-android
Fedora: https://fedoraproject.org/wiki/Building_a_custom_kernel#Building_the_kernel
Manjaro: https://leduccc.medium.com/compiling-a-custom-linux-kernel-on-manjaro-f09aa103713f
Other distros:
look for similiar writeups on the net for your distribution or try to copy the procedure for your distro
$ sudo dkms install anbox-ashmem/1
Creating symlink /var/lib/dkms/anbox-ashmem/1/source -> /usr/src/anbox-ashmem-1
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.15.7-200.fc35.x86_64 all KERNEL_SRC=/lib/modules/5.15.7-200.fc35.x86_64/build...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.7-200.fc35.x86_64 (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information
The text was updated successfully, but these errors were encountered: