2 Channel CAN BUS FD Shield for Raspberry Pi
When I Install CAN-HAT ¶
I meet below error that kernel headers cannot be found. How can I handle it?
Deleting module version: 0.1
completely from the DKMS tree.
Done.
Creating symlink /var/lib/dkms/mcp2517fd/0.1/source ->
/usr/src/mcp2517fd-0.1
DKMS: add completed.
Error! echo
Your kernel headers for kernel 4.19.118+ cannot be found at
/lib/modules/4.19.118+/build or /lib/modules/4.19.118+/source.
Error! echo
Your kernel headers for kernel 4.19.118-v7+ cannot be found at
/lib/modules/4.19.118-v7+/build or /lib/modules/4.19.118-v7+/source.
Error! echo
Your kernel headers for kernel 4.19.118-v7l+ cannot be found at
/lib/modules/4.19.118-v7l+/build or /lib/modules/4.19.118-v7l+/source.
msyz13
Please reboot your raspberry pi to apply all settings
Enjoy!