[Asterisk-Users] Errors Compiling chan_capi 0.3.5
Mike Price
mike at pie.co.nz
Thu May 26 03:54:12 MST 2005
Yes libcapi is installed. Here is a sample of the errors I am getting:
In file included from chan_capi.c:38:
chan_capi_pvt.h:92: syntax error before "_cword"
chan_capi_pvt.h:92: warning: no semicolon at end of struct or union
chan_capi_pvt.h:195: syntax error before '}' token
chan_capi.c:41: syntax error before "ast_capi_MessageNumber"
chan_capi.c:41: warning: type defaults to `int' in declaration of
`ast_capi_MessageNumber'
chan_capi.c:41: warning: data definition has no type or storage class
chan_capi.c:114: variable `capi_tech' has initializer but incomplete
type
chan_capi.c:115: unknown field `type' specified in initializer
chan_capi.c:115: warning: excess elements in struct initializer
chan_capi.c:115: warning: (near initialization for `capi_tech')
chan_capi.c:116: unknown field `description' specified in initializer
chan_capi.c:116: warning: excess elements in struct initializer
chan_capi.c:116: warning: (near initialization for `capi_tech')
chan_capi.c:117: unknown field `capabilities' specified in initializer
chan_capi.c:117: warning: excess elements in struct initializer
chan_capi.c:117: warning: (near initialization for `capi_tech')
chan_capi.c:118: unknown field `requester' specified in initializer
chan_capi.c:118: warning: excess elements in struct initializer
chan_capi.c:118: warning: (near initialization for `capi_tech')
chan_capi.c:120: unknown field `send_digit' specified in initializer
chan_capi.c:120: warning: excess elements in struct initializer
chan_capi.c:120: warning: (near initialization for `capi_tech')
chan_capi.c:121: unknown field `call' specified in initializer
chan_capi.c:121: warning: excess elements in struct initializer
chan_capi.c:121: warning: (near initialization for `capi_tech')
chan_capi.c:122: unknown field `hangup' specified in initializer
chan_capi.c:122: warning: excess elements in struct initializer
chan_capi.c:122: warning: (near initialization for `capi_tech')
chan_capi.c:123: unknown field `answer' specified in initializer
chan_capi.c:123: warning: excess elements in struct initializer
chan_capi.c:123: warning: (near initialization for `capi_tech')
chan_capi.c:124: unknown field `read' specified in initializer
chan_capi.c:124: warning: excess elements in struct initializer
chan_capi.c:124: warning: (near initialization for `capi_tech')
chan_capi.c:125: unknown field `write' specified in initializer
chan_capi.c:125: warning: excess elements in struct initializer
chan_capi.c:125: warning: (near initialization for `capi_tech')
Does this help?
Mike
On Thu, 2005-05-26 at 21:57, Armin Schindler wrote:
> On Thu, 26 May 2005, Mike Price wrote:
> > I having difficulty in compiling chan_capi. I have installed A at H version
> > 1.0. This uses Asterisk v 1.0.7. I have downloaded chan_capi-0.3.5 and
> > applied chan_capi-0.3.5-patch.diff. Despite all this I still get:
> > chan_capi_pvt.h:92: syntax error before "_cword". Plus many other
> > errors.
>
> What errors do you get?
> Looks like the capi headers are missing. Do you have libcapi installed ?
>
> Armin
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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
More information about the asterisk-users
mailing list