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

Re: Loading Module



On Fri, Jan 04, 2002 at 02:32:22PM +0530, Amit Sharma wrote:

> #define MODULE
> # include <linux/module.h>
> int init_module(void) { printk {<1>"Hello World\n"}; return 0; }
> void cleanup_module(void) { printk {<1> bye bye"); }

how about showing us your actual code instead of this ?

Please read http://kernelnewbies.org/faq/, especially the bit about
compiling modules ...

rik, can we add the FAQ URL to the message footers please ? That way I
know its OK to ignore people who haven't read it ;)

john

-- 
I am a complete moron for forgetting about endianness. May I be
forever marked as such.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/