[asterisk-users] [Asterisk-users] asterisk-1.8.0 compilation error

RAJNIKANT VANZA rajnivanza at gmail.com
Thu Nov 25 01:13:04 CST 2010


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 


More information about the asterisk-users mailing list