就想把相应版本的源代码和头文件都安装。但是在www.gnu.org下面并没有相应版本的源代码
参照http://www.linux8.net/viewnews_7700.html的文章按照里面的方法也没有成功。
以下是我做的步骤:
代码: 全选
root@allen-pc:~# uname -r
2.6.20-16-generic
root@allen-pc:~# apt-get install kernel-source-2.6.20-16-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package kernel-source-2.6.20-16-generic
root@allen-pc:~# apt-get install linux-kernel-source-2.6.20-16
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-kernel-source-2.6.20-16
root@allen-pc:~# apt-get install linux-kernel-source-2.6.20
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-kernel-source-2.6.20
由于本人比较笨,所以请大家讲清楚点谢谢
还有如果我把源代码和头文件都下载(好像已经下了)下来,是不是就能编译驱动阿?