Hi I have a question here about to build kernel module I have a C code #include<stdio.h> main() { printf("Hello World"); } I did gcc -o test.ko test.c it created test executable but when i do insmod it gives me [root@e net]# insmod test.ko insmod: error inserting 'test.ko': -1 Invalid module format [root@e net]# I know i am doing wrong Please let me know whats missing Thanks and Regards Kaushal