You need to install the source for the Linux kernel. In most
situations you can fix this problem by installing the kernel-source
package for your distribution.
Linux - Installing the NVIDIA kernel module gives an error message like: #error Modules should never use kernel-headers system headers #error but headers from an appropriate kernel-source.
You need to install the source for the Linux kernel. In most
situations you can fix this problem by installing the kernel-source
package for your distribution.