hi all
i recently tried writing a very simple module for 2.6 kernel series.
its a simple hello world program from ldd 3rd ed.
when i create a Makefile and do a make, it gives me a warning mesg saying
error : file .module.o.d doesnt have required permissions.
from where did this file come into picture.
i changed the permission masks using chmod 777 .module.o.d and then tried make .
now it runs fine but makes the module as hello.o while i need a hello.ko ... :-(
y is this happening?
i have used the Makefile given in the 2nd chapter of ldd 3rd ed by rubini.
i must add that when i did the same thing as root nothing wrong happend but happened nly wen i m compliing the module as non-root user.
y is this? i should b able to compile , if i m not wrong u need su permissions to insert the module not to compile it.
i also want to know there were also some files which showed up only when i used ls -la like .hello.cmd .o etc , wat r these ? theri significance?
TIA
regards
--
play the game