I have dell inspiron 600m. today I have loaded base sarge and upgraded to unstable. I have installed linux-source and ndiswrapper-source. I tried to get modules using info on wiki http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebian. My /usr/src folder is as follows lvgdell600m:/usr/src# ls -l total 38660 drwxr-xr-x 3 root root 4096 2006-02-04 12:07 kernel-patches lrwxrwxrwx 1 root src 19 2006-02-04 12:32 linux -> linux-source-2.6.15 drwxr-xr-x 18 root root 4096 2006-02-04 06:00 linux-headers-2.6.15-1 drwxr-xr-x 5 root root 4096 2006-02-04 06:01 linux-headers-2.6.15-1-686 drwxr-xr-x 19 root root 4096 2006-02-02 05:04 linux-source-2.6.15 -rw-r--r-- 1 root root 39389485 2006-02-02 05:53 linux-source-2.6.15.tar.bz2 drwxr-xr-x 3 root root 4096 2006-01-20 15:24 modules -rw-r--r-- 1 root root 124786 2006-01-20 15:24 ndiswrapper-source.tar.bz2 I tried make modules and got error as follows. lvgdell600m:/usr/src/modules/ndiswrapper# ./debian/rules binary-modules KSRC=../../linux /usr/bin/gcc for templ in ; do \ cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.15/g'` ; \ done for templ in `ls debian/*.modules.in` ; do \ test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modules.in}.backup 2>/dev/null || true; \ sed -e 's/##KVERS##/2.6.15/g ;s/#KVERS#/2.6.15/g ; s/_KVERS_/2.6.15/g ; s/##KDREV##//g ; s/#KDREV#//g ; s/_KDREV_//g' < $templ > ${templ%.modules.in}; \ done dh_testdir dh_testroot dh_clean -k dh_installdirs lib/modules/2.6.15/misc # build and install the module /usr/bin/make KPKG_EXTRAV_ARG= KSRC=../../linux \ KVER=2.6.15 \ INST_DIR=debian/ndiswrapper-modules-2.6.15/lib/modules/2.6.15/misc/ install make[1]: Entering directory `/usr/src/modules/ndiswrapper' Can't find kernel sources in ../../linux; give the path to kernel sources with KSRC=<path> argument to make make[1]: *** [prereq_check] Error 1 make[1]: Leaving directory `/usr/src/modules/ndiswrapper' make: *** [binary-modules] Error 2 I would like to know where I am going wrong. How to make modules and utils.
-- L.V.Gandhi http://lvgandhi.tripod.com/ linux user No.205042