While installing the first .deb I still get the same errors as mentioned above when reinstalling.
While installing the second .deb I get a ton of warning and errors that used functions are deprecated.
Thanks for your help, can't say it often enough!
Here are the cat of anbox-binder and anbox-ashmen.
Cat of /var/lib/dkms/anbox-binder/1/build/make.log is following:
DKMS make.log for anbox-binder-1 for kernel 5.10.110-rockchip-rk3588 (aarch64)
Mi 22. Feb 22:22:42 CET 2023
make -C /lib/modules/5.10.110-rockchip-rk3588/build V=0 M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
CC [M] /var/lib/dkms/anbox-binder/1/build/deps.o
CC [M] /var/lib/dkms/anbox-binder/1/build/binder.o
CC [M] /var/lib/dkms/anbox-binder/1/build/binder_alloc.o
CC [M] /var/lib/dkms/anbox-binder/1/build/binderfs.o
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:1720: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
error, forbidden warning:autoconf.h:1720
1720 | #define CONFIG_ANDROID_BINDER_DEVICES "binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
|
<command-line>: note: this is the location of the previous definition
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:2246: warning: "CONFIG_ANDROID_BINDERFS" redefined
error, forbidden warning:autoconf.h:2246
2246 | #define CONFIG_ANDROID_BINDERFS 1
|
<command-line>: note: this is the location of the previous definition
/var/lib/dkms/anbox-binder/1/build/deps.c:20:3: error: #error "Your kernel does not support KProbes, but this is required to compile binder as a kernel module on kernel 5.7 and later"
20 | # error "Your kernel does not support KProbes, but this is required to compile binder as a kernel module on kernel 5.7 and later"
| ^~~~~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/anbox-binder/1/build/deps.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:1720: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
error, forbidden warning:autoconf.h:1720
1720 | #define CONFIG_ANDROID_BINDER_DEVICES "binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
|
<command-line>: note: this is the location of the previous definition
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:2246: warning: "CONFIG_ANDROID_BINDERFS" redefined
error, forbidden warning:autoconf.h:2246
2246 | #define CONFIG_ANDROID_BINDERFS 1
|
<command-line>: note: this is the location of the previous definition
/var/lib/dkms/anbox-binder/1/build/binder.c: In function 'binder_translate_binder':
/var/lib/dkms/anbox-binder/1/build/binder.c:2456:49: error: passing argument 1 of 'security_binder_transfer_binder' from incompatible pointer type [-Werror=incompatible-pointer-types]
2456 | if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) {
| ~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:258:56: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
258 | int security_binder_transfer_binder(const struct cred *from,
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:2456:67: error: passing argument 2 of 'security_binder_transfer_binder' from incompatible pointer type [-Werror=incompatible-pointer-types]
2456 | if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) {
| ~~~~~~~~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:259:56: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
259 | const struct cred *to);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c: In function 'binder_translate_handle':
/var/lib/dkms/anbox-binder/1/build/binder.c:2506:49: error: passing argument 1 of 'security_binder_transfer_binder' from incompatible pointer type [-Werror=incompatible-pointer-types]
2506 | if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) {
| ~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:258:56: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
258 | int security_binder_transfer_binder(const struct cred *from,
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:2506:67: error: passing argument 2 of 'security_binder_transfer_binder' from incompatible pointer type [-Werror=incompatible-pointer-types]
2506 | if (security_binder_transfer_binder(proc->tsk, target_proc->tsk)) {
| ~~~~~~~~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:259:56: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
259 | const struct cred *to);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c: In function 'binder_translate_fd':
/var/lib/dkms/anbox-binder/1/build/binder.c:2598:49: error: passing argument 1 of 'security_binder_transfer_file' from incompatible pointer type [-Werror=incompatible-pointer-types]
2598 | ret = security_binder_transfer_file(proc->tsk, target_proc->tsk, file);
| ~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:260:54: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
260 | int security_binder_transfer_file(const struct cred *from,
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:2598:67: error: passing argument 2 of 'security_binder_transfer_file' from incompatible pointer type [-Werror=incompatible-pointer-types]
2598 | ret = security_binder_transfer_file(proc->tsk, target_proc->tsk, file);
| ~~~~~~~~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:261:54: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
261 | const struct cred *to, struct file *file);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c: In function 'binder_transaction':
/var/lib/dkms/anbox-binder/1/build/binder.c:3001:53: error: passing argument 1 of 'security_binder_transaction' from incompatible pointer type [-Werror=incompatible-pointer-types]
3001 | if (security_binder_transaction(proc->tsk,
| ~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:256:52: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
256 | int security_binder_transaction(const struct cred *from,
| ~~~~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:3002:60: error: passing argument 2 of 'security_binder_transaction' from incompatible pointer type [-Werror=incompatible-pointer-types]
3002 | target_proc->tsk) < 0) {
| ~~~~~~~~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:257:52: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
257 | const struct cred *to);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c: In function 'binder_ioctl_set_ctx_mgr':
/var/lib/dkms/anbox-binder/1/build/binder.c:4956:51: error: passing argument 1 of 'security_binder_set_context_mgr' from incompatible pointer type [-Werror=incompatible-pointer-types]
4956 | ret = security_binder_set_context_mgr(proc->tsk);
| ~~~~^~~~~
| |
| struct task_struct *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:1720: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
error, forbidden warning:autoconf.h:1720
1720 | #define CONFIG_ANDROID_BINDER_DEVICES "binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
|
<command-line>: note: this is the location of the previous definition
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:2246: warning: "CONFIG_ANDROID_BINDERFS" redefined
error, forbidden warning:autoconf.h:2246
2246 | #define CONFIG_ANDROID_BINDERFS 1
|
<command-line>: note: this is the location of the previous definition
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/anbox-binder/1/build/binderfs.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/anbox-binder/1/build/binderfs.o'
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:1720: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
error, forbidden warning:autoconf.h:1720
1720 | #define CONFIG_ANDROID_BINDER_DEVICES "binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder"
|
<command-line>: note: this is the location of the previous definition
In file included from ././include/linux/kconfig.h:7,
from <command-line>:
./include/generated/autoconf.h:2246: warning: "CONFIG_ANDROID_BINDERFS" redefined
error, forbidden warning:autoconf.h:2246
2246 | #define CONFIG_ANDROID_BINDERFS 1
|
<command-line>: note: this is the location of the previous definition
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/anbox-binder/1/build/binder_alloc.o] Error 1
make[2]: *** Deleting file '/var/lib/dkms/anbox-binder/1/build/binder_alloc.o'
./include/linux/security.h:255:56: note: expected 'const struct cred *' but argument is of type 'struct task_struct *'
255 | int security_binder_set_context_mgr(const struct cred *mgr);
| ~~~~~~~~~~~~~~~~~~~^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/anbox-binder/1/build/binder.o] Error 1
make[1]: *** [Makefile:1920: /var/lib/dkms/anbox-binder/1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
make: *** [Makefile:8: all] Error 2
Cat of /var/lib/dkms/anbox-ashmem/1/build/make.log is following:
DKMS make.log for anbox-ashmem-1 for kernel 5.10.110-rockchip-rk3588 (aarch64)
Mi 22. Feb 22:22:37 CET 2023
make -C /lib/modules/5.10.110-rockchip-rk3588/build V=0 M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
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/deps.c:9:3: error: #error "Your kernel does not support KProbes, but this is required to compile ashmem as a kernel module on kernel 5.7 and later"
9 | # error "Your kernel does not support KProbes, but this is required to compile ashmem as a kernel module on kernel 5.7 and later"
| ^~~~~
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/anbox-ashmem/1/build/deps.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1920: /var/lib/dkms/anbox-ashmem/1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.110-rockchip-rk3588'
make: *** [Makefile:12: all] Error 2