[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kernel module programmingII
Hello,
I am studying the kernel modules in order to develop some work in this
field later. I am following the Kernel Programming Guide,
wrote by Ori Pomerantz. At the moment, I'm trying to make the character
device module example from the book(chardev.c). Unfortunately as I do
gcc -c -D__KERNEL__ -DMODULE chardev.c
I got an endless list of errors in many .h kernel files, the ones
accessed through the files called by the includes in chardev.c. The
messages are like.. parse error before 'ino_t', and things like this...
I don't know exactly what to fix...
if anyone have a tip for me, please e-mail-me!
Thank you so much!
ps: the book I mentioned can be
found in www.linuxdoc.org/LDP/lkmpg/node11.html
Cassia Yuri Tatibana
<cytatiba@lcmi.ufsc.br>
"Life is hard,
after all it kills you."
Katherine Hepburn