Re: Compile a module for a diferent kernel.

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

 



On Tue, May 06, 2003 at 12:50:24PM -0700, Jose Luis Alarcon wrote:
>   How can i compile a module for get it to run in a diferent kernel that 
> where it was compiled?.

Where your Makefile has an line INCLUDEDIR=/path/to/kernel/includes/,
modify that line to point to the headers of whichever kernel you would
like to run on. You can get kernel-headers packages from most distribution
kernels; check their various update ftp/http sites.

-- 
http://immunix.org/

Attachment: pgp00393.pgp
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