Hi, I am trying to install chan_capi, with asterisk (cvs) on Suse 9.0, but I get the following error: =====linux:/usr/src/chan_capi-0.3.1 # make gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include/asterisk -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DDEFLECT_ON_CIRCUITBUSY -DCAPI_SYNC -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c In file included from /usr/include/linux/kernelcapi.h:13, from /usr/include/linux/capi.h:18, from chan_capi.c:34: /usr/include/linux/list.h:563:2: warning: #warning "don't include kernel headers in userspace" chan_capi.c: In function `pipe_frame': chan_capi.c:1187: error: too many arguments to function `ast_dsp_process' make: *** [chan_capi.o] Error 1 ===== Maybe I forgot to do or install something, but I can't figure out what it is. Thanks, Rob
Reinhard Max
2004-Apr-13 03:15 UTC
[Asterisk-Users] Re: Trouble compiling chan_capi on Suse 9.0
Hi, On Mon, 12 Apr 2004 at 19:49, asterisk wrote: [...]> chan_capi.c: In function `pipe_frame': > chan_capi.c:1187: error: too many arguments to function `ast_dsp_process' > make: *** [chan_capi.o] Error 1This looks like you are trying to compile chan_capi against a version of Asterisk (or installed Asterisk headers), that is either too old or too new, i.e. the two are expecting a different number of arguments to the ast_dsp_process function. cu Reinhard