anbox-modules icon indicating copy to clipboard operation
anbox-modules copied to clipboard

CentOs 7.6 build fails with compilation errors.

Open www-asics-ws opened this issue 6 years ago • 3 comments

I am following the steps in the read me. When I get to "sudo dkms install anbox-ashmem/1" it fails. Looking at the log file I see:

/var/lib/dkms/anbox-ashmem/1/build/ashmem.c: In function ‘ashmem_mmap’: /var/lib/dkms/anbox-ashmem/1/build/ashmem.c:387:2: error: too few arguments to function ‘calc_vm_prot_bits’

When running "sudo dkms install anbox-binder/1" it appears to complete and installs the module, but it shows these errors:

Adding any weak-modules depmod: ERROR: fstatat(5, vboxdrv.ko): No such file or directory depmod: ERROR: fstatat(5, vboxnetadp.ko): No such file or directory depmod: ERROR: fstatat(5, vboxsf.ko): No such file or directory depmod: ERROR: fstatat(5, vboxnetflt.ko): No such file or directory depmod: ERROR: fstatat(5, vboxguest.ko): No such file or directory depmod: ERROR: fstatat(5, vboxvideo.ko): No such file or directory depmod: ERROR: fstatat(5, vboxdrv.ko): No such file or directory depmod: ERROR: fstatat(5, vboxnetadp.ko): No such file or directory depmod: ERROR: fstatat(5, vboxsf.ko): No such file or directory depmod: ERROR: fstatat(5, vboxnetflt.ko): No such file or directory depmod: ERROR: fstatat(5, vboxguest.ko): No such file or directory depmod: ERROR: fstatat(5, vboxvideo.ko): No such file or directory

www-asics-ws avatar Aug 31 '19 09:08 www-asics-ws

uname -a Linux cpu11 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

www-asics-ws avatar Aug 31 '19 09:08 www-asics-ws

vbox*.ko are part of VirtualBox.

Pascal666 avatar Nov 11 '19 06:11 Pascal666

I think your ashmem problem is a duplicate of #14 . I just posted a workaround there.

Pascal666 avatar Nov 11 '19 07:11 Pascal666