Comments (3)
暂时还不清楚是什么原因,Linux环境下在config/Configure配置中选择no-asm可以暂时避免这个问题,请下载最新的GmSSL代码,通过./config no-asm
配置。
from gmssl.
您好,非常感谢您,如此快的回复。
现在下载新包重新编译后,又出现如下问题,之前也有碰到。
make[1]: Entering directory /IDE/share/GmSSL-master/ssl' gcc -I../crypto -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o s2_meth.o s2_meth.c In file included from ../include/openssl/ssl.h:1704, from ssl_locl.h:165, from s2_meth.c:59: ../include/openssl/gmssl.h:1: error: expected identifier or 鈥鈥before 鈥鈥token make[1]: *** [s2_meth.o] Error 1 make[1]: Leaving directory
/IDE/share/GmSSL-master/ssl'
make: *** [build_ssl] Error 1
from gmssl.
该问题已解决:
GmSSL-master\include\openssl 中的gmssl.h 直接使用路径的方式 ../../ssl/gmssl.h 无法识别导致。将原始文件copy过来即可。
from gmssl.
Related Issues (20)
- 如何打出支持iOS的静态库 HOT 3
- 曲线参数a的定义 HOT 2
- gmssl3.0 当前是线程安全吗?
- 为什么使用gmssl sm2keygen生成的key算法是1.2.840.113549.1.5.13 HOT 1
- 强烈建议给加密函数开放更多的可选项 HOT 3
- SM9模运算函数 与 正常运算的结果不一致 HOT 1
- 使用国密提供的cUrl工具(gmcurl_linux_x64)测试openresty+gmssl2.5.4国密双证书时,时通时不通,详细信息如下: HOT 2
- 您好,我想要一份开发者文档
- 可否调整WIndows版release可执行文件的依赖库
- 能否增加去除sm2私钥密码保护的功能
- V3.1.1使用windows 10 Visual studio 2022 编译时报错 HOT 1
- 按 README 所说无法得到 Linux 下的静态库 HOT 1
- 3.0比2.0的并发加解密性能低?
- 3.0比2.0的并发加解密性能低?
- 官网 403
- 加密证书签发问题
- 请问3.1.1版本是否支持AIX HOT 2
- Python的ssl加载证书出错
- 国密 tomcat已经验证没问题, 使用iOS 的GmSSL最新sdk访问 localhost 报错,访问其他国密地址没有问题
- sm2.h文件报不存在 HOT 1
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 gmssl.