Hi I am getting the following error while trying to build pystre It is trying to access a non existent file called channel_pvt.h Can any one help me in this matter???? running build running build_py running build_ext building '_pyastre' extension swigging _pyastre/pyastre.i to _pyastre/pyastre_wrap.c swig -python -o _pyastre/pyastre_wrap.c _pyastre/pyastre.i gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DSCRIPT_DIR="/etc/asterisk/site-python" -I/usr/local/include/python2.4 -c _pyastre/pyastre_wrap.c -o build/temp.linux-i686-2.4/_pyastre/pyastre_wrap.o -Wall _pyastre/pyastre_wrap.c:1414:34: asterisk/channel_pvt.h: No such file or directory _pyastre/pyastre_wrap.c: In function `ast_originate': _pyastre/pyastre_wrap.c:1482: warning: passing arg 12 of `ast_pbx_outgoing_exten' from incompatible pointer type _pyastre/pyastre_wrap.c:1482: too few arguments to function `ast_pbx_outgoing_exten' _pyastre/pyastre_wrap.c: In function `ast_channel_get_type': _pyastre/pyastre_wrap.c:1842: warning: return discards qualifiers from pointer target type _pyastre/pyastre_wrap.c: In function `ast_channel_get_dnid': _pyastre/pyastre_wrap.c:1907: structure has no member named `dnid' _pyastre/pyastre_wrap.c: In function `ast_channel_get_callerid': _pyastre/pyastre_wrap.c:1912: structure has no member named `callerid' _pyastre/pyastre_wrap.c: In function `ast_channel_get_ani': _pyastre/pyastre_wrap.c:1917: structure has no member named `ani' _pyastre/pyastre_wrap.c: In function `ast_channel_get_rdnis': _pyastre/pyastre_wrap.c:1922: structure has no member named `rdnis' _pyastre/pyastre_wrap.c: In function `ast_channel_get_restrictcid': _pyastre/pyastre_wrap.c:1927: structure has no member named `restrictcid' _pyastre/pyastre_wrap.c: In function `ast_channel_get_callingpres': _pyastre/pyastre_wrap.c:1932: structure has no member named `callingpres' error: command 'gcc' failed with exit status 1 Thanks and regards chinmaya
On Wed, 24 Aug 2005, chinmaya wrote:> Hi > I am getting the following error while trying to build pystre > It is trying to access a non existent file called channel_pvt.h > Can any one help me in this matter????What made you think this post was on-topic for asterisk-dev. Worse, you posted it to BOTH asterisk-dev and asterisk-users! Callerid info is stored differently in the stable and the cvs-head code. Either you are running stable and the pystre code is designed for cvs-head, or vice-versa. Steve