我正在尝试在我的服务器上安装 dahdi 模块,但运行 make all 命令时总是失败。如下所示:
root@server:~/dahdi-linux-complete-2.6.2+2.6.2# make all
make -C linux all
make[1]: Entering directory `/root/dahdi-linux-complete-2.6.2+2.6.2/linux'
make -C drivers/dahdi/firmware firmware-loaders
make[2]: Entering directory `/root/dahdi-linux-complete-2.6.2+2.6.2/linux/drivers/dahdi/firmware'
make[2]: Leaving directory `/root/dahdi-linux-complete-2.6.2+2.6.2/linux/drivers/dahdi/firmware'
You do not appear to have the sources for the 3.9.3-x86-linode52 kernel installed.
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/root/dahdi-linux-complete-2.6.2+2.6.2/linux'
make: *** [all] Error 2
然后我输入以下内容来确认我确实安装了 3.9.3-x86-linode52 内核:
root@server:~/dahdi-linux-complete-2.6.2+2.6.2# uname -a
Linux server 3.9.3-x86-linode52 #1 SMP Mon May 20 09:32:28 EDT 2013 i686 i686 i686 GNU/Linux
为什么 dahdi 抱怨缺少 3.9.3-x86-linode52 的源代码,尽管 uname 说它在那里?