During an update when installing the DMKS modules I get the following error. I wondered if someone could shed some light on it for me. From the update:
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> dkms install --no-depmod cryptodev/1.14 -k 6.18.0-3-aarch64-ARCH
Deprecated feature: CLEAN (/var/lib/dkms/cryptodev/1.14/source/dkms.conf)
Error! Bad return status for module build on kernel: 6.18.0-3-aarch64-ARCH (aarch64)
Consult /var/lib/dkms/cryptodev/1.14/build/make.log for more information.
==> WARNING: `dkms install --no-depmod cryptodev/1.14 -k 6.18.0-3-aarch64-ARCH' exited 10
And here is the log file referenced above:
DKMS (dkms-3.3.0) make.log for cryptodev/1.14 for kernel 6.18.0-3-aarch64-ARCH (aarch64)
Wed Dec 3 11:05:01 AM PST 2025
Building module(s)
# command: make -j4 KERNELRELEASE=6.18.0-3-aarch64-ARCH -s build KERNEL_DIR=/lib/modules/6.18.0-3-aarch64-ARCH/build
warning: the compiler differs from the one used to build the kernel
The kernel was built by: aarch64-unknown-linux-gnu-gcc (GCC) 15.2.1 20251112
You are using: gcc (GCC) 15.2.1 20251112
util.c: In function ‘sg_advance’:
util.c:48:25: error: implicit declaration of function ‘nth_page’; did you mean ‘pte_page’? [-Wimplicit-function-declaration]
48 | nth_page(sg_page(sg), sg->offset / PAGE_SIZE);
| ^~~~~~~~
| pte_page
util.c:48:25: error: initialization of ‘struct page *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
make[4]: *** [/usr/lib/modules/6.18.0-3-aarch64-ARCH/build/scripts/Makefile.build:287: util.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/lib/modules/6.18.0-3-aarch64-ARCH/build/Makefile:2010: .] Error 2
make[2]: *** [/usr/lib/modules/6.18.0-3-aarch64-ARCH/build/Makefile:248: __sub-make] Error 2
make[1]: *** [Makefile:248: __sub-make] Error 2
make: *** [Makefile:30: build] Error 2
# exit code: 2
# elapsed time: 00:00:10
----------------------------------------------------------------
