Yesterday, I installed the kernel 2.6.8-2 headers to install the nVidia drivers.
The nVidia drivers were installed, and configured and I are working perfectly fine. However, I tried to install alsa for sound, and I get an error when compiling of:
Code:
make: *** /lib/modules/2.6.8-2-686/source: No such file or directory. Stop.
make: *** [compile] Error 2
I goto /lib/modules/2.6.8-2-686/ and do "ls -l" I get this:
Code:
total 692
drwxr-xr-x 2 root root 4096 2006-09-25 03:30 boot
lrwxrwxrwx 1 root root 35 2006-09-26 08:52 build -> /usr/src/kernel-headers-2.6.8-2-686
drwxr-xr-x 2 root root 4096 2006-09-25 03:30 initrd
drwxr-xr-x 10 root root 4096 2006-09-25 03:30 kernel
-rw-r--r-- 1 root root 121342 2006-09-26 10:26 modules.alias
-rw-r--r-- 1 root root 69 2006-09-26 10:26 modules.ccwmap
-rw-r--r-- 1 root root 172377 2006-09-26 10:26 modules.dep
-rw-r--r-- 1 root root 517 2006-09-26 10:26 modules.ieee1394map
-rw-r--r-- 1 root root 1061 2006-09-26 10:26 modules.inputmap
-rw-r--r-- 1 root root 2391 2006-09-26 10:26 modules.isapnpmap
-rw-r--r-- 1 root root 123404 2006-09-26 10:26 modules.pcimap
-rw-r--r-- 1 root root 84886 2006-09-26 10:26 modules.symbols
-rw-r--r-- 1 root root 141369 2006-09-26 10:26 modules.usbmap
lrwxrwxrwx 1 root root 100 2006-09-25 03:30 source -> /home/horms/tmp/debian-kernel-test/kernel-image-2.6.8-i386/kernel-image-2.6.8-i386-2.6.8/install-686
My home directroy is "/home/sitri/" so obviously this is wrong
To fix this error, I assume I need to link the "source" directory to something else...but to what?
NOTE:
I have installed the kernel-headers before for both 2.4 and 2.6 kernels. and they worked perfectly fine, however I reinstalled Debian yesterday morning and things are a tad off...