在Desktop上编译的模块为什么不能在Server上安装?

编译打包和其他
回复
surefire
帖子: 19
注册时间: 2007-11-10 8:54

在Desktop上编译的模块为什么不能在Server上安装?

#1

帖子 surefire » 2009-06-25 17:52

我用Ubuntu 9.04 Desktop编译了一个驱动模块,可以安装运行,但是在Ubuntu 9.04 Server上安装时失败,提示说模块格式不对,这是怎么回事?如果要在Server进行编译怎么做?我编译的时候说没有/lib/modules/(uname -r)/build目录,我进去一看果然没有build目录,那在Server下怎么编译驱动模块呢?Server的编译环境我都设置好了。谢谢热心的人帮我一下,很急!
surefire
帖子: 19
注册时间: 2007-11-10 8:54

Re: 在Desktop上编译的模块为什么不能在Server上安装?

#2

帖子 surefire » 2009-06-26 8:55

怎么没有人回答啊,没人遇到这种情况吗?
头像
HuntXu
帖子: 5776
注册时间: 2007-09-29 3:09

Re: 在Desktop上编译的模块为什么不能在Server上安装?

#3

帖子 HuntXu » 2009-06-26 9:36

内核包的问题...
HUNT Unfortunately No Talent...
surefire
帖子: 19
注册时间: 2007-11-10 8:54

Re: 在Desktop上编译的模块为什么不能在Server上安装?

#4

帖子 surefire » 2009-06-26 9:39

HuntXu 写了:内核包的问题...
那要怎么弄呢?
surefire
帖子: 19
注册时间: 2007-11-10 8:54

Re: 在Desktop上编译的模块为什么不能在Server上安装?

#5

帖子 surefire » 2009-06-26 10:53

sudo dmesg 提示:disagrees about version of symbol struct_module
回复