[asterisk-bugs] [JIRA] (ASTERISK-26109) Asterisk fails building with OpenSSL 1.1.0

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Jan 23 08:44:10 CST 2017


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-26109:
------------------------------------

    Status: Open  (was: Triage)

> Asterisk fails building with OpenSSL 1.1.0
> ------------------------------------------
>
>                 Key: ASTERISK-26109
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26109
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.8.2
>            Reporter: Tzafrir Cohen
>
> I have not tested with myself. I quick look at the log does not indicate it was fixed, so here goes:
> OpenSSL 1.1 introduces some API changes:
> https://wiki.openssl.org/index.php/1.1_API_Changes
> Debian maintainers tried building the archive with the new version and one of the packages that failed was Asterisk (13.8.2). Build log:
> https://breakpoint.cc/openssl-1.1-rebuild-2016-05-29/Attempted/asterisk_13.8.2~dfsg-1_amd64-20160529-1405
> Relevant error:
> {noformat}
> x86_64-linux-gnu-gcc -o libasteriskssl.o -c libasteriskssl.c -MD -MT libasteriskssl.o -MF .libasteriskssl.o.d -MP -pthread -I/<<PKGBUILDDIR>>/include -fgnu89-inline -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -I/usr/include/libxml2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations       -DAST_MODULE=\"core\" -DAST_IN_CORE   
> libasteriskssl.c: In function 'ssl_lock':
> libasteriskssl.c:70:13: error: 'CRYPTO_LOCK' undeclared (first use in this function)
>   if (mode & CRYPTO_LOCK) {
>              ^
> libasteriskssl.c:70:13: note: each undeclared identifier is reported only once for each function it appears in
> libasteriskssl.c: At top level:
> libasteriskssl.c:77:26: error: macro "SSL_library_init" passed 1 arguments, but takes just 0
>  int SSL_library_init(void)
>                           ^
> libasteriskssl.c:78:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>  {
>  ^
> libasteriskssl.c:87:33: error: macro "SSL_load_error_strings" passed 1 arguments, but takes just 0
>  void SSL_load_error_strings(void)
>                                  ^
> libasteriskssl.c:88:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>  {
>  ^
> libasteriskssl.c:97:1: error: expected identifier or '(' before '{' token
>  {
>  ^
> libasteriskssl.c:106:1: error: expected identifier or '(' before '{' token
>  {
>  ^
> libasteriskssl.c:114:27: error: macro "ERR_free_strings" passed 1 arguments, but takes just 0
>  void ERR_free_strings(void)
>                            ^
> libasteriskssl.c:115:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
>  {
>  ^
> /<<PKGBUILDDIR>>/Makefile.rules:145: recipe for target 'libasteriskssl.o' failed
> {noformat}



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



More information about the asterisk-bugs mailing list