[Asterisk-Users] too many arguments to function `ast_queue_hangup' compiling asterisk-oh323

Michael Manousos manousos at inaccessnetworks.com
Thu Apr 15 10:50:46 MST 2004


Victor Perez wrote:
> when trying to build asterisk-oh323 I get the following:
> 
> make[1]: Entering directory `/usr/src/asterisk-oh323-0.5.10/asterisk-driver'    
> gcc -Wall -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declara
> tions -D_REENTRANT -D_GNU_SOURCE -I/usr/src/asterisk/include -I../wrapper -g -c 
> -o chan_oh323.o chan_oh323.c                                                    
> chan_oh323.c: In function `oh323_call':                                         
> chan_oh323.c:1128: error: too many arguments to function `ast_queue_hangup'     
> chan_oh323.c:1142: error: too many arguments to function `ast_queue_hangup'     
> chan_oh323.c: In function `oh323_hangup':                                       
> chan_oh323.c:1182: error: too many arguments to function `ast_queue_hangup'     
> chan_oh323.c: In function `oh323_read':                                         
> chan_oh323.c:1581: error: too many arguments to function `ast_dsp_process'      
> chan_oh323.c: In function `ast_oh323_new':                                      
> chan_oh323.c:2030: warning: assignment from incompatible pointer type           
> chan_oh323.c: In function `cleanup_h323_connection':                            
> chan_oh323.c:2835: error: too many arguments to function `ast_queue_hangup'     
> make[1]: *** [chan_oh323.o] Error 1                                             
> make[1]: Leaving directory `/usr/src/asterisk-oh323-0.5.10/asterisk-driver'     
> make: *** [subdirs_all] Error 1                                                 
> 
> 
> I checked chan_oh323.c and indeed it only takes one parameter now so I am wondering what was that old parameter for and when did they take it off so I may try pulling that version of asterisk to try with.

Some functions of Asterisk have recently changed. asterisk-oh323
has not been updated yet to work with them, so stay with an older
version of Asterisk (date to use with cvs 20040407 or older).

> 
> 
> Regards,
> Victor Perez
> 

Michael.





More information about the asterisk-users mailing list