[asterisk-bugs] [JIRA] (ASTERISK-27112) Cannot compile with AST_DEVMODE & OpenSSL >= 1.1

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Jul 7 09:57:58 CDT 2017


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

Asterisk Team commented on ASTERISK-27112:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Cannot compile with AST_DEVMODE & OpenSSL >= 1.1
> ------------------------------------------------
>
>                 Key: ASTERISK-27112
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27112
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 14.4.0
>         Environment: Ubuntu 16.04, OpenSSL 1.1.0f
>            Reporter: Jean Aunis - Prescom
>
> Since my last system update, Asterisk fails to compile when configured with AST_DEVMODE. This seems to be due to the new version of OpenSSL (1.1.0f).
> Here is the error I get :
> {code}
> libasteriskssl.c:48:12: error: ‘startup_complete’ defined but not used [-Werror=unused-variable]
>  static int startup_complete;
>             ^
> libasteriskssl.c:54:22: error: ‘ssl_threadid’ defined but not used [-Werror=unused-function]
>  static unsigned long ssl_threadid(void)
>                       ^
> libasteriskssl.c:59:13: error: ‘ssl_lock’ defined but not used [-Werror=unused-function]
>  static void ssl_lock(int mode, int n, const char *file, int line)
> {code}
> I managed to work around this by adding a #ifdef around these definitions in asterisk/libasteriskssl.c.
> Problem found in both version 14.4.1 and latest Git revision.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list