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) ? 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 > > [email protected] > > 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 > [email protected] > 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 [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
