Re: Kernel Module?

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

 



On Sat, Sep 13, 2008 at 2:14 AM, Elad Lahav
<elad_lahav@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> I compiled a software which had a kernel module as well apart from
>> userspace. I am running ubuntu so I have the linux headers that came
>> with ubuntu and linux-2.6.25 source code from kernel.org. Both are in
>> /usr/src. So the module that was built will be of which kernel?
>
> A standard module Makefile will use the headers pointed to from
>  /lib/module/`uname -r`/build
> where `uname -r` results in the version of the currently running kernel.
Yes got it in the Makefile. All I need to change is replace uname -r
with 2.6.25 to get modules built for linux-2.6.25 kernel. I hope it
does not pick anything else from the running kernel.???
>
> Elad
>
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Shaz

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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