[Asterisk-Users] A missing argument

Steve Underwood steveu at coppice.org
Mon Feb 23 17:08:44 MST 2004


Dave Cotton wrote:

>Just done a cvs checkout on 2 different machines 1 running Mandrake 9.2
>with a 2.4.25 kernel the other Mandrake 10.0 and 2.6.3
>the most 10.0 fails at this point
>
>chan_zap.c: In function `handle_init_r2_event':
>chan_zap.c:4773: error: too few arguments to function `zt_new'
>make[1]: *** [chan_zap.o] Error 1
>
>line 4773 has chan = zt_new(i, AST_STATE_RING, 0, SUB_REAL, 0);
>
>but greping shows that the declaration and other instances have 6
>arguments.
>
>ML 9.2 is using gcc-3.3.1 whilst 10.0 is using gcc-3.3.2
>
>What worries me is how many other programs in the world have the same
>type of error and the compiler has missed it?
>
>  
>
The keeps comming up. DO NOT INSTALL libr2. IT IS A HALF FINISHED PIECE 
OF JUNK I WILL NEVER FINISH. I now have a complete implementaion of R2, 
but I started agin when making that. It has nothing to do with the libr2 
you have, and does not even use chan_zap.

Regards,
Steve




More information about the asterisk-users mailing list