PDA

View Full Version : ndiswrapper /build source?


notanxious
1st March 2006, 04:52
Hey guys,

Yes... I am a noob... But I have a background in programming and .ksh... I'm attempting to configure ubuntu to work with wireless card. I have already downloaded the newest version of ndis* and specific driver for my wireles*. Here is the error I get after running the make install command.

root@ubuntu:~/ndiswrapper-1.10# make install
make -C driver install
make[1]: Entering directory `/home/notanxious/ndiswrapper-1.10/driver'
Can't find kernel sources in /lib/modules/2.6.12-9-amd64-generic/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/notanxious/ndiswrapper-1.10/driver'
make: *** [install] Error 2
root@ubuntu:~/ndiswrapper-1.10#

I must have not folled proper instructions... The /build directory does not exist. And I have no clue as how to unpack the source files..

PLease help!!! I can't go back to mICROS*!!! LOL

falko
1st March 2006, 10:49
Can't find kernel sources in /lib/modules/2.6.12-9-amd64-generic/build;
give the path to kernel sources with KSRC=<path> argument to make

You must install the appropriate kernel-headers package for your system.
Run apt-cache search kernel-headers
and then install the appropriate package with apt-get install <package_name>