This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 233
sudo dkms install anbox-ashmem/1 giving error #106
Comments
i am having the the same problem : make -j12 KERNELRELEASE=5.19.0-38-generic all KERNEL_SRC=/lib/modules/5.19.0-38-generic/build...(bad exit status: 2)
ERROR (dkms apport): binary package for anbox-ashmem: 1 not found
Error! Bad return status for module build on kernel: 5.19.0-38-generic (x86_64)
Consult /var/lib/dkms/anbox-ashmem/1/build/make.log for more information. |
Not sure this is the same problem as the original issue but it's definitely the same at @amitanshusahu
It looks like I should use gcc 12 for compiling rather than gcc 11 which is default but I can't find a way to make DKMS do that. I think Any pointers? I am using PopOS with https://xanmod.org/ (My laptop's CPU is Ryzen 5 and default kernel had issues). Thanks! |
Opened a pull request that fixes his issue for linux 6.x.x... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
OS- Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
Log:
cat /var/lib/dkms/anbox-ashmem/1/build/make.log
DKMS make.log for anbox-ashmem-1 for kernel 5.19.0-38-generic (x86_64)
Friday 07 April 2023 01:49:18 PM IST
make -C /lib/modules/5.19.0-38-generic/build V=0 M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-5.19.0-38-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1
22.04) 11.3.022.04) 11.3.0You are using: gcc (Ubuntu 11.3.0-1ubuntu1
CC [M] /var/lib/dkms/anbox-ashmem/1/build/deps.o
CC [M] /var/lib/dkms/anbox-ashmem/1/build/ashmem.o
LD [M] /var/lib/dkms/anbox-ashmem/1/build/ashmem_linux.o
MODPOST /var/lib/dkms/anbox-ashmem/1/build/Module.symvers
ERROR: modpost: "kallsyms_lookup_name" [/var/lib/dkms/anbox-ashmem/1/build/ashmem_linux.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:128: /var/lib/dkms/anbox-ashmem/1/build/Module.symvers] Error 1
make[1]: *** [Makefile:1764: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-38-generic'
make: *** [Makefile:12: all] Error 2
The text was updated successfully, but these errors were encountered: