| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1435 人关注过本帖
标题:qt4 在ubuntu20.04下源码编译遇到ssl错误
取消只看楼主 加入收藏
wb197
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2016-4-20
收藏
 问题点数:0 回复次数:0 
qt4 在ubuntu20.04下源码编译遇到ssl错误
g++ -c -include .pch/release-shared/QtNetwork -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_NETWORK_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtNetwork -I.rcc/release-shared -Ikernel -I.moc/release-shared -o .obj/release-shared/qsslkey.o ssl/qsslkey.cpp
ssl/qsslkey.cpp: In member function ‘int QSslKey::length() const’:
ssl/qsslkey.cpp:325:34: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
            ? q_BN_num_bits(d->rsa->n) : q_BN_num_bits(d->dsa->p);
                                  ^~
In file included from /usr/local/include/openssl/crypto.h:36:0,
                 from /usr/local/include/openssl/bio.h:30,
                 from /usr/local/include/openssl/asn1.h:30,
                 from ssl/qsslsocket_openssl_p.h:66,
                 from ssl/qsslsocket_openssl_symbols_p.h:57,
                 from ssl/qsslkey.cpp:62:
/usr/local/include/openssl/types.h:143:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
 typedef struct rsa_st RSA;
                ^~~~~~
ssl/qsslkey.cpp:325:61: error: invalid use of incomplete type ‘DSA {aka struct dsa_st}’
            ? q_BN_num_bits(d->rsa->n) : q_BN_num_bits(d->dsa->p);
                                                             ^~
In file included from /usr/local/include/openssl/crypto.h:36:0,
                 from /usr/local/include/openssl/bio.h:30,
                 from /usr/local/include/openssl/asn1.h:30,
                 from ssl/qsslsocket_openssl_p.h:66,
                 from ssl/qsslsocket_openssl_symbols_p.h:57,
                 from ssl/qsslkey.cpp:62:
/usr/local/include/openssl/types.h:138:16: note: forward declaration of ‘DSA {aka struct dsa_st}’
 typedef struct dsa_st DSA;
                ^~~~~~
搜索更多相关主题的帖子: struct from include local cpp 
2022-06-29 11:26
快速回复:qt4 在ubuntu20.04下源码编译遇到ssl错误
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.016552 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved