OpenSSL 1.1.1d 10 Sep 2019
built on: Tue Oct 8 20:54:30 2019 UTC
platform: debian-amd64
options: bn(64,64) rc4(16x,int) des(int) blowfish(ptr)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -fdebug-prefix-map=/build/openssl-jIn208/openssl-1.1.1d=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-1.1"
Seeding source: os-specific
/usr/bin/ld: CMakeFiles/server.dir/main.cpp.o: in function `jwt::helper::extract_pubkey_from_cert(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x2e): undefined reference to `BIO_new_mem_buf'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x36): undefined reference to `BIO_s_mem'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x3e): undefined reference to `BIO_new'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x51): undefined reference to `PEM_read_bio_X509'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x65): undefined reference to `X509_get_pubkey'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x7c): undefined reference to `PEM_write_bio_PUBKEY'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x9e): undefined reference to `BIO_ctrl'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xc7): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xcf): undefined reference to `X509_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xdc): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xe9): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x220): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x228): undefined reference to `X509_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x235): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper24extract_pubkey_from_certERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x242): undefined reference to `BIO_free_all'
/usr/bin/ld: CMakeFiles/server.dir/main.cpp.o: in function `jwt::verifier<jwt::default_clock>::algo<jwt::algorithm::rs256>::verify(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x2e): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x4a): undefined reference to `EVP_DigestInit'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x62): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x7f): undefined reference to `EVP_VerifyFinal'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x93): undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x185): undefined reference to `ERR_get_error'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x18f): undefined reference to `ERR_error_string'
/usr/bin/ld: main.cpp:(.text._ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_[_ZN3jwt8verifierINS_13default_clockEE4algoINS_9algorithm5rs256EE6verifyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESE_]+0x312): undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: CMakeFiles/server.dir/main.cpp.o: in function `jwt::helper::load_private_key_from_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x14): undefined reference to `BIO_s_mem'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x1c): undefined reference to `BIO_new'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x30): undefined reference to `BIO_write'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x49): undefined reference to `PEM_read_bio_PrivateKey'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x68): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x9f): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x14f): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper28load_private_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x182): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: CMakeFiles/server.dir/main.cpp.o: in function `jwt::helper::load_public_key_from_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x2d): undefined reference to `BIO_s_mem'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x35): undefined reference to `BIO_new'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xaf): undefined reference to `BIO_write'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xde): undefined reference to `PEM_read_bio_PUBKEY'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0xfe): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x13a): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x175): undefined reference to `BIO_write'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x20e): undefined reference to `ERR_get_error'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x218): undefined reference to `ERR_error_string'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x303): undefined reference to `BIO_free_all'
/usr/bin/ld: main.cpp:(.text._ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_[_ZN3jwt6helper27load_public_key_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_]+0x322): undefined reference to `EVP_PKEY_free'
/usr/bin/ld: CMakeFiles/server.dir/main.cpp.o: in function `EchoServer::onMessage(std::weak_ptr<void>, std::shared_ptr<websocketpp::message_buffer::message<websocketpp::message_buffer::alloc::con_msg_manager> >)':
main.cpp:(.text._ZN10EchoServer9onMessageESt8weak_ptrIvESt10shared_ptrIN11websocketpp14message_buffer7messageINS4_5alloc15con_msg_managerEEEE[_ZN10EchoServer9onMessageESt8weak_ptrIvESt10shared_ptrIN11websocketpp14message_buffer7messageINS4_5alloc15con_msg_managerEEEE]+0x1091): undefined reference to `EVP_sha256'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/server.dir/build.make:84: src/server] Error 1
make[1]: *** [CMakeFiles/Makefile2:1032: src/CMakeFiles/server.dir/all] Error 2
make: *** [Makefile:130: all] Error 2