我想安装的星号服务器有问题。我有一个亚马逊服务器,Ubuntu 12.04, 64 bit。我已经一步一步地遵循了install-asterisk-1-8-from-source-on-ubuntu-12-04的指示。我到了下载DAHDI文件夹并尝试使用"make"命令的部分,但是得到了下面的错误,这是我在底部发布的。我不是Linux天才,但我理解并试图解决的是。我的盒子里没有内核的源代码,但我不知道如何获得它们,也不知道如何修改它们,以便DAHDI能够工作。有人能帮忙吗?
/usr/src/dahdi- linux -complete-2.6.1+2.6.1# make
/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.2.0-31-virtual kernel installed. make[ 1]: _\*_ [modules] Error 1 make[ 1]: Leaving directory/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux‘linux都使1:进入目录/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux' make -C drivers/dahdi/firmware firmware-loaders make[2]: Entering directory-C 2:离开目录/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/firmware' You do not appear to have the sources for the 3.2.0-31-virtual kernel installed. make[ 1]: _\*_ [modules] Error 1 make[ 1]: Leaving directory/usr/src/dahdi-linux-complete-2.6.1+2.6.1/linux’:* all 误差2 root@domU-12-31-39-03-20-24:/usr/src/dahdi-linux-complete-2.6.1+2.6.1#
发布于 2013-01-10 16:49:52
您还需要安装内核源代码来解决依赖关系。
试着运行这个,然后重新运行make。
apt-get install linux-headers-`uname -r`https://stackoverflow.com/questions/14262371
复制相似问题