On Sat, Sep 13, 2008 at 2:14 AM, Elad Lahav
<[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>



-- 
Shaz

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to