我编译时的,警告:
[root@Linux module]# gcc -Wall -c module.c
module.c: In function `init_module':
module.c:6: warning: implicit declaration of function `printk'
我加载模块时的,错误:
[root@Linux module]# insmod module.o
module.o: kernel-module version mismatch
module.o was compiled for kernel version 2.4.20
while this kernel is version 2.4.20-8.