View Single Post
Old 12-14-05, 07:57 PM   #1
rootkit
Registered User
 
Join Date: Dec 2005
Posts: 23
Default Unable to determine the version of the kernel sources

hi, i can't install latest nVidia drivers under amd64.
i get this:

ERROR: Unable to determine the version of the kernel sources located in
'/usr/src/linux-2.6.14'. Please make sure you have installed the kernel
source files for your kernel and that they are properly configured; on
Red Hat Linux systems, for example, be sure you have the 'kernel-source'
RPM installed. If you know the correct kernel source files are
installed, you may specify the kernel source path with the
'--kernel-source-path' command line option.

I use vanilla kernels from kernel.org, and i don't clean sources after building.
I also tryed `make modules_prepare` with no luck
The running kernel is the same of the sources.

here are some info:

# ll /usr/src/linux-2.6.14
totale 458K
drwxrwxrwx 26 root root 632 2005-10-28 02:02 arch
-rw-r--r-- 1 root root 30K 2005-11-11 16:37 .config
-rw-r--r-- 1 root root 30K 2005-11-11 16:34 .config.old
-rw-r--r-- 1 root root 194 2005-11-04 12:49 conf.vars
-rw-rw-rw- 1 root root 19K 2005-10-28 02:02 COPYING
-rw-rw-rw- 1 root root 88K 2005-10-28 02:02 CREDITS
drwxrwxrwx 2 root root 968 2005-12-01 00:58 crypto
drwxr-xr-x 2 root root 184 2005-11-04 12:49 debian
drwxrwxrwx 53 root root 5,1K 2005-10-28 02:02 Documentation
drwxrwxrwx 53 root root 1,4K 2005-12-01 00:58 drivers
drwxrwxrwx 58 root root 3,0K 2005-12-01 00:58 fs
-rw-rw-rw- 1 root root 391 2005-10-28 02:02 .gitignore
drwxrwxrwx 41 root root 1,1K 2005-11-04 12:43 include
drwxrwxrwx 2 root root 424 2005-12-01 00:58 init
drwxrwxrwx 2 root root 304 2005-12-01 00:58 ipc
-rw-rw-rw- 1 root root 1,3K 2005-10-28 02:02 Kbuild
drwxrwxrwx 4 root root 1,6K 2005-12-01 00:58 kernel
drwxrwxrwx 5 root root 1,5K 2005-12-01 00:58 lib
-rw-rw-rw- 1 root root 60K 2005-10-28 02:02 MAINTAINERS
-rw-rw-rw- 1 root root 43K 2005-10-28 02:02 Makefile
drwxrwxrwx 2 root root 1,3K 2005-12-01 00:58 mm
-rw-r--r-- 1 root root 108K 2005-11-04 12:45 Module.symvers
drwxrwxrwx 35 root root 1,1K 2005-12-01 00:58 net
-rw-rw-rw- 1 root root 15K 2005-10-28 02:02 README
-rw-rw-rw- 1 root root 3,0K 2005-10-28 02:02 REPORTING-BUGS
drwxrwxrwx 9 root root 1,5K 2005-12-15 01:39 scripts
drwxrwxrwx 4 root root 344 2005-12-01 00:58 security
drwxrwxrwx 16 root root 520 2005-12-01 00:58 sound
-rw-r--r-- 1 root root 5 2005-11-04 12:49 stamp-build
-rw-r--r-- 1 root root 5 2005-11-04 12:49 stamp-configure
-rw-r--r-- 1 root root 5 2005-11-04 12:49 stamp-debian
-rw-r--r-- 1 root root 5 2005-11-04 12:49 stamp-image
-rw-r--r-- 1 root root 5 2005-11-04 12:49 stamp-kernel-configure
drwxrwxrwx 2 root root 192 2005-12-01 00:58 usr
-rw-r--r-- 1 root root 2 2005-12-01 00:58 .version

# uname -a
Linux win 2.6.14 #2 SMP PREEMPT Fri Nov 4 12:49:41 CET 2005 x86_64 GNU/Linux

Cheers,
Matteo Croce
rootkit is offline   Reply With Quote