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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!