Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure #55

Open
SolarAquarion opened this issue Apr 26, 2017 · 0 comments
Open

build failure #55

SolarAquarion opened this issue Apr 26, 2017 · 0 comments

Comments

@SolarAquarion
Copy link

../telegram/telegramcore.h: In copy constructor ‘TelegramCore::CallbackStore::CallbackStore(const TelegramCore::CallbackStore&)’:
../telegram/telegramcore.h:1076:5: warning: base class ‘class QObject’ should be explicitly initialized in the copy constructor [-Wextra]
CallbackStore(const CallbackStore& rhs) : m_argResType(rhs.m_argResType), m_ptrCb(rhs.m_ptrCb) {}
^~~~~~~~~~~~~
g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DLIBQTELEGRAM_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I../../libqtelegram-ae-git -I. -I/usr/include -I/usr/local/include -I/usr/include/qt -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtGui -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtCore -I. -I/usr/include/libdrm -I/usr/lib/qt/mkspecs/linux-g++ -o utils.o ../util/utils.cpp
../util/utils.cpp: In static member function ‘static qint32 Utils::randomBytes(void*, qint32)’:
../util/utils.cpp:144:23: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
../util/utils.cpp:144:64: warning: ‘int RAND_pseudo_bytes(unsigned char
, int)’ is deprecated [-Wdeprecated-declarations]
returnValue = RAND_pseudo_bytes ((uchar *)buffer, count);
^
In file included from /usr/include/openssl/crypto.h:32:0,
from /usr/include/openssl/bn.h:33,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char buf, int num))
^
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp: In static member function ‘static qint64 Utils::computeRSAFingerprint(RSA
)’:
../util/utils.cpp:305:17: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’

define Q_ASSERT(cond) do { } while ((false) && (cond))

                                                  ^~~~

In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
In file included from /usr/include/qt/QtCore/qnamespace.h:43:0,
from /usr/include/qt/QtCore/qobjectdefs.h:48,
from /usr/include/qt/QtCore/qobject.h:46,
from /usr/include/qt/QtCore/QObject:1,
from ../util/utils.h:24,
from ../util/utils.cpp:21:
../util/utils.cpp:305:27: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
Q_ASSERT(key->n && key->e);
^
/usr/include/qt/QtCore/qglobal.h:707:54: note: in definition of macro ‘Q_ASSERT’

define Q_ASSERT(cond) do { } while ((false) && (cond))

                                                  ^~~~

In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:306:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l1 = serializeBignum (key->n, tempbuff, 4096);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
../util/utils.cpp:308:37: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
qint32 l2 = serializeBignum (key->e, tempbuff + l1, 4096 - l1);
^~
In file included from /usr/include/openssl/bn.h:32:0,
from ../util/utils.h:25,
from ../util/utils.cpp:21:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
make: *** [Makefile:12603: utils.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant