[Asterisk-Users] Updating Asterisk

Matthew Boehm mboehm at cytelcom.com
Mon Dec 20 09:00:16 MST 2004


This means there was a problem with cvs when it tried to merge the
differences in chan_sip.c If you have not modified chan_sip.c personally,
then just delete it and run the updater again. It will download a fresh
copy.

-Matthew
----- Original Message ----- 
From: "Adam Robins" <arobins at PharmaCentra.com>
To: <asterisk-users at lists.digium.com>
Sent: Monday, December 20, 2004 9:30 AM
Subject: [Asterisk-Users] Updating Asterisk


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:

RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.25
retrieving revision 1.510.2.27
Merging differences between 1.510.2.25 and 1.510.2.27 into chan_sip.c
M asterisk/channels/chan_sip.c

Then, when I "make install" the compilation errors out on chan_sip.c,
starting with:

gcc -shared -Xlinker -x -o chan_modem.so chan_modem.o
gcc -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations
 -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -march=i686
-DZAPT
EL_OPTIMIZATIONS  -DASTERISK_VERSION=\"CVS-v1-0-12/20/04-09:55:59\"
-DINSTALL_PR
EFIX=\"\" -DASTETCDIR=\"/etc/asterisk\"
-DASTLIBDIR=\"/usr/lib/asterisk\" -DASTV
ARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\"
-DASTSPOOLDIR=\"/var/
spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\"
-DASTCONFPATH=\"/etc/asterisk
/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\"
-DASTAGIDIR=\"/var/li
b/asterisk/agi-bin\"     -DBUSYDETECT_MARTIN
-Wno-missing-prototypes -Wno-m
issing-declarations   -DZAPATA_PRI   -DIAX_TRUNKING   -DCRYPTO -fPIC
-c -o ch
an_sip.o 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?

Thanks.

________________________________


Adam S. Robins
Executive Vice President & CIO

PHARMACENTRA, LLP
5901B Peachtree Dunwoody Road, Suite 380
Atlanta, GA 30328

Office:  770-395-0088 x34
Fax:      770-395-0989
Mobile: 770-855-1360
Email:  arobins at pharmacentra.com
Web:    http://www.pharmacentra.com <http://www.pharmacentra.com/>

________________________________



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.





----------------------------------------------------------------------------
----


> _______________________________________________
> 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




More information about the asterisk-users mailing list