我照着书上的例子编了一个简单的模块可不能安装,下面提示这样的错误
'./hello.o': kernel-module version mismatch
./hello.o was compiled for kernel version 2.4.20
while this kernel is version 2.4.20-8
rocklgk, i am sorry that i have to tell you that he is discussing sth about kernel programming. in this world, no printf, no stdlib, no stdio. only printk. :-) :-(
hoho, as brother Dragonfly said, there is a lot of materials for ur questions.(i have answered this question in various forums for various person, since i know nothing but this,hoho)
u can just google that or search it in this forum.
Merry Mid-autumn Festival to brother Dragonfly, also to all of u! hoho!
here is the one. i remember i had written one as well. but i can not find where it is.
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=24890 :-(