nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Problem with compiling NVIDIA-kernel (http://www.nvnews.net/vbulletin/showthread.php?t=7587)

weak 02-15-03 01:09 AM

Problem with compiling NVIDIA-kernel
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).

All times are GMT -5. The time now is 02:10 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.