我正在尝试在我的服务器上安装 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 说它在那里?
我想通了并写了一篇关于它的博客文章
http://internetbandaid.com/2013/05/29/installing-asterisk-pbx-on-linode/