[asterisk-bugs] [JIRA] (ASTERISK-22296) ARI fails to find symbols for res_http_websockets

John Hardin (JIRA) noreply at issues.asterisk.org
Tue Aug 20 10:17:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209364#comment-209364 ] 

John Hardin commented on ASTERISK-22296:
----------------------------------------

gcc 4.4 supports weakrefs, which the optional api's depend on, but in ari_websocket.c, the call to ast_websocket_set_nonblock() always executes the stub instead of the one from res_http_websocket.c. After upgrading to gcc 4.6.3, the problem went away.
                
> ARI fails to find symbols for res_http_websockets
> -------------------------------------------------
>
>                 Key: ASTERISK-22296
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22296
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_http_websocket
>    Affects Versions: 12
>         Environment: CentOS 6
> gcc 4.4
>            Reporter: Matt Jordan
>              Labels: Asterisk12
>
> When running on a CentOS 6 VM using gcc 4.4, ARI fails to use the {{res_http_websockets}} module. When it attempts to use the function 
> {{int AST_OPTIONAL_API_NAME(ast_websocket_set_nonblock)(struct ast_websocket *session)}} in {{ari_websockets.c}}, it simply returns {{-1}}.
> Note that gcc 4.4 stated that it did not support the extensions that optional API depends on.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list