[Asterisk-Users] A missing argument

Dave Cotton dcotton at linuxautrement.com
Mon Feb 23 15:03:46 MST 2004


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?

-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list