Open rintintin17 opened 7 months ago
Upon running sudo ./install.sh
this is the output : DKMS make.log for cm4io-fan-0.2.0 for kernel 6.6.20+rpt-rpi-v8 (aarch64) Tue 16 Apr 12:12:52 CEST 2024 echo "DKMS found at /usr/sbin/dkms" make -C emc2301 KERNELRELEASE=6.6.20+rpt-rpi-v8 make -C overlays KERNELRELEASE=6.6.20+rpt-rpi-v8 DKMS found at /usr/sbin/dkms make[1]: Entering directory '/var/lib/dkms/cm4io-fan/0.2.0/build/overlays' make[1]: Entering directory '/var/lib/dkms/cm4io-fan/0.2.0/build/emc2301' make -C /lib/modules/6.6.20+rpt-rpi-v8/build M=$PWD make[2]: Entering directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8' Makefile:16: missing separator. Stop. make[1]: Leaving directory '/var/lib/dkms/cm4io-fan/0.2.0/build/overlays' make: [Makefile:17: build-overlays] Error 2 make: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.o /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.c:475:21: error: initialization of ‘int ()(struct i2c_client )’ from incompatible pointer type ‘int ()(struct i2c_client , const struct i2c_device_id )’ [-Werror=incompatible-pointer-types] 475 | .probe = emc2301_i2c_probe, | ^~~~~ /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.c:475:21: note: (near initialization for ‘emc2301_i2c_driver.probe’) cc1: some warnings being treated as errors make[4]: ** [/usr/src/linux-headers-6.6.20+rpt-common-rpi/scripts/Makefile.build:248: /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.o] Error 1 make[3]: [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:1938: /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301] Error 2 make[2]: [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:246: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8' make[1]: [Makefile:5: default] Error 2 make[1]: Leaving directory '/var/lib/dkms/cm4io-fan/0.2.0/build/emc2301' make: *** [Makefile:17: build-emc2301] Error 2
Could you help, please
Upon running sudo ./install.sh
this is the output : DKMS make.log for cm4io-fan-0.2.0 for kernel 6.6.20+rpt-rpi-v8 (aarch64) Tue 16 Apr 12:12:52 CEST 2024 echo "DKMS found at /usr/sbin/dkms" make -C emc2301 KERNELRELEASE=6.6.20+rpt-rpi-v8 make -C overlays KERNELRELEASE=6.6.20+rpt-rpi-v8 DKMS found at /usr/sbin/dkms make[1]: Entering directory '/var/lib/dkms/cm4io-fan/0.2.0/build/overlays' make[1]: Entering directory '/var/lib/dkms/cm4io-fan/0.2.0/build/emc2301' make -C /lib/modules/6.6.20+rpt-rpi-v8/build M=$PWD make[2]: Entering directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8' Makefile:16: missing separator. Stop. make[1]: Leaving directory '/var/lib/dkms/cm4io-fan/0.2.0/build/overlays' make: [Makefile:17: build-overlays] Error 2 make: Waiting for unfinished jobs.... CC [M] /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.o /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.c:475:21: error: initialization of ‘int ()(struct i2c_client )’ from incompatible pointer type ‘int ()(struct i2c_client , const struct i2c_device_id )’ [-Werror=incompatible-pointer-types] 475 | .probe = emc2301_i2c_probe, | ^
~~~~ /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.c:475:21: note: (near initialization for ‘emc2301_i2c_driver.probe’) cc1: some warnings being treated as errors make[4]: ** [/usr/src/linux-headers-6.6.20+rpt-common-rpi/scripts/Makefile.build:248: /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301/emc2301.o] Error 1 make[3]: [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:1938: /var/lib/dkms/cm4io-fan/0.2.0/build/emc2301] Error 2 make[2]: [/usr/src/linux-headers-6.6.20+rpt-common-rpi/Makefile:246: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.6.20+rpt-rpi-v8' make[1]: [Makefile:5: default] Error 2 make[1]: Leaving directory '/var/lib/dkms/cm4io-fan/0.2.0/build/emc2301' make: *** [Makefile:17: build-emc2301] Error 2Could you help, please