g++ -O3 -fstack-protector -Wall -Wno-deprecated -std=c++17 -pthread -Irustybits/target -isystem ext -Iext/prometheus-cpp-lite-1.0/core/include -Iext-prometheus-cpp-lite-1.0/3rdparty/http-client-lite/include -Iext/prometheus-cpp-lite-1.0/simpleapi/include -DNDEBUG -DZT_USE_MINIUPNPC -DMINIUPNP_STATICLIB -DMINIUPNPC_SET_SOCKET_TIMEOUT -DMINIUPNPC_GET_SRC_ADDR -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DOS_STRING=“"Linux"” -DMINIUPNPC_VERSION_STRING=“"2.0"” -DUPNP_VERSION_STRING=“"UPnP/1.1"” -DENABLE_STRNATPMPERR -DZT_SSO_SUPPORTED=1 -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=2 -DZT_SOFTWARE_UPDATE_DEFAULT=“"disable"” -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -DZT_USE_X64_ASM_SALSA2012 -DZT_USE_FAST_X64_ED25519 -msse -msse2 -fPIC -fPIE -pie -Wl,-z,relro,-z,now -Wl,-z,noexecstack -o zerotier-one node/AES.o node/AES_aesni.o node/AES_armcrypto.o node/C25519.o node/Capability.o node/CertificateOfMembership.o node/CertificateOfOwnership.o node/Identity.o node/IncomingPacket.o node/InetAddress.o node/Membership.o node/Metrics.o node/Multicaster.o node/Network.o node/NetworkConfig.o node/Node.o node/OutboundMulticast.o node/Packet.o node/Path.o node/Peer.o node/Poly1305.o node/Revocation.o node/Salsa20.o node/SelfAwareness.o node/SHA512.o node/Switch.o node/Tag.o node/Topology.o node/Trace.o node/Utils.o node/Bond.o node/PacketMultiplexer.o ext/x64-salsa2012-asm/salsa2012.o ext/ed25519-amd64-asm/choose_t.o ext/ed25519-amd64-asm/consts.o ext/ed25519-amd64-asm/fe25519_add.o ext/ed25519-amd64-asm/fe25519_freeze.o ext/ed25519-amd64-asm/fe25519_mul.o ext/ed25519-amd64-asm/fe25519_square.o ext/ed25519-amd64-asm/fe25519_sub.o ext/ed25519-amd64-asm/ge25519_add_p1p1.o ext/ed25519-amd64-asm/ge25519_dbl_p1p1.o ext/ed25519-amd64-asm/ge25519_nielsadd2.o ext/ed25519-amd64-asm/ge25519_nielsadd_p1p1.o ext/ed25519-amd64-asm/ge25519_p1p1_to_p2.o ext/ed25519-amd64-asm/ge25519_p1p1_to_p3.o ext/ed25519-amd64-asm/ge25519_pnielsadd_p1p1.o ext/ed25519-amd64-asm/heap_rootreplaced.o ext/ed25519-amd64-asm/heap_rootreplaced_1limb.o ext/ed25519-amd64-asm/heap_rootreplaced_2limbs.o ext/ed25519-amd64-asm/heap_rootreplaced_3limbs.o ext/ed25519-amd64-asm/sc25519_add.o ext/ed25519-amd64-asm/sc25519_barrett.o ext/ed25519-amd64-asm/sc25519_lt.o ext/ed25519-amd64-asm/sc25519_sub_nored.o ext/ed25519-amd64-asm/ull4_mul.o ext/ed25519-amd64-asm/fe25519_getparity.o ext/ed25519-amd64-asm/fe25519_invert.o ext/ed25519-amd64-asm/fe25519_iseq.o ext/ed25519-amd64-asm/fe25519_iszero.o ext/ed25519-amd64-asm/fe25519_neg.o ext/ed25519-amd64-asm/fe25519_pack.o ext/ed25519-amd64-asm/fe25519_pow2523.o ext/ed25519-amd64-asm/fe25519_setint.o ext/ed25519-amd64-asm/fe25519_unpack.o ext/ed25519-amd64-asm/ge25519_add.o ext/ed25519-amd64-asm/ge25519_base.o ext/ed25519-amd64-asm/ge25519_double.o ext/ed25519-amd64-asm/ge25519_double_scalarmult.o ext/ed25519-amd64-asm/ge25519_isneutral.o ext/ed25519-amd64-asm/ge25519_multi_scalarmult.o ext/ed25519-amd64-asm/ge25519_pack.o ext/ed25519-amd64-asm/ge25519_scalarmult_base.o ext/ed25519-amd64-asm/ge25519_unpackneg.o ext/ed25519-amd64-asm/hram.o ext/ed25519-amd64-asm/index_heap.o ext/ed25519-amd64-asm/sc25519_from32bytes.o ext/ed25519-amd64-asm/sc25519_from64bytes.o ext/ed25519-amd64-asm/sc25519_from_shortsc.o ext/ed25519-amd64-asm/sc25519_iszero.o ext/ed25519-amd64-asm/sc25519_mul.o ext/ed25519-amd64-asm/sc25519_mul_shortsc.o ext/ed25519-amd64-asm/sc25519_slide.o ext/ed25519-amd64-asm/sc25519_to32bytes.o ext/ed25519-amd64-asm/sc25519_window4.o ext/ed25519-amd64-asm/sign.o controller/EmbeddedNetworkController.o controller/DBMirrorSet.o controller/DB.o controller/FileDB.o controller/LFDB.o controller/PostgreSQL.o osdep/EthernetTap.o osdep/ManagedRoute.o osdep/Http.o osdep/OSUtils.o service/SoftwareUpdater.o service/OneService.o osdep/LinuxEthernetTap.o osdep/LinuxNetLink.o osdep/PortMapper.o ext/miniupnpc/connecthostport.o ext/miniupnpc/igd_desc_parse.o ext/miniupnpc/minisoap.o ext/miniupnpc/minissdpc.o ext/miniupnpc/miniupnpc.o ext/miniupnpc/miniwget.o ext/miniupnpc/minixml.o ext/miniupnpc/portlistingparse.o ext/miniupnpc/receivedata.o ext/miniupnpc/upnpcommands.o ext/miniupnpc/upnpdev.o ext/miniupnpc/upnperrors.o ext/miniupnpc/upnpreplyparse.o ext/libnatpmp/natpmp.o ext/libnatpmp/getgateway.o ext/http-parser/http_parser.o one.o rustybits/target/release/libzeroidc.a -ldl -lssl -lcrypto
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.03.rcgu.o): in functionopenssl::symm::Cipher::sm4_ecb': openssl.9698dc9018ee336f-cgu.03:(.text._ZN7openssl4symm6Cipher7sm4_ecb17hb85b73e73f537c23E+0x2): undefined reference to
EVP_sm4_ecb’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.03.rcgu.o): in functionopenssl::symm::Cipher::sm4_cbc': openssl.9698dc9018ee336f-cgu.03:(.text._ZN7openssl4symm6Cipher7sm4_cbc17h784993cc073d94c1E+0x2): undefined reference to
EVP_sm4_cbc’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.03.rcgu.o): in functionopenssl::symm::Cipher::sm4_ctr': openssl.9698dc9018ee336f-cgu.03:(.text._ZN7openssl4symm6Cipher7sm4_ctr17h3101d6d552c1b474E+0x2): undefined reference to
EVP_sm4_ctr’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.03.rcgu.o): in functionopenssl::symm::Cipher::sm4_cfb128': openssl.9698dc9018ee336f-cgu.03:(.text._ZN7openssl4symm6Cipher10sm4_cfb12817h4f359ffa6ec21c6dE+0x2): undefined reference to
EVP_sm4_cfb128’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.03.rcgu.o): in functionopenssl::symm::Cipher::sm4_ofb': openssl.9698dc9018ee336f-cgu.03:(.text._ZN7openssl4symm6Cipher7sm4_ofb17h3d0bbdf1a3d790baE+0x2): undefined reference to
EVP_sm4_ofb’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.15.rcgu.o): in functionopenssl::cipher::Cipher::sm4_ecb': openssl.9698dc9018ee336f-cgu.15:(.text._ZN7openssl6cipher6Cipher7sm4_ecb17hc4a72137af1a84ccE+0x2): undefined reference to
EVP_sm4_ecb’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.15.rcgu.o): in functionopenssl::cipher::Cipher::sm4_cbc': openssl.9698dc9018ee336f-cgu.15:(.text._ZN7openssl6cipher6Cipher7sm4_cbc17hfdc07ddfa586280eE+0x2): undefined reference to
EVP_sm4_cbc’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.15.rcgu.o): in functionopenssl::cipher::Cipher::sm4_ctr': openssl.9698dc9018ee336f-cgu.15:(.text._ZN7openssl6cipher6Cipher7sm4_ctr17ha6bff861799eeb53E+0x2): undefined reference to
EVP_sm4_ctr’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.15.rcgu.o): in functionopenssl::cipher::Cipher::sm4_cfb128': openssl.9698dc9018ee336f-cgu.15:(.text._ZN7openssl6cipher6Cipher10sm4_cfb12817h49cf454d116e4a88E+0x2): undefined reference to
EVP_sm4_cfb128’
/usr/lib64/gcc/x86_64-suse-linux/7/…/…/…/…/x86_64-suse-linux/bin/ld: rustybits/target/release/libzeroidc.a(openssl-8ac3e573b42b00b4.openssl.9698dc9018ee336f-cgu.15.rcgu.o): in functionopenssl::cipher::Cipher::sm4_ofb': openssl.9698dc9018ee336f-cgu.15:(.text._ZN7openssl6cipher6Cipher7sm4_ofb17h51d5bad954204d59E+0x2): undefined reference to
EVP_sm4_ofb’
collect2: error: ld returned 1 exit status
System: OpenSUSE Leap 15.6 x86
It says undefined reference to 'EVP_sm4_ecb'
and ect, I don’t know how to link the lib file.
How do i solve this?