[asterisk-dev] [Asterisk-Dev] Asterisk-1.8.0 compilation error

RAJNIKANT VANZA rajnivanza at gmail.com
Thu Nov 25 01:21:39 CST 2010


Hi all,

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-1.6.2.6 version
to asterisk-1.8.0 version. Given as below asterisk compilation logs:

# 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101125/fa3ce4c4/attachment.htm 


More information about the asterisk-dev mailing list