You need to have kernel sources package installed. Look for package like
"kernel-source-xxx.xx" and install it... On suse you have to say make
cloneconfig as root as well...
-- "It's a First Person Shitter." [/.]
On Mon, 29 Nov 2004, Ron Dupont wrote:
> I have searched the groups and web for someone with the same problem and
> came up empty. I have to assume that means I'm doing something stupid!
> Anyway, I downloaded the latest ndiswrapper and then tried to follow the
> directions from the web page. After I extract files etc I go to dir and
> type make install and it I get something like the following:
> make -C install
> make: Entering directory '/home/ron/Documents/ndiswrapper-0.12/driver'
> Can't find kernel sources in /lib/modules/2.6.3-7mdk/build;
> give the path to kernel sources with KSRC=<path> argument to make
> make: Leaving directory '/home/ron/Documents/ndiswrapper-0.12/driver'
> make: *** [install] Error 2
> So I tried the ln -s /usr/src/linux-<kernel-version> (am I supposed to put 2.6.3-7mdk here?) /lib/modules/2.6.3-7mdk/build
> Obviously I have no clue what I am doing here, but I do know that there is no dir called build in dir 2.6.3-7mdk for one and I suspect there should be. Also there is no dir linux in usr/src/ only RPM
> I cant find any answers as to why I do not have these things or how to put them there. I am running mandrake 10 on a twinhead a5020 celeron coppermine 566 with 256mb 20gb. Kernel listed above. I switched to mandrake from suse 9.1 personal because I had 0 luck even getting this far having no "make" command in the first place so I thought I might have better luck with mandrake. All thise because linksys or broadcom or whoever has no linux driver for my wifi card I bought before I even thought about playing with linux (I think its doubly ironic since my linksys router apparently is running linux so you would think they would be quick to provide linux drivers for their hardware)
> Anyway, I am very frustrated at this point and would greatly appreciate any help. I know absolutly nothing about linux and am just blindly learning as I go so please be gentle!
> Ron ka1zex