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
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
I've attached the error, I am assuming line 23 needs to change. Is the issue due to headers?
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?