Re: kernel source install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cause as far as I could see, the kernel-devel package version didn't
match the running kernel version.
While your solution (re-link build) *might* work, if he's running a
2.6.12 kernel but builds against a 2.6.13 kernel source, nothing will
work.

I never use debuggers... for a single reason (Which relates to this
problem)
You tend to solve the symptoms (invalid/non-matching kernel source link)
instead of solving the source of the problem.

Gilboa.

On Sun, 2005-10-09 at 16:08 +0100, Craig McLean wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Sorry, everyone's talking about building kernels, rebooting, whatever..
> All this guy wants to do is build ndiswrapper, and all he needs in order
> to do that is the kernel-devel package installed, surely?
> 
> C.
> 
> Gilboa Davara wrote:
> > 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@xxxxxxxxxxxxx wrote:
> > 
> >>----- Original Message -----
> >>From: Craig McLean <craig@xxxxxxxxxxx>
> >>Date: Sunday, October 9, 2005 10:47 am
> >>Subject: Re: kernel source install
> >>
> >>
> >>>-----BEGIN PGP SIGNED MESSAGE-----
> >>>Hash: SHA1
> >>>
> >>>jsmforum@xxxxxxxxxxxxx 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@localhost ~]# rpm -ivh kernel-devel-2.6.13-1.1526_FC4.i686.rpm
> >>Preparing...                ########################################### [100%]
> >>   1:kernel-devel           ########################################### [100%]
> >>[root@localhost ~]# cd ndiswrapper-1.4
> >>[root@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
> >>
> > 
> > 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFDSTJ4MDDagS2VwJ4RAuglAJ9ytDz2LozN2R/zLpCM1C2oab4AsgCdF5ui
> 2niZ+5eDQr8PCiqNlyH7Wpg=
> =VSdN
> -----END PGP SIGNATURE-----
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux