On Thu, 2005-05-26 at 23:21, Armin Schindler wrote: > On Thu, 26 May 2005, Mike Price wrote: > > 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" > ... > > It looks like _cword is not defined. The definition is made in > /usr/include/capiutils.h, do you have this file (should be installed by > the libcapi/capi20 package) ? > On what system do you compiling (SuSE, Debian, ... or even Cross) ? > OK. I found I was missing isdn4k-utils-devel-3.1-76 and therefore capiutils.h etc.
Now when I try to complie I get: 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') .... So things are still not quite right. The system is [EMAIL PROTECTED] v1.0 (CentOS 3.4 final) Any other pointers? Mike > Armin > > > 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 [EMAIL > > > > PROTECTED] 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@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 > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@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 > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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