Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Debian Bookworm 6.6.x #20

Open
rintintin17 opened this issue Apr 16, 2024 · 0 comments
Open

Support for Debian Bookworm 6.6.x #20

rintintin17 opened this issue Apr 16, 2024 · 0 comments

Comments

@rintintin17
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant