编译安装asterisk-1.4.13

本文解决了在VMware+Redhat9.0环境下编译安装Asterisk-1.4.13过程中遇到的两个错误:1. expand.c中的断言失败问题,解决方案为升级make版本至3.81;2. Func_curl.c中未声明宏CURLOPT_NOSIGNAL的问题,解决方案为本地安装Curl或查找相应RPM包。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 There are two errors when i compile&install asterisk-1.4.13,as follow,  and give the solution.VMware+Redhat 9.0,without hardware.
1expand.c:489: allocated_variable_append: Assertion 'current_variable_set_list->next != 0' failed
make: *** [all] Aborted
 
Because:
make 3.79 has a bug. Download make 3.81 from gnu.org. Build it with "make install". This puts the new version in /usr/local/bin, and keeps the original version in /usr/bin.

Then, run "/usr/local/bin/make install" in the zaptel and asterisk directories. This forces the build with the 3.81 version of make.
 
 
2Func_curl.c : 106 :error “CURLOPT_NOSIGNAL” undeclared (First use in this function)
Installation Requirements:
   Local Curl Installation required to compile CURL Support into Asterisk!
    Download here: curl.haxx.se
   or search for an RPM for your system:  www.rpm-fin.net
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值