-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Struct ssl_st cannot reference to s3 variables. Show an error invalid use of incomplete type ‘const SSL {aka const struct ssl_st}’ ssl->s3;. #1914
Comments
Thank you for the report. Sorry you're having build issues. What platform are you working on, and if Linux, which distribution? Also, which compiler are you using and what is the version of OpenSSL that is installed? |
Hello @nbougalis , I use Linux debian-dev-00 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux. OpenSSL branch is OpenSSL_1_0_2-stable cause Rippled Cmake requires OpenSSL version above 1.0.1. In additional source code compiled by G++ version 6.2.0-13 |
Maybe we need to add |
I think in the master branch of Ripple supports BoringSSL instead of OpenSSL library. After built the source code in the current master branch with OpenSSL show error at variable Ref : chriskohlhoff/asio#52 |
@rchatsiri: interesting, thanks for the link. Ripple doesn't use BoringSSL. I will sort this issue and get a patch. I'll keep you up to date. |
Is this still an issue? |
Both errors occur to me with OpenSSL 1.1 (seee #2047). Are you sure you're using 1.0.2? @nbougalis - please check out if you can reproduce this with OpenSSL 1.1, it is getting into more and more distributions these days and rippled currently fails building with these 2 errors (short read and s3). |
Anything else you might need to reproduce this or that could help moving this along? This bug is blocking rippled from being compiled on at least every distribution that has made the switch to OpenSSL 1.1. |
@rchatsiri #2151 should have fixed this, does this still happen with 0.70.1? |
I change OpenSSL version to 1.0.2g 1 Mar 2016. it was bulit completed. Rippled source code version 0.80.0-b1+DEBUG |
Hello contributor,
I cannot build rippled core engine with Make step cause build tools show an error as below
Pointer to constant SSL at member funciton name
info_handler(SSL const * ssl, int event, int)
should reference to s3, but represent an errorinvalid use of incomplete type ‘const SSL {aka const struct ssl_st}`
. How to work around is issue? I build source code completed by comments declare variable atinfo_handler()
member function.The text was updated successfully, but these errors were encountered: