Created
January 23, 2018 05:07
-
-
Save saethlin/273a38212106e6ba64dd3c4164cdbf7d to your computer and use it in GitHub Desktop.
openssl build failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: failed to run custom build command for `openssl v0.7.14` | |
process didn't exit successfully: `/home/ben/discord-rs/target/debug/build/openssl-52416aa69a800e6e/build-script-build` (exit code: 101) | |
--- stdout | |
TARGET = Some("x86_64-unknown-linux-gnu") | |
OPT_LEVEL = Some("0") | |
TARGET = Some("x86_64-unknown-linux-gnu") | |
HOST = Some("x86_64-unknown-linux-gnu") | |
TARGET = Some("x86_64-unknown-linux-gnu") | |
TARGET = Some("x86_64-unknown-linux-gnu") | |
HOST = Some("x86_64-unknown-linux-gnu") | |
CC_x86_64-unknown-linux-gnu = None | |
CC_x86_64_unknown_linux_gnu = None | |
HOST_CC = None | |
CC = None | |
HOST = Some("x86_64-unknown-linux-gnu") | |
TARGET = Some("x86_64-unknown-linux-gnu") | |
HOST = Some("x86_64-unknown-linux-gnu") | |
CFLAGS_x86_64-unknown-linux-gnu = None | |
CFLAGS_x86_64_unknown_linux_gnu = None | |
HOST_CFLAGS = None | |
CFLAGS = None | |
DEBUG = Some("true") | |
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/local/include" "-Wall" "-Wextra" "-o" "/home/ben/discord-rs/target/debug/build/openssl-1ea900c3f12cd590/out/src/c_helpers.o" "-c" "src/c_helpers.c" | |
cargo:warning=src/c_helpers.c: In function ‘rust_SSL_clone’: | |
cargo:warning=src/c_helpers.c:4:5: warning: implicit declaration of function ‘CRYPTO_add’ [-Wimplicit-function-declaration] | |
cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’ | |
cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c:4:37: error: ‘CRYPTO_LOCK_SSL’ undeclared (first use in this function) | |
cargo:warning= CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in | |
cargo:warning=src/c_helpers.c: In function ‘rust_SSL_CTX_clone’: | |
cargo:warning=src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’ | |
cargo:warning= CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c:8:35: error: ‘CRYPTO_LOCK_SSL_CTX’ undeclared (first use in this function) | |
cargo:warning= CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c: In function ‘rust_X509_clone’: | |
cargo:warning=src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ | |
cargo:warning= CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); | |
cargo:warning= ^ | |
cargo:warning=src/c_helpers.c:12:36: error: ‘CRYPTO_LOCK_X509’ undeclared (first use in this function) | |
cargo:warning= CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); | |
cargo:warning= ^ | |
exit code: 1 | |
--- stderr | |
thread 'main' panicked at ' | |
Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/local/include" "-Wall" "-Wextra" "-o" "/home/ben/discord-rs/target/debug/build/openssl-1ea900c3f12cd590/out/src/c_helpers.o" "-c" "src/c_helpers.c" with args "cc" did not execute successfully (status code exit code: 1). | |
', /home/ben/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.54/src/lib.rs:1670:4 | |
note: Run with `RUST_BACKTRACE=1` for a backtrace. | |
warning: build failed, waiting for other jobs to finish... | |
error: build failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment