-
Notifications
You must be signed in to change notification settings - Fork 795
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
configure --enable-all forcibly disables oldnames #2744
Comments
Hi @bagder The history here is we originally added For now I recommend using Thanks, |
Roger that. No big deal at all for me. Will switch over. |
The symbols without wc_ prefix are not provided. Ref: wolfSSL/wolfssl#2744
The symbols without wc_ prefix are not always provided. Ref: wolfSSL/wolfssl#2744 Closes #4827
I build curl with wolfSSL every now and then. Today I updated wolfSSL from git master and tried this again and the curl build failed.
It failed because
RNG
doesn't exist in the wolfssl headers (anymore). Not sure when this change happened but I've built wolfSSL the same way many times over the years and used that lib to build curl with.I run the wolfssl configure script like this:
RNG doesn't exist because the wolfssl configure summary says:
Why does it say no? configure --help says
--enable-oldnames
are by default enabled.The reason (@danielinux helped me debug), is that
--enable-all
executes line 1903:wolfssl/configure.ac
Line 1903 in 6b4551c
... which magically turns off enable oldnames even if I explicitly add
--enable-oldnames
on the command line.I had to edit configure.ac, remove that line and then run configure again to fix the build. Then curl builds fine again with the resulting header files and wolfssl build.
(I presume I should also rather fix the curl end and replace
RNG
withWC_RNG
to avoid future issues like this?)The text was updated successfully, but these errors were encountered: