[Asterisk-bsd] I4B by HPS + chan_capi + 1.4.8 on 6.2 = choppy audio & hangups

Hans Petter Selasky hselasky at c2i.net
Sun Jul 22 10:42:37 CDT 2007


On Saturday 21 July 2007 20:46, Michael Iedema wrote:
> Hans Petter,
>
> > After installing asterisk 1.4.8's new headers I now get the following
> > errors compiling chan_capi.
> >
> > MiniBSD # gmake
>
> ...
>
> > chan_capi.c:33:1: invalid digit "8" in octal constant
>
> ...
>
> For some reason, the constant ASTERISK_VERSION_NUM in
> asterisk/version.h is being seen as an octal constant. Since its value
> is now 10408 with 1.4.8, it is an invalid octal value and breaks all
> of the #ifdefs found throughout chan_capi.

I think that I have resolved this issue, by inserting a "0" in front so that 
the number always becomes octal.

Could you send me your "asterisk/version.h" ?

It is important that you compile with the right Asterisk header files!

What version of my SVN repo are you using?

--HPS



More information about the Asterisk-BSD mailing list