You are not logged in.

#1 2023-01-25 23:50:11

Registered: 2022-07-26
Posts: 11

How to resolve ddcci-driver-linux-dkms build error

After (re)installing `linux-zen`/`linux-zen-headers`, post installation hook gives a concerning "successful" error:

(3/4) Install DKMS modules
==> dkms install --no-depmod vboxhost/7.0.6_OSE -k 6.1.8-zen1-1-zen
==> dkms install --no-depmod ddcci/0.4.2 -k 6.1.8-zen1-1-zen
Error! Bad return status for module build on kernel: 6.1.8-zen1-1-zen (x86_64)
Consult /var/lib/dkms/ddcci/0.4.2/build/make.log for more information.
==> WARNING: `dkms install --no-depmod ddcci/0.4.2 -k 6.1.8-zen1-1-zen' exited 10
==> depmod 6.1.8-zen1-1-zen


DKMS make.log for ddcci-0.4.2 for kernel 6.1.8-zen1-1-zen (x86_64)
2023-01-25 17:44:47 CST
make: Entering directory '/var/lib/dkms/ddcci/0.4.2/build'
make -C "ddcci"
make[1]: Entering directory '/var/lib/dkms/ddcci/0.4.2/build/ddcci'
make -C "/lib/modules/6.1.8-zen1-1-zen/build" M="/var/lib/dkms/ddcci/0.4.2/build/ddcci" modules
make[2]: Entering directory '/usr/lib/modules/6.1.8-zen1-1-zen/build'
  CC [M]  /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.o
/var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1809:27: error: initialization of ‘void (*)(struct i2c_client *)’ from incompatible pointer type ‘int (*)(struct i2c_client *)’ [-Werror=incompatible-pointer-types]
1809 |         .remove         = ddcci_remove,
      |                           ^~~~~~~~~~~~
/var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.c:1809:27: note: (near initialization for ‘ddcci_driver.remove’)
cc1: some warnings being treated as errors
make[3]: *** [scripts/ /var/lib/dkms/ddcci/0.4.2/build/ddcci/ddcci.o] Error 1
make[2]: *** [Makefile:1990: /var/lib/dkms/ddcci/0.4.2/build/ddcci] Error 2
make[2]: Leaving directory '/usr/lib/modules/6.1.8-zen1-1-zen/build'
make[1]: *** [Makefile:38: ddcci.ko] Error 2
make[1]: Leaving directory '/var/lib/dkms/ddcci/0.4.2/build/ddcci'
make: *** [Makefile:28: ddcci] Error 2
make: Leaving directory '/var/lib/dkms/ddcci/0.4.2/build'

Last edited by ljyip (2023-01-26 03:35:46)


#2 2023-01-25 23:56:34

From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,526

Re: How to resolve ddcci-driver-linux-dkms build error

Your thread title could be edited. The error is actually in ddcci-driver-linux-dkms. See … linux-dkms


Board footer

Powered by FluxBB