[Asterisk-Users] Updating Asterisk

Adam Robins arobins at PharmaCentra.com
Mon Dec 20 09:00:12 MST 2004


Deleting chan_sip.c entirely  before CVS checkout did the trick.
Asterisk now compiles.  However, now when I start Asterisk, I get this:

 [pbx_spool.so] => (Outgoing Spool Support)
 [pbx_dundi.so]Dec 20 10:51:33 WARNING[24030]: loader.c:258
ast_load_resource: /
usr/lib/asterisk/modules/pbx_dundi.so: undefined symbol:
pbx_substitute_variable
s_varshead
Dec 20 10:51:33 WARNING[24030]: loader.c:440 load_modules: Loading
module pbx_du
ndi.so failed!
[root at S-ATL-PB01 asterisk]# Ouch ... error while writing audio data: :
Broken pi
pe
[root at S-ATL-PB01 asterisk]# 

Any suggestions?  Thanks!

 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Dave
Cotton
Sent: Monday, December 20, 2004 10:49 AM
To: Asterisk List
Subject: Re: [Asterisk-Users] Updating Asterisk

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>

_______________________________________________
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

The contents of this email message and any attachments are confidential and are intended solely for addressee. The information may also be legally privileged. This transmission is sent in trust, for the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. If you are not the intended recipient, please immediately notify the sender by reply email and delete this message and its attachments, if any.





More information about the asterisk-users mailing list