Dear All,
I am somewhat new to the Linux programmig.
I have created one program new.c and compile it to make new.o, when i tried to insert the new.o through command 'insmod new.o', it gives me an error that:
"Error inserting './hello.ko': -1 Invalid module format"
I know that this error is because of my kernel version is not the one on which i am running the insmod command, but i dont know what to do to sort out this problem?
Please action i should take to sort out this problem?
Thanks,
Nishant