RAJNIKANT VANZA
2010-Nov-24 11:09 UTC
[asterisk-users] [Asterisk-users] asterisk-1.8.0 compilation error
Hi all, I want to upgared from asterisk-1.6.2.6 version to asterisk-1.8.0 version. When i execute "make" command for compilation i have seen below errors. In file included from /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/cdr.h:31 /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:233: error: field ?AST_DATA_IPADDR? has incomplete type /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:794: error: return type is an incomplete type /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h: In function ?ast_data_retrieve_ipaddr?: /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:799: warning: ?return? with a value, in function returning void make[1]: *** [cdr_webservice.o] Error 1 make: *** [cdr] Error 2 Please, help me for resolve above errors. Thanks in advance. -- Best Regards, Rajnikant Vanza -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101124/b8d2c54e/attachment.htm
Paul Belanger
2010-Nov-24 14:31 UTC
[asterisk-users] [Asterisk-users] asterisk-1.8.0 compilation error
On 10-11-24 06:09 AM, RAJNIKANT VANZA wrote:> make[1]: *** [cdr_webservice.o] Error 1 > make: *** [cdr] Error 2 >What is cdr_webservice.o ? -- Paul Belanger Digium, Inc. | Software Developer twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at: http://digium.com & http://asterisk.org
RAJNIKANT VANZA
2010-Nov-25 07:13 UTC
[asterisk-users] [Asterisk-users] asterisk-1.8.0 compilation error
Hi Paul, Thanks for reply. I have some mistake send compilation logs. i have written cdr_webservice.c module and its work on asterisk-1.6.2.6 version on production server. but i want to upgrade asterisk version. # make [CC] cdr_webservice.c -> cdr_webservice.o In file included from /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/cdr.h:31, from cdr_webservice.c:29: /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:233: error: field ?AST_DATA_IPADDR? has incomplete type /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:794: error: return type is an incomplete type /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h: In function ?ast_data_retrieve_ipaddr?: /usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:799: warning: ?return? with a value, in function returning void make[1]: *** [cdr_webservice.o] Error 1 make: *** [cdr] Error 2 Help me for resolve this compilation errors. -- Best Regards, Rajnikant Vanza On Wed, Nov 24, 2010 at 8:01 PM, Paul Belanger <pabelanger at digium.com>wrote:> On 10-11-24 06:09 AM, RAJNIKANT VANZA wrote: > > make[1]: *** [cdr_webservice.o] Error 1 > > make: *** [cdr] Error 2 > > > What is cdr_webservice.o ? > > -- > Paul Belanger > Digium, Inc. | Software Developer > twitter: pabelanger | IRC: pabelanger (Freenode) > Check us out at: http://digium.com & http://asterisk.org > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101125/0535cb8c/attachment.htm