On Sat, Sep 13, 2008 at 7:36 AM, Shaz <shazalive@xxxxxxxxx> wrote:
No Worries. You got it right.
On Sat, Sep 13, 2008 at 2:14 AM, Elad LahavYes got it in the Makefile. All I need to change is replace uname -r
<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.
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.???
>
No Worries. You got it right.
--
> 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
--
Regards,
Sandeep.
"To learn is to change. Education is a process that changes the learner."