Fatal error: linux/input-polldev.h

yawaworhtt

New Member
Jun 25, 2024
2
0
1
Hi, I am new to Linux and have been using Windows all my life, so bear with me. I recently have been getting into configurating my first home lab with a Mac mini 2018. With that in mind I have tried to add some kernel module.

What I have attempted so far was making the module with vim applesmc_t2_kmod.c

and then putting the code from here https://github.com/MCMrARM/mbp2018-etc/blob/master/applesmc/applesmc_t2_kmod.c

I then created a Makefile with vim Makefile and tried to load that in and was given an error.

I've attached the error, I am assuming line 23 needs to change. Is the issue due to headers?
 

Attachments

  • Screenshot 2024-07-02 at 00-19-47 a - Proxmox Virtual Environment.png
    Screenshot 2024-07-02 at 00-19-47 a - Proxmox Virtual Environment.png
    39 KB · Views: 12