Ubuntu Server 9.04如何编译驱动模块?
-
- 帖子: 19
- 注册时间: 2007-11-10 8:54
Ubuntu Server 9.04如何编译驱动模块?
我在桌面版上编译的模块在Server版上安装时提示说模块格式不对,我想在Server重新编译,可是提示说/lib/modules/2.6.28-11-server/build目录不存在,无法进行编译!请问我该怎么办啊?
- smallapple
- 论坛版主
- 帖子: 7868
- 注册时间: 2009-03-28 15:12
Re: Ubuntu Server 9.04如何编译驱动模块?
代码: 全选
sudo apt-get install linux-headers-2.6.28-11-server
-
- 帖子: 19
- 注册时间: 2007-11-10 8:54
Re: Ubuntu Server 9.04如何编译驱动模块?
谢谢这位大哥!smallapple 写了:代码: 全选
sudo apt-get install linux-headers-2.6.28-11-server