Re: [Asterisk-Users] Chan_Capi 0.3.4a error
> I just downloaded chan_capi.0.3.4a.tar.gz but it will not compile on my > system (Suse 9.1). Search the mailing list archive. The answer to your question is right there. ___ 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
RE: [Asterisk-Users] Chan_Capi 0.3.4a error
Try to compile with lastest CVS srsergio -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Martin List-Petersen Enviado el: jueves, 15 de julio de 2004 1:12 Para: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Asunto: Re: [Asterisk-Users] Chan_Capi 0.3.4a error Are you compiling against stable ? Check the Makefile .. you need to comment out the line that says "CFLAGS= -DUNSTABLE_CVS" Kind regards, Martin List-Petersen On Wed, 2004-07-14 at 21:16, [EMAIL PROTECTED] wrote: > I just downloaded chan_capi.0.3.4a.tar.gz but it will not compile on > my system (Suse 9.1). > > I compiled and installed Asterisk and it is running, did I miss a > configuration or dependency for Chan_Capi somewhere ? > > > cheers, > Mike > > linux:/usr/src/chan_capi-0.3.4a # make > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES > -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -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:604:2: warning: #warning "don't include kernel > headers in userspace" > chan_capi.c:61: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:61: warning: parameter names (without types) in function > declaration > chan_capi.c:61: warning: data definition has no type or storage class > chan_capi.c:62: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:62: warning: parameter names (without types) in function > declaration > chan_capi.c:62: warning: data definition has no type or storage class > chan_capi.c:63: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:63: warning: parameter names (without types) in function > declaration > chan_capi.c:63: warning: data definition has no type or storage class > chan_capi.c:64: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:64: warning: parameter names (without types) in function > declaration > chan_capi.c:64: warning: data definition has no type or storage class > chan_capi.c:65: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:65: warning: parameter names (without types) in function > declaration > chan_capi.c:65: warning: data definition has no type or storage class > chan_capi.c:66: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:66: warning: parameter names (without types) in function > declaration > chan_capi.c:66: warning: data definition has no type or storage class > chan_capi.c:67: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:67: warning: parameter names (without types) in function > declaration > chan_capi.c:67: warning: data definition has no type or storage class > chan_capi.c: In function `_capi_put_cmsg': > chan_capi.c:105: error: `capi_put_lock' undeclared (first use in this > function) > chan_capi.c:105: error: (Each undeclared identifier is reported only once > chan_capi.c:105: error: for each function it appears in.) > chan_capi.c: In function `capi_echo_canceller': > chan_capi.c:180: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `capi_detect_dtmf': > chan_capi.c:230: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `capi_send_digit': > chan_capi.c:308: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `remove_pipe': > chan_capi.c:480: error: `pipelock' undeclared (first use in this function) > chan_capi.c: In function `capi_hangup': > chan_capi.c:612: error: `usecnt_lock' undeclared (first use in this > function) > chan_capi.c: In function `capi_call': > chan_capi.c:684: error: `pipelock' undeclared (first use in this function) > chan_capi.c: In function `capi_read': > chan_capi.c:825: error: structure has no member named `delivery' > chan_capi.c:826: error: structure has no member named `delivery' > chan_capi.c: In function `capi_write': > chan_capi.c:898: error: `capi_send_buffer_lock' undeclared (first use in > this function) > chan_capi.c: In function `capi_new': > chan_capi.c:1021: error: structure has no member named `delivery' > chan_capi.c:1022: error: structu
Re: [Asterisk-Users] Chan_Capi 0.3.4a error
Are you compiling against stable ? Check the Makefile .. you need to comment out the line that says "CFLAGS= -DUNSTABLE_CVS" Kind regards, Martin List-Petersen On Wed, 2004-07-14 at 21:16, [EMAIL PROTECTED] wrote: > I just downloaded chan_capi.0.3.4a.tar.gz but it will not compile on my > system (Suse 9.1). > > I compiled and installed Asterisk and it is running, did I miss a > configuration or dependency for Chan_Capi somewhere ? > > > cheers, > Mike > > linux:/usr/src/chan_capi-0.3.4a # make > gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g > -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES > -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -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:604:2: warning: #warning "don't include kernel > headers in userspace" > chan_capi.c:61: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:61: warning: parameter names (without types) in function > declaration > chan_capi.c:61: warning: data definition has no type or storage class > chan_capi.c:62: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:62: warning: parameter names (without types) in function > declaration > chan_capi.c:62: warning: data definition has no type or storage class > chan_capi.c:63: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:63: warning: parameter names (without types) in function > declaration > chan_capi.c:63: warning: data definition has no type or storage class > chan_capi.c:64: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:64: warning: parameter names (without types) in function > declaration > chan_capi.c:64: warning: data definition has no type or storage class > chan_capi.c:65: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:65: warning: parameter names (without types) in function > declaration > chan_capi.c:65: warning: data definition has no type or storage class > chan_capi.c:66: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:66: warning: parameter names (without types) in function > declaration > chan_capi.c:66: warning: data definition has no type or storage class > chan_capi.c:67: warning: type defaults to `int' in declaration of > `AST_MUTEX_DEFINE_STATIC' > chan_capi.c:67: warning: parameter names (without types) in function > declaration > chan_capi.c:67: warning: data definition has no type or storage class > chan_capi.c: In function `_capi_put_cmsg': > chan_capi.c:105: error: `capi_put_lock' undeclared (first use in this > function) > chan_capi.c:105: error: (Each undeclared identifier is reported only once > chan_capi.c:105: error: for each function it appears in.) > chan_capi.c: In function `capi_echo_canceller': > chan_capi.c:180: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `capi_detect_dtmf': > chan_capi.c:230: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `capi_send_digit': > chan_capi.c:308: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `remove_pipe': > chan_capi.c:480: error: `pipelock' undeclared (first use in this function) > chan_capi.c: In function `capi_hangup': > chan_capi.c:612: error: `usecnt_lock' undeclared (first use in this > function) > chan_capi.c: In function `capi_call': > chan_capi.c:684: error: `pipelock' undeclared (first use in this function) > chan_capi.c: In function `capi_read': > chan_capi.c:825: error: structure has no member named `delivery' > chan_capi.c:826: error: structure has no member named `delivery' > chan_capi.c: In function `capi_write': > chan_capi.c:898: error: `capi_send_buffer_lock' undeclared (first use in > this function) > chan_capi.c: In function `capi_new': > chan_capi.c:1021: error: structure has no member named `delivery' > chan_capi.c:1022: error: structure has no member named `delivery' > chan_capi.c:1077: error: `usecnt_lock' undeclared (first use in this > function) > chan_capi.c: In function `capi_request': > chan_capi.c:1129: error: `iflock' undeclared (first use in this function) > chan_capi.c:1145: error: `contrlock' undeclared (first use in this function) > chan_capi.c: In function `find_pipe': > chan_capi.c:1180: error: `pipelock' undeclared (first use in this function) > chan_capi.c: In function `pipe_frame': > chan_capi.c:1213: error: too few arguments to function `ast_dsp_process' > chan_capi.c: In function `pipe_msg': > chan_capi.c:1346: error: `contrlock' undeclared (first use in this function) > chan_capi.c:1498: error: structure has no member named `delivery' > chan_capi.c