关于在编译比特币或者qtum中遇到的一点小问题
2017-07-12 16:22
549 查看
报错如下
google了很久知道时openssl的问题但就是没有解决方案2333
但其主要是openssl不兼容的问题,我装的1.0.2版本,重新装回1.0.0版本就行了。。。。就是libopenssl1.0.0-dev
编译成功2333
key.cpp: In function ‘bool EnsureLowS(std::vector<unsigned char>&)’: key.cpp:149:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ if (BN_cmp(sig->s, halforder) > 0) { ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:17: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:151:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_sub(sig->s, order, sig->s); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:17: /usr/include/openssl/ec.h:1044:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~ key.cpp:151:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ BN_sub(sig->s, order, sig->s); ^~ In file included from /usr/include/openssl/ecdsa.h:10:0, from key.cpp:17: /usr/include/openssl/ec.h:1044:16: note: forward 4000 declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’ typedef struct ECDSA_SIG_st ECDSA_SIG; ^~~~~~~~~~~~
google了很久知道时openssl的问题但就是没有解决方案2333
但其主要是openssl不兼容的问题,我装的1.0.2版本,重新装回1.0.0版本就行了。。。。就是libopenssl1.0.0-dev
编译成功2333
相关文章推荐
- 关于Mac下编译ffmpeg静态库供framework或者dylib调用出现illegal text-relocoation代码重定向问题
- 关于极光分享遇到的添加依赖后的编译出错问题
- 关于cocos2d-x2.2.0永动型帧动画上遇到的一点问题
- 关于Resin在Eclipse或者Myeclipse上利用Debug模式部署的方法以及遇到的一些问题
- 关于环信webIM编译遇到的问题
- 关于编译OpenGL的3D Tetris时遇到的问题
- 关于Python2的一点想法以及遇到的问题
- 关于多端开发中遇到的一点线程问题
- 关于Excel中的需求或者是用例导入到QC中遇到的问题
- 关于svn(客户端)在安装完成过程中所遇到的一点问题
- 关于使用contacts 或者 contacts_cn 遇到的问题解决
- 关于ios调用银联sdk编译遇到的各种问题
- 关于ActivityGroup使用过程中遇到的一点问题
- 关于编译执行文件遇到的问题小结
- Nagios遇到的一点问题--关于如何使用timeperiod
- 关于编译4+2版本遇到的不是代码的问题和添加launcher以及svn上传问题
- 关于SBA(Sparse Bundle Adjustment)编译以及遇到的一些问题
- 关于ActivityGroup使用过程中遇到的一点问题
- 关于Tslib编译可能遇到的问题总结
- 关于客户遇到的S5pv210 wince6.0 BSP编译不通过的问题解决方法