GmSSL icon indicating copy to clipboard operation
GmSSL copied to clipboard

编译事sm2test.c 遇到错误。这个 宏不是 都 在 头文件里有了?(头文件是完整的)这个错误,有点疑惑?

Open chary931201 opened this issue 9 years ago • 3 comments

/tmp/cclNqHkX.o: In function SM2_Test_Vecotor': /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:49: undefined reference to CRYPTO_set_mem_debug_functions' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:151: undefined reference to SM2_sign' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:158: undefined reference to SM2_verify' /tmp/cclNqHkX.o: In function SM2_Test_Vecotor2': /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:203: undefined reference to CRYPTO_set_mem_debug_functions' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:345: undefined reference to SM2_sign_ex' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:353: undefined reference to SM2_verify' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:409: undefined reference to SM2_DH_key' /tmp/cclNqHkX.o: In function main': /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:435: undefined reference to CRYPTO_set_mem_debug_functions' /home/guard/experiment/TCP/PassWord/SM2/0331/sm2test.c:446: undefined reference to CRYPTO_mem_leaks_fp' collect2: error: ld returned 1 exit status

chary931201 avatar Apr 01 '17 03:04 chary931201

https://github.com/guanzhi/GmSSL/issues/134

shady831213 avatar Apr 02 '17 01:04 shady831213

@shady831213 hello。how can i get hold of you? i need your help.

chary931201 avatar Apr 05 '17 03:04 chary931201

Marked as stale issue. Will be closed later if no activity for a while.

github-actions[bot] avatar Oct 11 '20 01:10 github-actions[bot]