Simply compiling the modules using "gcc -c sample.c" does not help. You have to compile it like a kernel module. e.g. For kernel 2.4, gcc -c -I<path to kernel source/include> -DMODULE -D__KERNEL__ sample.c
This is also changed in kernel 2.6, where you need to use the make modules command to compile a module. Read the Linux device drivers release 3 book, or http://lwn.net/Articles/21823/ - Kiran. On 4/15/05, Amarendra Godbole <[EMAIL PROTECTED]> wrote: > Phaneendra Reddy wrote: > > Hi PLUG, > > > > I have a problem with loading a miodule into tha kernel using "insmod" > > http://www.dazuko.org/tload.shtml#GENERAL-INSMOD-ERROR > > should help you probably. Alternatively, you can post the contents of > /var/log/messages here, if still things are unclear. > > Cheers, > Amar > > -- > Picture Perfect Engineering / GE Infrastructure-ITC / > #include <std$disclaimer.h> > -- > ______________________________________________________________________ > Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) > List Information: http://plug.org.in/mailing-list/listinfo/plug-mail > Send 'help' to [EMAIL PROTECTED] for mailing instructions. > -- ----- KD. http://www.geocities.com/kirandivekar/ -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/mailing-list/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.