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

2004-04-15 Thread Victor Perez
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.


Regards,
Victor Perez

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-04-15 Thread Michael Manousos


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.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2004-04-15 Thread Jeremy McNamara
Victor Perez wrote:

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.
 

The author of that software needs to update because the asterisk API has 
changed.  It is a simple fix, just look at the new function prototype(s) 
and remove the offending parameter or wait until asterisk-oh323 gets 
updated.

Jeremy McNamara

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users