QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1251|回复: 13

为什么没有人回复我?

[复制链接]
发表于 2003-8-17 20:18:51 | 显示全部楼层 |阅读模式
我照着书上的例子编了一个简单的模块可不能安装,下面提示这样的错误
'./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

还有我在编译hello.c的时候出现以下提示

warning:implicit declaration of function 'printk'

有人可以告诉这些都是什么意思吗?还有怎么解决这些问题 我用的是红帽子9
发表于 2003-8-18 22:50:34 | 显示全部楼层
there is a post here about a hello.c with makefile and detail instruction on how to compile it. can u search it and work on that?
回复

使用道具 举报

发表于 2003-8-18 22:52:08 | 显示全部楼层
btw, the title of u post are meaningless. pls use a clear title next time. thx  
回复

使用道具 举报

发表于 2003-9-9 15:00:15 | 显示全部楼层
what is printk?the printf is right!!!remmber!
u program shoud include stdlib.h and stdio.h
回复

使用道具 举报

发表于 2003-9-10 10:23:52 | 显示全部楼层
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.    :-)  :-(
回复

使用道具 举报

发表于 2003-9-10 11:01:21 | 显示全部楼层
     sorry,very sorry.
回复

使用道具 举报

发表于 2003-9-10 11:02:48 | 显示全部楼层
that is fine. spend some time, u can know      
回复

使用道具 举报

发表于 2003-9-10 11:21:27 | 显示全部楼层
THx,i will do that.if i have some problems,i will ask you for help.THx very much.
回复

使用道具 举报

发表于 2003-9-11 01:37:30 | 显示全部楼层
u are always welcomed.
回复

使用道具 举报

发表于 2003-9-11 11:14:19 | 显示全部楼层
does your program have"include module.h"?
回复

使用道具 举报

发表于 2003-9-11 12:17:04 | 显示全部楼层
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!
回复

使用道具 举报

发表于 2003-9-13 08:42:13 | 显示全部楼层


i should mark that helloworld code as essence, did I?  
回复

使用道具 举报

发表于 2003-9-13 09:55:37 | 显示全部楼层
hoho, maybe you should do that.
回复

使用道具 举报

发表于 2003-9-13 23:27:26 | 显示全部楼层
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 :-(
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 09:51 , Processed in 0.066369 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表