Re: Is there a different process fofr building kernel modules for RHEL5 or FC 7?

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

 



Le Mon, 10 Dec 2007 22:16:46 +0530,
Pradeep Singh <2500.pradeep@xxxxxxxxx> a écrit :

> So may be best way left is to compile a new kernel in that case, no?

No, if you simply want to develop external modules, the best/simplest
way is to install your distro kernel development package.

For example, under Debian you have the linux-image-2.6.22-3-k7 package
which contains the compiled kernel and modules, and the corresponding
linux-headers-2.6.22-3-k7 package which contains the kernel headers
needed to compile external modules. The linux-image- package is already
installed (otherwise your machine wouldn't boot), but the module
developer must install the corresponding linux-headers- package.

Note that you also have the linux-source-2.6.22 package, which contains
the entire kernel source code. But it is not required to install the
full kernel code to compile kernel modules, only headers are needed.

Sincerly,

Thomas
-- 
Thomas Petazzoni, thomas.petazzoni@xxxxxxxx, http://thomas.enix.org
Jabber, thomas.petazzoni@xxxxxxxxx
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature


[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