Re: Inserting module into running kernel

2007-09-19 Thread Thomas Petazzoni
Hi,

Le Tue, 18 Sep 2007 23:03:54 -0500,
Sachin Gaikwad [EMAIL PROTECTED] a écrit :

 Is there anything which I should take care of while compiling this
 module, as we have to insert it into the running kernel ?

You must compile it against the headers of the kernel on which you
intend to run the module, and you must compile it with the same gcc
version as the one used to compile the kernel.

Sincerly,

Thomas
-- 
Thomas Petazzoni - [EMAIL PROTECTED]
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org

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



Inserting module into running kernel

2007-09-18 Thread Sachin Gaikwad
Hi all,

I have built my kernel from source, installed and booted in it.

Now I have written a small module. Can I insert this module into the
runningn kernel ?

Is there anything which I should take care of while compiling this
module, as we have to insert it into the running kernel ?

Thanks in advance,

Sachin

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