Wer kann mir bitte sagen, warum make die kernel-source nicht findet?
Code
htpc:/usr/src/ndiswrapper-1.5# make
make -C driver
make[1]: Entering directory `/usr/src/ndiswrapper-1.5/driver'
Can't find kernel sources in /lib/modules/2.6.12-ct-1/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Fehler 1
make[1]: Leaving directory `/usr/src/ndiswrapper-1.5/driver'
make: *** [all] Fehler 2
Ich habe den slink doch entsprechend gesetzt:
Code
htpc:/usr/src/ndiswrapper-1.5# ls -la /lib/modules/2.6.12-ct-1/build
lrwxrwxrwx 1 root root 34 2005-11-17 08:29 /lib/modules/2.6.12-ct-1/build -> /usr/src/kernel-source-2.6.12-ct-1
Die Sourcen liegen auch tatsächlich in diesem Verzeichnis:
Code
htpc:/usr/src/ndiswrapper-1.5# ls -la /usr/src/kernel-source-2.6.12-ct-1
insgesamt 344
drwxr-xr-x 18 root root 4096 2005-11-17 08:27 .
drwxrwsr-x 6 root src 4096 2005-11-17 00:58 ..
drwxr-xr-x 25 root root 4096 2005-06-17 21:48 arch
-rw-r--r-- 1 root root 209 2005-06-18 17:11 conf.vars
-rw-r--r-- 1 root root 18691 2005-06-17 21:48 COPYING
-rw-r--r-- 1 root root 89131 2005-06-17 21:48 CREDITS
drwxr-xr-x 2 root root 4096 2005-06-18 17:30 crypto
-rw-r--r-- 1 root root 20633 2005-06-18 16:21 Debian.src.changelog
drwxr-xr-x 49 root root 4096 2005-06-17 21:48 Documentation
drwxr-xr-x 50 root root 4096 2005-06-18 17:30 drivers
drwxr-xr-x 55 root root 4096 2005-06-18 17:30 fs
drwxr-xr-x 37 root root 4096 2005-06-18 17:30 include
drwxr-xr-x 2 root root 4096 2005-06-18 17:30 init
drwxr-xr-x 2 root root 4096 2005-06-18 17:30 ipc
drwxr-xr-x 4 root root 4096 2005-06-18 17:30 kernel
drwxr-xr-x 5 root root 4096 2005-06-18 17:30 lib
-rw-r--r-- 1 root root 57367 2005-06-17 21:48 MAINTAINERS
-rw-r--r-- 1 root root 44185 2005-06-18 16:07 Makefile
drwxr-xr-x 2 root root 4096 2005-06-18 17:30 mm
drwxr-xr-x 32 root root 4096 2005-06-18 17:30 net
-rw-r--r-- 1 root root 13970 2005-06-17 21:48 README
-rw-r--r-- 1 root root 910 2005-06-18 17:30 README.Debian
-rw-r--r-- 1 root root 3013 2005-06-17 21:48 REPORTING-BUGS
drwxr-xr-x 9 root root 4096 2005-06-18 17:30 scripts
drwxr-xr-x 4 root root 4096 2005-06-18 17:30 security
drwxr-xr-x 16 root root 4096 2005-06-18 17:30 sound
drwxr-xr-x 2 root root 4096 2005-06-18 17:30 usr
Alles anzeigen
Also was hatter denn??
moof