Hi Everybody,
I am very new to device driver programming and for that i am referring to
O'Reilly's LDD Programming.
And I am doing this on Fedora Core 11 which i had
got with a Linux magazine(Linux For You).
1)After writing my hello_world module i was unable to compile the module using gcc to get a ".ko" object file.
From the errors it showed it could be seen that it was unable to find
<linux/module.h>,<linux/init.h> and respective macros.
2)After searching on it a bit ,i installed the kernel-devel* and kernel-headers* packages which came along with the dvd.
Even after that i was unable to compile.
3)So, i decided to compile the kernel 2.6.27.39 manually
http://www.kernel.org/
To compile the kernel i followed the instructions given in the site
http://www.cyberciti.biz/tips/compil...kernel-26.html
I
replaced the /usr/src mentioned in the site to /usr/src/kernels, as all my kernels were listed in the directory.
I think every step were done without errors , but when i booted with that kernel the booting process hanged at the last stage and many things regarding SS,DS,ES were shown on the screen.
So, I am stuck with it.
Thanks in advance for any kind of help.