Re: kernel source code for 2.6.15-1.2054_FC5smp

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

 



Hello,

On 9/26/06, Florin Malita <fmalita@xxxxxxxxx> wrote:
Bizhan Gholikhamseh (bgholikh) wrote:
> I downloaded the following *RPM from kernel.org*:
>

I doubt that ;)

> kernel-2.6.15-1.2054_FC5.src.rpm
> My linux version is:
> 2.6.15-1.2054_FC5-smp-i686
> Is this a correct version of RPM?
>

Nope. As Rik was suggesting, you need the *kernel-devel* package:
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm

> Where should I install it?
>

RPM takes care of that, just install it:

    rpm -ivh kernel-devel-2.6.15-1.2054_FC5.i686.rpm


It will populate /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686/...


Adding one more thing:

The rpm packages with name like xxxx.src.rpm are src rpms which
contains complete source code. The package
(kernel-2.6.15-1.2054_FC5.src.rpm) you downloaded earlier has complete
kernel source which you only need when compiling linux kernel (or
might want to reference source (.c) files).

The package Florin mentioned (kernel-devel-2.6.15-1.2054_FC5.i686.rpm)
contains __only__  .h files which are needed for kernel module
compilation.

--
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux