Kernel modules doesn't have a source folder

I need /lib/module/5.15.7-1-MANJARO/source to install anbox kernel modules but it doesn’t exist.

I’ve already installed linux-headers and reinstalled and nothing.

How are you installing them and what is the exact error message you’re receiving?

Why do you think you need them? Manjaro kernels already have binder and ashmem enabled.

caua@manjaro:~/Downloads/anbox-modules$ ./INSTALL.sh

Building module:
cleaning build area…
make -j2 KERNELRELEASE=5.15.7-1-MANJARO all KERNEL_SRC=/lib/modules/5.15.7-1-MANJARO/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.7-1-MANJARO (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information.

Building module:
cleaning build area…
make -j2 KERNELRELEASE=5.15.7-1-MANJARO all KERNEL_SRC=/lib/modules/5.15.7-1-MANJARO/build…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.7-1-MANJARO (x86_64)
Consult /var/lib/dkms/anbox-binder/1/build/make.log for more information.
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.15.7-1-MANJARO
modprobe: FATAL: Module binder_linux not found in directory /lib/modules/5.15.7-1-MANJARO
ls: não foi possível acessar ‘/dev/binder’: Arquivo ou diretório inexistente
crw------- 1 root root 10, 125 dez 17 21:47 /dev/ashmem

Well binder doesnt

You can do zgrep -i -e android -e ashmem /proc/config.gz by yourself to check if it is. I sent you our config, it’s enabled there, you don’t have to build these modules.

Check this message on how to setup Anbox:

1 Like

Please edit your topic title to reflect what the issue actually is.

Have you read these?