-
Notifications
You must be signed in to change notification settings - Fork 245
Closed
Description
Attempting to compile curl-sys on my system results in the following error:
configure: WARNING: OpenSSL headers and library versions do not match.
Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^((\w).*){ <-- HERE \z/ at /home/colin/curl-rust/curl-sys/curl/lib/checksrc.pl line 516.
/home/colin/curl-rust/curl-sys/curl/lib/vtls/openssl.c:124:22: error: static declaration of 'OpenSSL_version_num' follows non-static declaration
static unsigned long OpenSSL_version_num(void)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
from /usr/include/openssl/evp.h:67,
from /usr/include/openssl/hmac.h:67,
from /usr/include/openssl/ssl.h:149,
from /home/colin/curl-rust/curl-sys/curl/lib/urldata.h:86,
from /home/colin/curl-rust/curl-sys/curl/lib/vtls/openssl.c:41:
/usr/include/openssl/crypto.h:340:15: note: previous declaration of 'OpenSSL_version_num' was here
unsigned long OpenSSL_version_num(void);
^~~~~~~~~~~~~~~~~~~
/home/colin/curl-rust/curl-sys/curl/lib/vtls/openssl.c:124:22: error: static declaration of 'OpenSSL_version_num' follows non-static declaration
static unsigned long OpenSSL_version_num(void)
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bio.h:69:0,
from /usr/include/openssl/evp.h:67,
from /usr/include/openssl/hmac.h:67,
from /usr/include/openssl/ssl.h:149,
from /home/colin/curl-rust/curl-sys/curl/lib/urldata.h:86,
from /home/colin/curl-rust/curl-sys/curl/lib/vtls/openssl.c:41:
/usr/include/openssl/crypto.h:340:15: note: previous declaration of 'OpenSSL_version_num' was here
unsigned long OpenSSL_version_num(void);
^~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:2898: vtls/libcurlu_la-openssl.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:2023: vtls/libcurl_la-openssl.lo] Error 1
make[1]: *** [Makefile:734: all] Error 2
make: *** [Makefile:897: all-recursive] Error 1
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2
build script failed, must exit now', curl-sys/build.rs:224:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
Metadata
Metadata
Assignees
Labels
No labels