Comments (2)
参考一下workflow的编译流程
https://github.com/Tongsuo-Project/tongsuo-go-sdk/blob/main/.github/workflows/main.yml
from tongsuo-go-sdk.
报错信息:
could not determine kind of name for C.SSL_CTX_use_enc_PrivateKey could not determine kind of name for C.SSL_CTX_use_enc_certificate could not determine kind of name for C.SSL_CTX_use_sign_PrivateKey could not determine kind of name for C.SSL_CTX_use_sign_certificate
修改代码忽略这几个函数后报错:
shim.c:501:9: error: implicit declaration of function 'NTLS_method' is invalid in C99 [-Werror,-Wimplicit-function-declaration] shim.c:501:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] shim.c:504:9: error: implicit declaration of function 'NTLS_client_method' is invalid in C99 [-Werror,-Wimplicit-function-declaration] shim.c:504:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] shim.c:507:9: error: implicit declaration of function 'NTLS_server_method' is invalid in C99 [-Werror,-Wimplicit-function-declaration] shim.c:507:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] shim.c:515:9: error: implicit declaration of function 'SSL_CTX_enable_ntls' is invalid in C99 [-Werror,-Wimplicit-function-declaration] shim.c:515:9: note: did you mean 'X_SSL_CTX_enable_ntls'? shim.c:514:6: note: 'X_SSL_CTX_enable_ntls' declared here shim.c:515:2: error: void function 'X_SSL_CTX_enable_ntls' should not return a value [-Wreturn-type]
使用的铜锁库版本:8.3.2
感觉是没有装上Tongsuo,如果是fedora,去检查一下/opt/tongsuo有无安装上,注意在make install的那步fedora需要sudo,以及需要安装openssl-devel
from tongsuo-go-sdk.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tongsuo-go-sdk.