keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions on Asterisk with SS7 Chinese variant. (有关Asterisk+中国七号信令的问题)

chan_ss7编译有问题

14 years 3 weeks ago #5122 by xcoolio
Makefile:175: .depend: 没有那个文件或目录
gcc -I../var/xxx/temp/dahdi-linux/include -I../usr/src/asterisk-1.6.0.15/include -g -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -DPIC -fpic -finline-functions -DCHAN_SS7_VERSION=\"1.3\" -o astversion astversion.c -lpthread
astversion.c:25:22: error: asterisk.h: 没有那个文件或目录
astversion.c:26:29: error: asterisk/config.h: 没有那个文件或目录
astversion.c:27:29: error: asterisk/module.h: 没有那个文件或目录
astversion.c:28:26: error: asterisk/cli.h: 没有那个文件或目录
astversion.c: In function ‘main’:
astversion.c:44: warning: implicit declaration of function ‘printf’
astversion.c:44: warning: incompatible implicit declaration of built-in function ‘printf’
make: *** [astversion] 错误 1

上面是执行make编译时报的错误;

include .depend
.depend: astversion.h $(ALLSRCS) $(HDRS)
gcc -MM -E $(CFLAGS) $^ > This email address is being protected from spambots. You need JavaScript enabled to view it. && mv -f This email address is being protected from spambots. You need JavaScript enabled to view it. $@ || rm -f This email address is being protected from spambots. You need JavaScript enabled to view it.

上面是Makefile文件中.depend

在我指定的目录下asterisk.h和其他在asterisk分目录下的头文件都存在,不知道为什么,请指教
14 years 3 weeks ago #5123 by Joe.Yung
Hi,
这是头文件是否包含的问题,你按照如下这个链接的方法来安装:
http://bbs.openvox.cn/viewthread.php?tid=905&extra=page%3D1

14 years 3 weeks ago #5124 by xcoolio
我就是按照这个方法安装的,我在Makefile文件中修改我自己的Asterisk和Dahdi的路径,且文件正确,但是说找不到文件头文件。:'(
14 years 3 weeks ago #5125 by Joe.Yung
Hi,
如果还是编译有错,建议你用与例子同样的版本的asterisk+zaptel+chan_ss7组合来安装。

14 years 3 weeks ago #5126 by xcoolio
我们公司的产品就是基于Asterisk 1.6x的,没办法改...
14 years 3 weeks ago #5127 by james.zhu
hi:
第一次听说有这样的设计, 请列出详细的dahdi.asterisk, linux 版本? 发ssh 给我。

Time to create page: 0.045 seconds
Powered by Kunena Forum