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

Complie Error #61

Open
silentwitness9 opened this issue Dec 31, 2021 · 3 comments
Open

Complie Error #61

silentwitness9 opened this issue Dec 31, 2021 · 3 comments

Comments

@silentwitness9
Copy link

I have been trying to get this working on a 2019 MacBook Pro but get the following :

└─# dkms install -m applespi -v 0.1 128 ⨯

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.15.0-kali2-amd64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.0-kali2-amd64 (x86_64)
Consult /var/lib/dkms/applespi/0.1/build/make.log for more information.

Make.log shows :

DKMS make.log for applespi-0.1 for kernel 5.15.0-kali2-amd64 (x86_64)
Fri 31 Dec 10:21:05 GMT 2021
make -C /lib/modules/5.15.0-kali2-amd64/build M=/var/lib/dkms/applespi/0.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-kali2-amd64'
CC [M] /var/lib/dkms/applespi/0.1/build/applespi.o
/var/lib/dkms/applespi/0.1/build/applespi.c:62:10: fatal error: linux/input-polldev.h: No such file or directory
62 | #include <linux/input-polldev.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-headers-5.15.0-kali2-common/scripts/Makefile.build:282: /var/lib/dkms/applespi/0.1/build/applespi.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.15.0-kali2-common/Makefile:1892: /var/lib/dkms/applespi/0.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-kali2-amd64'
make: *** [Makefile:11: all] Error 2

Any advice very much appreciated. Thanks

@lvxingtu
Copy link

Having the same issue

@lvxingtu
Copy link

Seems linux/input-polldev.h removed from linux newer kernel

@Madmatt06
Copy link

I have the same issue on a 2018 MacBook Pro.

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

3 participants