kernel source install

Craig McLean craig at fukka.co.uk
Sun Oct 9 15:06:48 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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:


Looking at the original mail, I think your link at
/lib/modules/2.6.13-1.1526_FC4/build is pointing to the wrong place,
possibly because of the kernel source install. Remove the
/lib/modules/2.6.13-1.1526_FC4/build symlink and recreate like so:

cd /lib/modules/`uname -r`
rm build
ln -s ../../../usr/src/kernels/2.6.13-1.1526_FC4-i686 build

I'm assuming an i686 kernel, check /usr/src/kernels to be sure.

C.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDSTIHMDDagS2VwJ4RAp54AKCGA/B9Ks6U4UlpxF4juBEcY80dBACePEhQ
1ni/TDRcVWj9G5bK+NdNbeI=
=QL67
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list