LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   creating downloadable kernel modules (https://www.linuxquestions.org/questions/debian-26/creating-downloadable-kernel-modules-429418/)

dubcat 03-28-2006 05:09 PM

creating downloadable kernel modules
 
Hi

I want to write a kernel module that will be dynamically loaded and removed using insmod and rmmod. However, this will run on a debian based system that does not have GCC or any other dev tools.

Can I simply compile the module on another system that is running the same kernel as my target system or do I have to do something more? Is there any way to compile the module for my target system on a machine that is running a different version of the kernel to my target machine?

Sorry if this is a noob question - im kinda new at this stuff :)

Dub

dracae 03-28-2006 09:01 PM

If it is the exact same kernel, i.e. same version, same config, there will be no problems

dubcat 03-29-2006 09:28 AM

Quote:

Originally Posted by dracae
If it is the exact same kernel, i.e. same version, same config, there will be no problems

Perfect! Thanks for your answer.


All times are GMT -5. The time now is 11:45 PM.