Skip to content
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

Complie error-undefined reference to `OPENSSL_init_ssl' #132

Open
sharif779 opened this issue Jan 28, 2023 · 0 comments
Open

Complie error-undefined reference to `OPENSSL_init_ssl' #132

sharif779 opened this issue Jan 28, 2023 · 0 comments

Comments

@sharif779
Copy link

Openssl version 1.1.1k
OS=Centos 7.9
Error in make command

CCLD     libstirshaken.la
  CC       util/src/stirshaken-stir_shaken_tool_command.o
  CC       util/src/stirshaken-stir_shaken_tool.o
  CC       util/src/stirshaken-stir_shaken_ca.o
  CC       util/src/stirshaken-mongoose.o
  CCLD     stirshaken
util/src/stirshaken-mongoose.o: In function `mg_ssl_if_init':
/usr/src/libstirshaken/util/src/mongoose.c:4487: undefined reference to `OPENSSL_init_ssl'
util/src/stirshaken-mongoose.o: In function `mg_ssl_if_conn_init':
/usr/src/libstirshaken/util/src/mongoose.c:4528: undefined reference to `TLS_client_method'
/usr/src/libstirshaken/util/src/mongoose.c:4537: undefined reference to `SSL_CTX_set_options'
/usr/src/libstirshaken/util/src/mongoose.c:4538: undefined reference to `SSL_CTX_set_options'
/usr/src/libstirshaken/util/src/mongoose.c:4539: undefined reference to `SSL_CTX_set_options'
/usr/src/libstirshaken/util/src/mongoose.c:4526: undefined reference to `TLS_server_method'
util/src/stirshaken-mongoose.o: In function `mg_use_cert':
/usr/src/libstirshaken/util/src/mongoose.c:4758: undefined reference to `SSL_CTX_set_options'
util/src/stirshaken-mongoose.o: In function `mg_ssl_if_init':
/usr/src/libstirshaken/util/src/mongoose.c:4487: undefined reference to `OPENSSL_init_ssl'
./.libs/libstirshaken.so: undefined reference to `X509_up_ref'
./.libs/libstirshaken.so: undefined reference to `X509_REQ_get_subject_name'
./.libs/libstirshaken.so: undefined reference to `EVP_PKEY_get_id'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_pop_free'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_value'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_new_null'
./.libs/libstirshaken.so: undefined reference to `X509_getm_notAfter'
./.libs/libstirshaken.so: undefined reference to `ECDSA_SIG_get0'
./.libs/libstirshaken.so: undefined reference to `ECDSA_SIG_set0'
./.libs/libstirshaken.so: undefined reference to `ASN1_INTEGER_set_int64'
./.libs/libstirshaken.so: undefined reference to `EVP_MD_CTX_reset'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_push'
./.libs/libstirshaken.so: undefined reference to `EVP_MD_CTX_new'
./.libs/libstirshaken.so: undefined reference to `X509_getm_notBefore'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_num'
./.libs/libstirshaken.so: undefined reference to `EVP_DigestSignUpdate'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_init_crypto'
./.libs/libstirshaken.so: undefined reference to `X509_NAME_hash_ex'
./.libs/libstirshaken.so: undefined reference to `X509_get_version'
./.libs/libstirshaken.so: undefined reference to `EVP_DigestVerifyUpdate'
./.libs/libstirshaken.so: undefined reference to `EVP_MD_CTX_free'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_shift'
./.libs/libstirshaken.so: undefined reference to `OPENSSL_sk_free'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant