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

undefined reference to `__imp_CertFreeCertificateContext' #33

Open
chorigin opened this issue Mar 13, 2022 · 0 comments
Open

undefined reference to `__imp_CertFreeCertificateContext' #33

chorigin opened this issue Mar 13, 2022 · 0 comments

Comments

@chorigin
Copy link

//windows 10

github.com/xeodou/go-sqlcipher

D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0xe0): unde
fined reference to __imp_CertFreeCertificateContext' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x160): und efined reference to __imp_CertFreeCertificateContext'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x56f): und
efined reference to __imp_CertGetCertificateContextProperty' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0xafe): und efined reference to __imp_CertGetCertificateContextProperty'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0xc4e): und
efined reference to __imp_CertEnumCertificatesInStore' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0xd01): und efined reference to __imp_CertFindCertificateInStore'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x2d50): un
defined reference to __imp_CertOpenStore' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x2d80): un defined reference to __imp_CertEnumCertificatesInStore'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x2e81): un
defined reference to __imp_CertDuplicateCertificateContext' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x2eee): un defined reference to __imp_CertCloseStore'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x2f8a): un
defined reference to __imp_CertFreeCertificateContext' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3610): un defined reference to __imp_CertOpenStore'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3655): un
defined reference to __imp_CertFreeCertificateContext' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3660): un defined reference to __imp_CertCloseStore'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3683): un
defined reference to __imp_CertEnumCertificatesInStore' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3782): un defined reference to __imp___acrt_iob_func'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3dc7): un
defined reference to __imp_CertOpenStore' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3e35): un defined reference to __imp_CertFreeCertificateContext'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3e40): un
defined reference to __imp_CertCloseStore' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x3f69): un defined reference to __imp_CertFreeCertificateContext'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(e_capi.o):e_capi.c:(.text+0x4000): un
defined reference to __imp_CertFreeCertificateContext' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(eng_openssl.o):eng_openssl.c:(.text+0 x42): undefined reference to __imp___acrt_iob_func'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(eng_openssl.o):eng_openssl.c:(.text+0
x296): undefined reference to __imp___acrt_iob_func' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(ui_openssl.o):ui_openssl.c:(.text+0x1 9): undefined reference to __imp___acrt_iob_func'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(ui_openssl.o):ui_openssl.c:(.text+0x1
a4): undefined reference to __imp___acrt_iob_func' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(ui_openssl.o):ui_openssl.c:(.text+0x1 c7): undefined reference to __imp___acrt_iob_func'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xad): unde
fined reference to __imp_getnameinfo' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xde): unde fined reference to __imp_ntohs'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0x23b): und
efined reference to gai_strerrorW' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0x6f8): und efined reference to __imp_freeaddrinfo'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xb2e): und
efined reference to __imp_getaddrinfo' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xbf2): und efined reference to gai_strerrorW'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xd10): und
efined reference to __imp_getaddrinfo' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_addr.o):b_addr.c:(.text+0xdd2): und efined reference to gai_strerrorW'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0xd5): unde
fined reference to __imp_WSAStartup' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0xe3): unde fined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x28d): und
efined reference to __imp_WSAStartup' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x29b): und efined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x36d): und
efined reference to __imp_ntohs' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x3b3): und efined reference to __imp_getsockopt'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x3d2): und
efined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x3e3): und efined reference to __imp_gethostbyname'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x435): und
efined reference to __imp_WSAStartup' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x43f): und efined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x4bd): und
efined reference to __imp_WSACleanup' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x4db): und efined reference to __imp_ioctlsocket'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x4f2): und
efined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x69d): und efined reference to __imp_WSAStartup'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x6ab): und
efined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x8c2): und efined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x945): und
efined reference to __imp_setsockopt' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x978): und efined reference to __imp_ioctlsocket'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x992): und
efined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0x9f8): und efined reference to __imp_getsockname'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock.o):b_sock.c:(.text+0xa52): und
efined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x27): un defined reference to __imp_socket'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x4a): un
defined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x106): u ndefined reference to __imp_setsockopt'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x135): u
ndefined reference to __imp_connect' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x16d): u ndefined reference to __imp_setsockopt'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x17b): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x223): u ndefined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x27a): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x2ff): u ndefined reference to __imp_bind'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x352): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x401): u ndefined reference to __imp_getsockopt'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x415): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x4b7): u ndefined reference to __imp_setsockopt'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x53a): u
ndefined reference to __imp_listen' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x545): u ndefined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x5b5): u
ndefined reference to __imp_setsockopt' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x5c3): u ndefined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x640): u
ndefined reference to __imp_setsockopt' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x64e): u ndefined reference to __imp_WSAGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x6a2): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x726): u ndefined reference to __imp_accept'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x764): u
ndefined reference to __imp_WSAGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x7ba): u ndefined reference to __imp_closesocket'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(b_sock2.o):b_sock2.c:(.text+0x7c9): u
ndefined reference to __imp_closesocket' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x1b6): undefined reference to __imp_WSASetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x1c9): undefined reference to __imp_se nd' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x1fc): undefined reference to __imp_WS
AGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x297): undefined reference to __imp_WS ASetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x2aa): undefined reference to __imp_se
nd'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x2dc): undefined reference to __imp_WS AGetLastError' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x350): undefined reference to __imp_WS
ASetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x363): undefined reference to __imp_re cv' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x3c2): undefined reference to __imp_WS
AGetLastError'
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x48a): undefined reference to `__imp_WS
AGetLastError'
collect2.exe: error: ld returned 1 exit status

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