PDA

View Full Version : Problem with compiling NVIDIA-kernel


weak
02-15-03, 01:09 AM
Hi!
I run debian, I try to compile NVIDIA-kernel
since there are no precompiled packages to debian.
I get the following message when make:ing

nv-linux.h:24: linux/modversions.h: No such file or directory

Wonder If anyone knows what to do?

bwkaz
02-15-03, 07:14 AM
Install kernel-source.

In Debian, it might be called kernel-headers, but I don't know. If there's a kernel-source that matches the kernel you're running, install it. If not, go for the headers.

Once you've got that, make a symlink from /lib/modules/$(uname -r)/build that points at the base of wherever the kernel source (or headers) went. The idea is to make it so that /lib/modules/$(uname -r)/build/include is the path to the kernel header files (and linux/modversions.h, for instance, is in that include directory).