Re: [Asterisk-Users] patch for chan_capi to compile with latest CVS

2004-11-18 Thread Frank Sautter
hi john, John Williams schrieb: i made a patch that allows the compilation of chan_capi-0.3.5 against current CVS-HEAD of asterisk. If I remove the -2.95 from the CC declaration I get a very large number of errors, the same ones I get when trying to compile without the patch. ok, i forgot to

RE: [Asterisk-Users] patch for chan_capi to compile with latest CVS

2004-11-18 Thread John Williams
Yes I still get the same error. Following is a section from the compiler. I had to truncate a little xlaw.h:1636: warning: excess elements in scalar initializer xlaw.h:1636: warning: (near initialization for `capiINT2ALAW') xlaw.h:1636: warning: excess elements in scalar initializer xlaw.h:1636:

RE: [Asterisk-Users] patch for chan_capi to compile with latest CVS

2004-11-17 Thread John Williams
Hi Frank. When I try to compile using the patched fiels I get the following error [EMAIL PROTECTED] capi]# make gcc-2.95 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/asterisk/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS