kernel source install

Gilboa Davara gilboada at netvision.net.il
Sun Oct 9 15:05:22 UTC 2005


You'll need to reboot after the kernel install to build against the
current kernel.
Do the following:

yum -y install kernel kernel-devel
If a new kernel is installed, reboot, and try build the ndiswrapper
again.

Gilboa

On Sun, 2005-10-09 at 10:54 -0400, jsmforum at optonline.net wrote:
> 
> ----- Original Message -----
> From: Craig McLean <craig at fukka.co.uk>
> Date: Sunday, October 9, 2005 10:47 am
> Subject: Re: kernel source install
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > jsmforum at optonline.net wrote:
> > > Hey all,
> > > 
> > > I'm trying to get ndiswrappers installed on FC4.  When I run 
> > make, it keeps complaining about not finding the kernel source.  
> > Currently I'm running kernel 2.6.13-1.1526_FC4 and have installed 
> > > (I believe) the source for that kernel.  However when I do a rpm -
> > qa | grep kernel, the source doesn't show up.
> > [snip]
> > You'll need to install kernel-devel.
> > 
> > C.
> 
> tried that, same result:
> 
> [root at localhost ~]# rpm -ivh kernel-devel-2.6.13-1.1526_FC4.i686.rpm
> Preparing...                ########################################### [100%]
>    1:kernel-devel           ########################################### [100%]
> [root at localhost ~]# cd ndiswrapper-1.4
> [root at localhost ndiswrapper-1.4]# make
> make -C driver
> make[1]: Entering directory `/root/ndiswrapper-1.4/driver'
> Can't find kernel sources in /lib/modules/2.6.13-1.1526_FC4/build;
>   give the path to kernel sources with KSRC=<path> argument to make
> make[1]: *** [prereq_check] Error 1
> make[1]: Leaving directory `/root/ndiswrapper-1.4/driver'
> make: *** [all] Error 2
> 
> what am I missing now?
> 
> thanks,
> 
> jeff
> 




More information about the fedora-list mailing list