[asterisk-dev] Unable to compile chan_capi with Asterisk 1.4

Armin Schindler armin at melware.de
Fri Oct 27 09:18:50 MST 2006


This is known, but not done yet. Please see
  http://bugs.melware.net/mantis/view.php?id=20

Armin


On Fri, 27 Oct 2006, Gregory Duchatelet wrote:

> I was using Asterisk stable (1.2.12) and try asterisk latest (svn), it works
> but I'm not able to compile chan_capi, see log :
> 
>  
> 
> debian:/usr/src/chan-capi-HEAD# LANG=C make
> 
> gcc -pipe -fPIC -Wall -Wmissing-prototypes -Wmissing-declarations -g
> -I/usr/include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686
> -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO   -c -o
> chan_capi.o chan_capi.c
> 
> In file included from chan_capi.c:82:
> 
> chan_capi.h:41:2: warning: #warning If you dont update your libcapi20, some
> fax features are not available
> 
> chan_capi.c:146: warning: type defaults to `int' in declaration of
> `STANDARD_LOCAL_USER'
> 
> chan_capi.c:146: warning: data definition has no type or storage class
> 
> chan_capi.c:147: warning: type defaults to `int' in declaration of
> `LOCAL_USER_DECL'
> 
> chan_capi.c:147: warning: data definition has no type or storage class
> 
> chan_capi.c: In function `capi_new':
> 
> chan_capi.c:2083: error: structure has no member named `type'
> 
> chan_capi.c: In function `pbx_capicommand_exec':
> 
> chan_capi.c:4616: warning: implicit declaration of function `LOCAL_USER_ADD'
> 
> chan_capi.c:4631: warning: implicit declaration of function
> `LOCAL_USER_REMOVE'
> 
> chan_capi.c: At top level:
> 
> chan_capi.c:5278: error: unknown field `send_digit' specified in initializer
> 
> chan_capi.c:5278: warning: initialization from incompatible pointer type
> 
> make: *** [chan_capi.o] Error 1
> 
>  
> 
> Greg
> 
> 


More information about the asterisk-dev mailing list