Hi, I'm trying to make work chan_capi with last asterisk CVS. I installed last zaptel,libpri,last cvs ana patched chan_capi 0.35 with the patch kindly suggested me by Jason Williams: http://www.levigo.de/VoIP/chan_capi-0.3.5-cvs-HEAD-patch.tar.bz2 First I received error 127 that I resolved commenting the line CC=gcc-2.95 but now I have this error: chan_capi.c: In function `load_module': chan_capi.c:2843: warning: passing arg 1 of `ast_channel_register' from incompatible pointer type chan_capi.c:2843: too many arguments to function `ast_channel_register' chan_capi.c: In function `unload_module': chan_capi.c:2863: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer type make: *** [chan_capi.o] Error 1 Someone can help me ? Bye
Jason Williams
2005-Mar-04 06:42 UTC
[Asterisk-Users] chan_capi with patch compilation error
The HEAD version was changed last night to be incompatible with the patch I provided, My C skills are not good enough to fix this so you need to checkout from cvs yesterdays code cvs checkout -D 03/03/05 asterisk Jason On Fri, 04 Mar 2005 13:51:51 +0100, Massimo <tonini.massimo@tiscali.it> wrote:> Hi, > I'm trying to make work chan_capi with last asterisk CVS. > I installed last zaptel,libpri,last cvs ana patched chan_capi 0.35 with the > patch kindly suggested me by Jason Williams: > http://www.levigo.de/VoIP/chan_capi-0.3.5-cvs-HEAD-patch.tar.bz2 > > First I received error 127 that I resolved commenting the line CC=gcc-2.95 > but now I have this error: > > chan_capi.c: In function `load_module': > chan_capi.c:2843: warning: passing arg 1 of `ast_channel_register' from > incompatible pointer type > chan_capi.c:2843: too many arguments to function `ast_channel_register' > chan_capi.c: In function `unload_module': > chan_capi.c:2863: warning: passing arg 1 of `ast_channel_unregister' from > incompatible pointer type > make: *** [chan_capi.o] Error 1 > > Someone can help me ? > > Bye > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >