[Home]

Summary:ASTERISK-20580: skypeforasterisk compile error on asterisk-11.0.0-rc2
Reporter:Thomas Stein (himbeere)Labels:
Date Opened:2012-10-18 05:23:24Date Closed:2012-10-18 08:23:42
Priority:MajorRegression?No
Status:Closed/CompleteComponents:
Versions:11.0.0-beta2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello.

chan_skype does not compile anymore on 11.0.0-rc2. Here is the error:

hostname skypeforasterisk-10.0_1.1.4-x86_64 # make
gcc -I/usr/include -o chan_skype.o -c chan_skype.c -pipe -O3 -fPIC -DAST_MODULE=\"chan_skype\" -MD -MT chan_skype.o -MF .chan_skype.o.d -MP
chan_skype.c:343:2: warning: initialization from incompatible pointer type [enabled by default]
chan_skype.c:343:2: warning: (near initialization for 'chan_tech.requester') [enabled by default]
chan_skype.c:346:2: warning: initialization from incompatible pointer type [enabled by default]
chan_skype.c:346:2: warning: (near initialization for 'chan_tech.call') [enabled by default]
chan_skype.c: In function 'rtp_get_info':
chan_skype.c:405:44: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'rtp_get_codec':
chan_skype.c:423:31: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'indicate':
chan_skype.c:428:62: error: dereferencing pointer to incomplete type
chan_skype.c:432:11: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'fixup':
chan_skype.c:486:66: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'digit_begin':
chan_skype.c:495:62: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'digit_end':
chan_skype.c:504:62: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'channel_read':
chan_skype.c:514:45: error: dereferencing pointer to incomplete type
chan_skype.c:518:10: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'call':
chan_skype.c:590:62: error: dereferencing pointer to incomplete type
chan_skype.c:619:6: error: dereferencing pointer to incomplete type
chan_skype.c:620:6: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'hangup':
chan_skype.c:630:62: error: dereferencing pointer to incomplete type
chan_skype.c:636:5: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'answer':
chan_skype.c:644:62: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'frame_read':
chan_skype.c:653:62: error: dereferencing pointer to incomplete type
chan_skype.c:657:13: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'frame_write':
chan_skype.c:675:62: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'new_ast_channel':
chan_skype.c:698:24: error: dereferencing pointer to incomplete type
chan_skype.c:699:20: error: dereferencing pointer to incomplete type
chan_skype.c:700:22: error: dereferencing pointer to incomplete type
chan_skype.c:701:22: error: dereferencing pointer to incomplete type
chan_skype.c:702:22: error: dereferencing pointer to incomplete type
chan_skype.c:703:22: error: dereferencing pointer to incomplete type
chan_skype.c:705:5: error: dereferencing pointer to incomplete type
chan_skype.c:707:5: error: dereferencing pointer to incomplete type
chan_skype.c:709:5: error: dereferencing pointer to incomplete type
chan_skype.c:711:6: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'queue_event':
chan_skype.c:917:15: error: dereferencing pointer to incomplete type
chan_skype.c:919:15: error: dereferencing pointer to incomplete type
chan_skype.c:921:15: error: dereferencing pointer to incomplete type
chan_skype.c:923:15: error: dereferencing pointer to incomplete type
chan_skype.c:925:15: error: dereferencing pointer to incomplete type
chan_skype.c:927:15: error: dereferencing pointer to incomplete type
chan_skype.c:929:15: error: dereferencing pointer to incomplete type
chan_skype.c:931:15: error: dereferencing pointer to incomplete type
chan_skype.c:933:15: error: dereferencing pointer to incomplete type
chan_skype.c:935:15: error: dereferencing pointer to incomplete type
chan_skype.c:955:18: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'new_call':
chan_skype.c:1011:6: error: dereferencing pointer to incomplete type
chan_skype.c:1014:83: error: dereferencing pointer to incomplete type
chan_skype.c:1015:21: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'request':
chan_skype.c:1096:73: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'acf_skype_fetch_buddy':
chan_skype.c:2632:97: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'acf_skype_chat_receive':
chan_skype.c:2706:73: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'control_socket_change':
chan_skype.c:3135:20: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'codec_selected':
chan_skype.c:3189:53: error: dereferencing pointer to incomplete type
chan_skype.c:3190:40: error: dereferencing pointer to incomplete type
chan_skype.c:3194:62: error: dereferencing pointer to incomplete type
chan_skype.c:3195:63: error: dereferencing pointer to incomplete type
chan_skype.c:3201:26: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'skype_transfer_exec':
chan_skype.c:3380:45: error: dereferencing pointer to incomplete type
chan_skype.c:3401:24: error: dereferencing pointer to incomplete type
chan_skype.c: In function 'load_module':
chan_skype.c:3627:3: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3627:3: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3629:3: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3629:3: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3631:3: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3631:3: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3635:4: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3635:4: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3637:4: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3637:4: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3639:4: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3639:4: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3641:4: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3641:4: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
chan_skype.c:3643:4: warning: passing argument 4 of 'ast_manager_register2' from incompatible pointer type [enabled by default]
/usr/include/asterisk/manager.h:195:5: note: expected 'struct ast_module *' but argument is of type 'char *'
chan_skype.c:3643:4: error: too few arguments to function 'ast_manager_register2'
/usr/include/asterisk/manager.h:195:5: note: declared here
make: *** [chan_skype.o] Error 1
Comments:By: Matt Jordan (mjordan) 2012-10-18 08:23:42.851-0500

Skype for Asterisk has not been built for Asterisk 11; hence, the module you are attempting to load will not work with it.

On top of that, Skype for Asterisk has been discontinued (see [Product Description|http://www.digium.com/en/products/software/skypeforasterisk.php] and [Blog Announcement|http://blogs.digium.com/2011/05/26/skype-for-asterisk-end-of-sale-july-26-2011/]).  While we will continue to attempt to support the existing Skype for Asterisk modules, given the nearly complete lack of support Skype has provided us with issues regarding their legacy API, that support has to be considered 'best effort' on our part.

By: Thomas Stein (himbeere) 2012-10-18 08:38:56.855-0500

oh i am sorry i bothered you. sorry for the other bug i reported too.