[Asterisk-Users] Updating Asterisk

Dave Cotton dcotton at linuxautrement.com
Mon Dec 20 08:49:28 MST 2004


On Mon, 2004-12-20 at 10:30 -0500, Adam Robins wrote:
> I am attempting to update my Asterisk installation from 1.0 to the
> latest stable version.  When I use CVS checkout, I am receiving the
> following messages on chan_sip.c:
>  
> chan_sip.c:363: syntax error before '<<' token
> chan_sip.c:363: warning: no semicolon at end of struct or union
> chan_sip.c:367: too many decimal points in floating constant
> chan_sip.c:369: warning: type defaults to `int' in declaration of
> `iflist'
> chan_sip.c:369: warning: data definition has no type or storage class
> chan_sip.c:419: syntax error before '<<' token
> chan_sip.c:419: warning: no semicolon at end of struct or union
> chan_sip.c:422: syntax error before '==' token
> chan_sip.c:427: too many decimal points in floating constant
> chan_sip.c: In function `sip_debug_test_pvt':
> chan_sip.c:597: dereferencing pointer to incomplete type
> chan_sip.c:597: dereferencing pointer to incomplete type
> chan_sip.c:597: dereferencing pointer to incomplete type
> chan_sip.c: In function `__sip_xmit':
> chan_sip.c:606: dereferencing pointer to incomplete type
> chan_sip.c:607: dereferencing pointer to incomplete type
> chan_sip.c:609: dereferencing pointer to incomplete type
> chan_sip.c:611: dereferencing pointer to incomplete type
> chan_sip.c: In function `append_history':
> chan_sip.c:663: dereferencing pointer to incomplete type
> chan_sip.c:669: dereferencing pointer to incomplete type
> 
> Can anyone provide info on what may be occurring here?

The merge found some things it was not able to handle around line 369.
You need to edit chan_sip.c and sort these out or you could just delete
chan_sip.c and redo the cvs update which will get you the latest version
without it trying to merge.

-- 
Dave Cotton <dcotton at linuxautrement.com>




More information about the asterisk-users mailing list