Posted: Wed Sep 30, 2009 10:42 am Post subject: Asterisk 1.6.1.x and app_conference 2.0.1: compile error
Hi,
I try to install app_conference plug-in in asterisk 1.6.1.x but i get an error. With asterisk 1.4.x the installation it's ok, with asterisk 1.6.0.x with a patch that i found on sourceforge it's ok...
The same patch doesn't work with asterisk 1.6.1.x and 1.6.2.rc2
Now I'm searching a patch for the two last version but i can't find it...How Can i do?
If I apply the patch for 1.6.0.x at asterisk 1.6.1.x or 1.6.2rc2 I get the following error
sudo make
cc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP -g -fPIC -DAST16 -I../asterisk/include -D_REENTRANT -D_GNU_SOURCE -DREVISION=\"esportato\" -DCRYPTO -Ilibspeex -DSILDET=2 -c -o conference.o conference.c
cc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -MD -MP -g -fPIC -DAST16 -I../asterisk/include -D_REENTRANT -D_GNU_SOURCE -DREVISION=\"esportato\" -DCRYPTO -Ilibspeex -DSILDET=2 -c -o member.o member.c
member.c: In function ‘process_incoming’:
member.c:179: error: incompatible type for argument 2 of ‘speex_preprocess’
member.c:257: error: incompatible type for argument 1 of ‘strncmp’
member.c:267: error: incompatible type for argument 1 of ‘strncmp’
member.c:277: error: incompatible type for argument 1 of ‘strncmp’
member.c:287: error: incompatible type for argument 1 of ‘strncmp’
member.c: In function ‘ast_packer_feed’:
member.c:2716: error: incompatible type for argument 2 of ‘memcpy’
member.c: In function ‘ast_packer_read’:
member.c:2754: error: incompatible types in assignment
member.c:2760: error: incompatible type for argument 1 of ‘memcpy’
make: *** [member.o] Errore 1
I realize that patch modified three file of app_conference
Makefile 1 line
app_conference.h 1 line
cli.c 39 line
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum