On Mon, 23 Feb 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? > Dave, You if have libr2 installed. I don't believe much work has been done on R2 in quite some time, so it might not be up to date. The channels/Makefile looks for the existance of /usr/lib/libmfcr2.so.1 to set ZAPATA_R2 which is causing those sections of code to be compiled in James _______________________________________________ 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