[
https://issues.apache.org/jira/browse/PROTON-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volker Diels-Grabsch updated PROTON-1381:
-----------------------------------------
Description:
Proton-C doesn't build with GCC 6.2.1 and OpenSSL 1.1.0c. The error message is:
{quote}
{{[ 51%] Building C object
proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o}}
{{/.../proton-c/src/ssl/openssl.c: In function ‘get_dh2048’:}}
{{/.../proton-c/src/ssl/openssl.c:406:5: error: dereferencing pointer to
incomplete type ‘DH {aka struct dh_st}’}}
{{ dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);}}
{{ ^~}}
{{proton-c/CMakeFiles/qpid-proton.dir/build.make:1102: recipe for target
'proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o' failed}}
{quote}
The attached patch fixes this issue for 0.14.0 and also works for 0.16.0.
was:
Proton-C doesn't build with GCC 6.2.1 and OpenSSL 1.1.0c. The error message is:
{quote}
[ 51%] Building C object proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o
/.../proton-c/src/ssl/openssl.c: In function ‘get_dh2048’:
/.../proton-c/src/ssl/openssl.c:406:5: error: dereferencing pointer to
incomplete type ‘DH {aka struct dh_st}’
dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);
^~
proton-c/CMakeFiles/qpid-proton.dir/build.make:1102: recipe for target
'proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o' failed
{quote}
The attached patch fixes this issue for 0.14.0 and also works for 0.16.0.
> Compiler errors: dereferencing pointer to incomplete type DH {aka struct
> dh_st}
> -------------------------------------------------------------------------------
>
> Key: PROTON-1381
> URL: https://issues.apache.org/jira/browse/PROTON-1381
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: 0.14.0, 0.16.0
> Environment: GCC 6.2.1, OpenSSL 1.1.0c
> Reporter: Volker Diels-Grabsch
> Priority: Blocker
> Labels: build, patch
> Attachments:
> qpid-proton-0.14.0-fix-dereferencing-pointer-to-incomplete-type.patch
>
>
> Proton-C doesn't build with GCC 6.2.1 and OpenSSL 1.1.0c. The error message
> is:
> {quote}
> {{[ 51%] Building C object
> proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o}}
> {{/.../proton-c/src/ssl/openssl.c: In function ‘get_dh2048’:}}
> {{/.../proton-c/src/ssl/openssl.c:406:5: error: dereferencing pointer to
> incomplete type ‘DH {aka struct dh_st}’}}
> {{ dh->p=BN_bin2bn(dh2048_p,sizeof(dh2048_p),NULL);}}
> {{ ^~}}
> {{proton-c/CMakeFiles/qpid-proton.dir/build.make:1102: recipe for target
> 'proton-c/CMakeFiles/qpid-proton.dir/src/ssl/openssl.c.o' failed}}
> {quote}
> The attached patch fixes this issue for 0.14.0 and also works for 0.16.0.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]