complexiflow
Newbie
Offline
Activity: 7
Merit: 0
|
|
March 12, 2018, 04:42:26 PM |
|
I experience this error: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_thread-mgw46-mt-sd-1_53 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw46-mt-sd-1_53 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw46-mt-sd-1_53 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw46-mt-sd-1_53 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw46-mt-sd-1_53 collect2: error: ld returned 1 exit status make: * [release/Eryllium-qt.exe] Error 1
my bash file looks like that: #!/bin/bash MXE_INCLUDE_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/include MXE_LIB_PATH=/mnt/mxe/usr/i686-w64-mingw32.static/lib
i686-w64-mingw32.static-qmake-qt5 \ BOOST_LIB_SUFFIX=-mt \ BOOST_THREAD_LIB_SUFFIX=_win32-mt \ BOOST_INCLUDE_PATH=$MXE_INCLUDE_PATH/boost \ BOOST_LIB_PATH=$MXE_LIB_PATH \ OPENSSL_INCLUDE_PATH=$MXE_INCLUDE_PATH/openssl \ OPENSSL_LIB_PATH=$MXE_LIB_PATH \ BDB_INCLUDE_PATH=$MXE_INCLUDE_PATH \ BDB_LIB_PATH=$MXE_LIB_PATH \ MINIUPNPC_INCLUDE_PATH=$MXE_INCLUDE_PATH \ MINIUPNPC_LIB_PATH=$MXE_LIB_PATH \ QMAKE_LRELEASE=/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/lrelease coin-qt.pro
make -f Makefile.Release
Can someone explain me how to fix that? Thanks!! I am having the same question actually. Any help?
|
|
|
|
darein
Newbie
Offline
Activity: 2
Merit: 0
|
|
March 13, 2018, 11:05:54 PM |
|
hello i tried to compile but src/bignum.h: In function 'bool operator>=(const CBigNum&, const CBigNum&)': src/bignum.h:718:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); } ^ src/bignum.h: In function 'bool operator<(const CBigNum&, const CBigNum&)': src/bignum.h:719:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); } ^ src/bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)': src/bignum.h:720:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); } getting these error all over anyone know how to fix this . tx. I wasn't running into if before my system restore, but setting everything back up I am getting this same error. So far, I have only found references to the ssl being an incorrect version possibly. I wish I had more details, but wanted you to know I am in the same boat. sadly i still cant resolve this. tried every solution i came up with. fresh system also didnt help. lemme know if u find anything
|
|
|
|
D3m0nKinGx
|
|
March 13, 2018, 11:25:55 PM |
|
hello i tried to compile but src/bignum.h: In function 'bool operator>=(const CBigNum&, const CBigNum&)': src/bignum.h:718:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>=(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) >= 0); } ^ src/bignum.h: In function 'bool operator<(const CBigNum&, const CBigNum&)': src/bignum.h:719:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator<(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) < 0); } ^ src/bignum.h: In function 'bool operator>(const CBigNum&, const CBigNum&)': src/bignum.h:720:83: error: cannot convert 'const CBigNum*' to 'const BIGNUM* {aka const bignum_st*}' for argument '1' to 'int BN_cmp(const BIGNUM*, const BIGNUM*)' inline bool operator>(const CBigNum& a, const CBigNum& b) { return (BN_cmp(&a, &b) > 0); } getting these error all over anyone know how to fix this . tx. I wasn't running into if before my system restore, but setting everything back up I am getting this same error. So far, I have only found references to the ssl being an incorrect version possibly. I wish I had more details, but wanted you to know I am in the same boat. sadly i still cant resolve this. tried every solution i came up with. fresh system also didnt help. lemme know if u find anything Just a shot in the dark here, but try downgrading the libssl/openssl version.
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
block_exp
Jr. Member
Offline
Activity: 40
Merit: 1
|
|
March 20, 2018, 05:07:59 PM |
|
hello, I have this problem /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1 collect2: error: ld returned 1 exit statusI can not solve this problem in any way... I did $ ./autogen.sh $ ./configure $ make $ ./tests $ sudo make install but it did not help
|
|
|
|
NeroCity
Copper Member
Newbie
Offline
Activity: 124
Merit: 0
AXS.GOLD (AXSG)
|
|
March 27, 2018, 01:01:21 PM |
|
hello, I have this problem /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1 collect2: error: ld returned 1 exit statusI can not solve this problem in any way... I did $ ./autogen.sh $ ./configure $ make $ ./tests $ sudo make install but it did not help Check all PATHs and compilation of secp256k1
|
|
|
|
saddam1997
Newbie
Offline
Activity: 1
Merit: 0
|
|
April 04, 2018, 12:47:22 PM |
|
Hi,
I am gettting this error please help me!!!!
/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DSTATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Isrc -Isrc/json -Isrc/qt -I../mxe/usr/i686-w64-mingw32.static/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I../mxe/usr/i686-w64-mingw32.static/include/boost -I../mxe/usr/i686-w64-mingw32.static/include -I../mxe/usr/i686-w64-mingw32.static/include/openssl -I../mxe/usr/i686-w64-mingw32.static/qt5/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtNetwork -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Ibuild -Ibuild -I../mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ -o build/txdb-leveldb.o src/txdb-leveldb.cpp In file included from src/script.h:18:0, from src/core.h:11, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: src/bignum.h:57:24: error: invalid use of incomplete type 'BIGNUM {aka struct bignum_st}' class CBigNum : public BIGNUM ^ In file included from /mnt/mxe/usr/i686-w64-mingw32.static/include/openssl/crypto.h:31:0, from src/allocators.h:12, from src/serialize.h:22, from src/core.h:9, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: /mnt/mxe/usr/i686-w64-mingw32.static/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}' typedef struct bignum_st BIGNUM; ^ In file included from src/script.h:18:0, from src/core.h:11, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: src/bignum.h: In constructor 'CBigNum::CBigNum()': src/bignum.h:62:21: error: 'BN_init' was not declared in this scope BN_init(this); ^ src/bignum.h: In copy constructor 'CBigNum::CBigNum(const CBigNum&)': src/bignum.h:67:21: error: 'BN_init' was not declared in this scope BN_init(this); ^ src/bignum.h:68:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ src/bignum.h:70:31: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ src/bignum.h: In member function 'CBigNum& CBigNum::operator=(const CBigNum&)': src/bignum.h:77:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ src/bignum.h: In destructor 'CBigNum::~CBigNum()': src/bignum.h:84:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ src/bignum.h: In constructor 'CBigNum::CBigNum(signed char)': src/bignum.h:88:49: error: 'BN_init' was not declared in this scope CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(short int)': src/bignum.h:89:49: error: 'BN_init' was not declared in this scope CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(int)': src/bignum.h:90:49: error: 'BN_init' was not declared in this scope CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long int)': src/bignum.h:91:49: error: 'BN_init' was not declared in this scope CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long long int)': src/bignum.h:92:49: error: 'BN_init' was not declared in this scope CBigNum(long long n) { BN_init(this); setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(unsigned char)': src/bignum.h:93:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned char n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(short unsigned int)': src/bignum.h:94:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned short n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(unsigned int)': src/bignum.h:95:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned int n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long unsigned int)': src/bignum.h:96:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long long unsigned int)': src/bignum.h:97:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned long long n) { BN_init(this); setuint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(uint256)': src/bignum.h:98:49: error: 'BN_init' was not declared in this scope explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(const std::vector<unsigned char>&)': src/bignum.h:102:21: error: 'BN_init' was not declared in this scope
|
|
|
|
RealJayray
Newbie
Offline
Activity: 11
Merit: 5
|
|
April 04, 2018, 07:54:57 PM |
|
Hi,
This error is because the OpenSSL version in MXE is now 1.1.x, and the coin you are trying to compile is not compatible with OpenSSL 1.1 since there have been API breaking changes in OpenSSL 1.1. This happens to most of the coins sadly... You can either try to fix the errors and make the coin compile with OpenSSL 1.1 or try to use MXE with OpenSSL 1.0. Both seem to be a pita :-/
|
|
|
|
block_exp
Jr. Member
Offline
Activity: 40
Merit: 1
|
|
April 04, 2018, 10:53:18 PM |
|
hello, I have this problem /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1 collect2: error: ld returned 1 exit statusI can not solve this problem in any way... I did $ ./autogen.sh $ ./configure $ make $ ./tests $ sudo make install but it did not help Check all PATHs and compilation of secp256k1with compiling spect everything is fine. But from the way I do not know how to register there spect
|
|
|
|
gorus5
Newbie
Offline
Activity: 24
Merit: 0
|
|
April 05, 2018, 12:16:48 PM Last edit: April 05, 2018, 12:27:41 PM by gorus5 |
|
Hi everyone. I'm trying to compile db, and getting this error. How to fix it? ... checking if --enable-dtrace option specified... no checking if --enable-systemtap option specified... no checking if --enable-perfmon-statistics option specified... no checking if --enable-uimutexes option specified... no checking if --enable-umrw option specified... no checking if --enable-atomicfileread option specified... no checking if --with-cryptography option specified... yes checking if --with-mutex=MUTEX option specified... no checking if --with-tcl=DIR option specified... no checking if --with-uniquename=NAME option specified... no checking for x86-chmod... no checking for chmod... chmod checking for x86-cp... no checking for cp... cp checking for x86-ln... no checking for ln... ln checking for x86-mkdir... no checking for mkdir... mkdir checking for x86-rm... no checking for rm... rm checking for x86-mv... no checking for mv... mv checking for x86-sh... no checking for sh... /bin/sh checking for a BSD-compatible install... /usr/bin/install -c checking for x86-cc... /home/mahin/Downloads/mxe/usr/bin/i686-w64-mingw32.static-gcc checking whether the C compiler works... no configure: error: in `/home/machin/Downloads/db-5.3.28/build_mxe': configure: error: C compiler cannot create executables See `config.log' for more details make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target 'install'. Stop.
And I also have the same problem like saddam1997. Does anybody know a way to fix it?
|
|
|
|
block_exp
Jr. Member
Offline
Activity: 40
Merit: 1
|
|
April 06, 2018, 08:32:31 PM |
|
now I have a new error /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -llibdir /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw49-mt-s-1_57 collect2: error: ld returned 1 exit status make: *** [release/mycoin-qt.exe] Error 1 root@p466918:/mnt/mycoin# ./configure --host=i686-w64-mingw32.static
|
|
|
|
95dram
Newbie
Offline
Activity: 47
Merit: 0
|
|
April 24, 2018, 01:30:59 AM |
|
they appear to have updated MXE and it's causing the bignum errors. think it's the openssl version. I'll post more when I figure it out
|
|
|
|
|
Gift_Coin
Newbie
Offline
Activity: 26
Merit: 0
|
|
May 05, 2018, 03:54:25 PM |
|
Hello everyone, I am getting an error saying make: *** [build/txdb-leveldb.o] Error 1
Everything seems fine, it compiles for couple minutes, then gives this error. Couldn't solve.
|
|
|
|
bumbacoin
Legendary
Offline
Activity: 1638
Merit: 1036
|
|
May 07, 2018, 05:40:55 AM |
|
Hi,
I am gettting this error please help me!!!!
/mnt/mxe/usr/i686-w64-mingw32.static/qt5/bin/uic src/qt/forms/optionsdialog.ui -o build/ui_optionsdialog.h i686-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DENABLE_WALLET -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_UPNP=1 -DMINIUPNP_STATICLIB -DSTATICLIB -DWIN32 -D_MT -DBOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -Isrc -Isrc/json -Isrc/qt -I../mxe/usr/i686-w64-mingw32.static/include -Isrc/leveldb/include -Isrc/leveldb/helpers -I../mxe/usr/i686-w64-mingw32.static/include/boost -I../mxe/usr/i686-w64-mingw32.static/include -I../mxe/usr/i686-w64-mingw32.static/include/openssl -I../mxe/usr/i686-w64-mingw32.static/qt5/include -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtWidgets -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtGui -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtNetwork -I../mxe/usr/i686-w64-mingw32.static/qt5/include/QtCore -Ibuild -Ibuild -I../mxe/usr/i686-w64-mingw32.static/qt5/mkspecs/win32-g++ -o build/txdb-leveldb.o src/txdb-leveldb.cpp In file included from src/script.h:18:0, from src/core.h:11, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: src/bignum.h:57:24: error: invalid use of incomplete type 'BIGNUM {aka struct bignum_st}' class CBigNum : public BIGNUM ^ In file included from /mnt/mxe/usr/i686-w64-mingw32.static/include/openssl/crypto.h:31:0, from src/allocators.h:12, from src/serialize.h:22, from src/core.h:9, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: /mnt/mxe/usr/i686-w64-mingw32.static/include/openssl/ossl_typ.h:80:16: note: forward declaration of 'BIGNUM {aka struct bignum_st}' typedef struct bignum_st BIGNUM; ^ In file included from src/script.h:18:0, from src/core.h:11, from src/main.h:8, from src/kernel.h:7, from src/txdb-leveldb.cpp:17: src/bignum.h: In constructor 'CBigNum::CBigNum()': src/bignum.h:62:21: error: 'BN_init' was not declared in this scope BN_init(this); ^ src/bignum.h: In copy constructor 'CBigNum::CBigNum(const CBigNum&)': src/bignum.h:67:21: error: 'BN_init' was not declared in this scope BN_init(this); ^ src/bignum.h:68:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ src/bignum.h:70:31: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ src/bignum.h: In member function 'CBigNum& CBigNum::operator=(const CBigNum&)': src/bignum.h:77:30: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'BIGNUM* BN_copy(BIGNUM*, const BIGNUM*)' if (!BN_copy(this, &b)) ^ src/bignum.h: In destructor 'CBigNum::~CBigNum()': src/bignum.h:84:27: error: cannot convert 'CBigNum*' to 'BIGNUM* {aka bignum_st*}' for argument '1' to 'void BN_clear_free(BIGNUM*)' BN_clear_free(this); ^ src/bignum.h: In constructor 'CBigNum::CBigNum(signed char)': src/bignum.h:88:49: error: 'BN_init' was not declared in this scope CBigNum(signed char n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(short int)': src/bignum.h:89:49: error: 'BN_init' was not declared in this scope CBigNum(short n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(int)': src/bignum.h:90:49: error: 'BN_init' was not declared in this scope CBigNum(int n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long int)': src/bignum.h:91:49: error: 'BN_init' was not declared in this scope CBigNum(long n) { BN_init(this); if (n >= 0) setulong(n); else setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long long int)': src/bignum.h:92:49: error: 'BN_init' was not declared in this scope CBigNum(long long n) { BN_init(this); setint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(unsigned char)': src/bignum.h:93:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned char n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(short unsigned int)': src/bignum.h:94:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned short n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(unsigned int)': src/bignum.h:95:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned int n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long unsigned int)': src/bignum.h:96:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned long n) { BN_init(this); setulong(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(long long unsigned int)': src/bignum.h:97:49: error: 'BN_init' was not declared in this scope CBigNum(unsigned long long n) { BN_init(this); setuint64(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(uint256)': src/bignum.h:98:49: error: 'BN_init' was not declared in this scope explicit CBigNum(uint256 n) { BN_init(this); setuint256(n); } ^ src/bignum.h: In constructor 'CBigNum::CBigNum(const std::vector<unsigned char>&)': src/bignum.h:102:21: error: 'BN_init' was not declared in this scope
there is still some support for the other release (102o) to make other stream of openssl, i think this will work, but i havent used it myself make MXE_PLUGIN_DIRS=/plugins/examples/qt5-freeze/openssl .. but i've just noticed they've updated to gcc5 , (recent for me ) , so that may make newer compiled deps incompatible with older ones if they were compiled with gcc4 .. alternative method is to overwrite your local copy of openssl.mk with the contents of the https://github.com/mxe/mxe/blob/master/plugins/examples/qt5-freeze/openssl.mk
|
💦☔️🐳💚💖💛 | ★ | | ★
| | ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ ████████████████ | | ★ | 🐠👻🍗🌳🐵
|
|
|
|
agricoin
|
|
May 09, 2018, 03:53:51 PM |
|
res.o ./build/key.o:key.cpp:(.text+0x106): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x334): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x381): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x42b): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x461): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x70f): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x77a): undefined reference to `secp256k1_context_destroy' ./build/key.o:key.cpp:(.text+0x7d1): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x80c): undefined reference to `secp256k1_ecdsa_sign_recoverable' ./build/key.o:key.cpp:(.text+0x832): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x89c): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x97e): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x9a6): undefined reference to `secp256k1_ecdsa_sign' ./build/key.o:key.cpp:(.text+0x9e5): undefined reference to `secp256k1_ecdsa_signature_serialize_der' ./build/key.o:key.cpp:(.text+0x12c5): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x1398): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x2377): undefined reference to `secp256k1_ec_privkey_tweak_add' ./build/key.o:key.cpp:(.text+0x261a): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x2812): undefined reference to `secp256k1_context_create' ./build/key.o:key.cpp:(.text+0x2840): undefined reference to `secp256k1_context_randomize' ./build/pubkey.o:pubkey.cpp:(.text+0x3b): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x24c): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x385): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x42e): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x46e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0x48e): undefined reference to `secp256k1_ecdsa_verify' ./build/pubkey.o:pubkey.cpp:(.text+0x509): undefined reference to `secp256k1_ecdsa_recoverable_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x531): undefined reference to `secp256k1_ecdsa_recover' ./build/pubkey.o:pubkey.cpp:(.text+0x574): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x643): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6b2): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6e7): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x8d9): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x901): undefined reference to `secp256k1_ec_pubkey_tweak_add' ./build/pubkey.o:pubkey.cpp:(.text+0x936): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0xd1e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0xd69): undefined reference to `secp256k1_context_create' ./build/pubkey.o:pubkey.cpp:(.text+0xdfe): undefined reference to `secp256k1_context_destroy' collect2: error: ld returned 1 exit status
Any Idea how to fix this?
|
AGRICOIN.ASIA [ ACCELERATE FARMING ECOSYSTEM ]
|
|
|
D3m0nKinGx
|
|
May 09, 2018, 04:23:13 PM |
|
res.o ./build/key.o:key.cpp:(.text+0x106): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x334): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x381): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x42b): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x461): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x70f): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x77a): undefined reference to `secp256k1_context_destroy' ./build/key.o:key.cpp:(.text+0x7d1): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x80c): undefined reference to `secp256k1_ecdsa_sign_recoverable' ./build/key.o:key.cpp:(.text+0x832): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x89c): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x97e): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x9a6): undefined reference to `secp256k1_ecdsa_sign' ./build/key.o:key.cpp:(.text+0x9e5): undefined reference to `secp256k1_ecdsa_signature_serialize_der' ./build/key.o:key.cpp:(.text+0x12c5): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x1398): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x2377): undefined reference to `secp256k1_ec_privkey_tweak_add' ./build/key.o:key.cpp:(.text+0x261a): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x2812): undefined reference to `secp256k1_context_create' ./build/key.o:key.cpp:(.text+0x2840): undefined reference to `secp256k1_context_randomize' ./build/pubkey.o:pubkey.cpp:(.text+0x3b): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x24c): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x385): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x42e): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x46e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0x48e): undefined reference to `secp256k1_ecdsa_verify' ./build/pubkey.o:pubkey.cpp:(.text+0x509): undefined reference to `secp256k1_ecdsa_recoverable_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x531): undefined reference to `secp256k1_ecdsa_recover' ./build/pubkey.o:pubkey.cpp:(.text+0x574): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x643): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6b2): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6e7): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x8d9): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x901): undefined reference to `secp256k1_ec_pubkey_tweak_add' ./build/pubkey.o:pubkey.cpp:(.text+0x936): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0xd1e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0xd69): undefined reference to `secp256k1_context_create' ./build/pubkey.o:pubkey.cpp:(.text+0xdfe): undefined reference to `secp256k1_context_destroy' collect2: error: ld returned 1 exit status
Any Idea how to fix this?
go into the files key.cpp and pubkey.cppFind the code: bool* pfMissingInputs = false;
Replace with:
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
agricoin
|
|
May 09, 2018, 08:39:31 PM |
|
res.o ./build/key.o:key.cpp:(.text+0x106): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x334): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x381): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x42b): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x461): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x70f): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x77a): undefined reference to `secp256k1_context_destroy' ./build/key.o:key.cpp:(.text+0x7d1): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x80c): undefined reference to `secp256k1_ecdsa_sign_recoverable' ./build/key.o:key.cpp:(.text+0x832): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x89c): undefined reference to `secp256k1_ecdsa_recoverable_signature_serialize_compact' ./build/key.o:key.cpp:(.text+0x97e): undefined reference to `secp256k1_nonce_function_rfc6979' ./build/key.o:key.cpp:(.text+0x9a6): undefined reference to `secp256k1_ecdsa_sign' ./build/key.o:key.cpp:(.text+0x9e5): undefined reference to `secp256k1_ecdsa_signature_serialize_der' ./build/key.o:key.cpp:(.text+0x12c5): undefined reference to `secp256k1_ec_pubkey_create' ./build/key.o:key.cpp:(.text+0x1398): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/key.o:key.cpp:(.text+0x2377): undefined reference to `secp256k1_ec_privkey_tweak_add' ./build/key.o:key.cpp:(.text+0x261a): undefined reference to `secp256k1_ec_seckey_verify' ./build/key.o:key.cpp:(.text+0x2812): undefined reference to `secp256k1_context_create' ./build/key.o:key.cpp:(.text+0x2840): undefined reference to `secp256k1_context_randomize' ./build/pubkey.o:pubkey.cpp:(.text+0x3b): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x24c): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x385): undefined reference to `secp256k1_ecdsa_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x42e): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x46e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0x48e): undefined reference to `secp256k1_ecdsa_verify' ./build/pubkey.o:pubkey.cpp:(.text+0x509): undefined reference to `secp256k1_ecdsa_recoverable_signature_parse_compact' ./build/pubkey.o:pubkey.cpp:(.text+0x531): undefined reference to `secp256k1_ecdsa_recover' ./build/pubkey.o:pubkey.cpp:(.text+0x574): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x643): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6b2): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x6e7): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0x8d9): undefined reference to `secp256k1_ec_pubkey_parse' ./build/pubkey.o:pubkey.cpp:(.text+0x901): undefined reference to `secp256k1_ec_pubkey_tweak_add' ./build/pubkey.o:pubkey.cpp:(.text+0x936): undefined reference to `secp256k1_ec_pubkey_serialize' ./build/pubkey.o:pubkey.cpp:(.text+0xd1e): undefined reference to `secp256k1_ecdsa_signature_normalize' ./build/pubkey.o:pubkey.cpp:(.text+0xd69): undefined reference to `secp256k1_context_create' ./build/pubkey.o:pubkey.cpp:(.text+0xdfe): undefined reference to `secp256k1_context_destroy' collect2: error: ld returned 1 exit status
Any Idea how to fix this?
go into the files key.cpp and pubkey.cppFind the code: bool* pfMissingInputs = false;
Replace with: done bro recompile secp256k1
|
AGRICOIN.ASIA [ ACCELERATE FARMING ECOSYSTEM ]
|
|
|
D3m0nKinGx
|
|
May 09, 2018, 08:53:55 PM |
|
@agricoin which coin you compiling ?
|
.
| .
| . ▬◇ ▬◇▬◆ ▬◇▬◇▬◆
| .
| | .
| | .
| | .
| . ◇▬ ◆▬◇▬ ◆▬◇▬◇▬
| .
| .
|
|
|
|
BardonMe
Newbie
Offline
Activity: 38
Merit: 0
|
|
May 14, 2018, 04:04:48 PM |
|
I figured out /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw49-mt-s-1_57 /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_chrono-mgw49-mt-s-1_57 collect2: error: ld returned 1 exit status
Turns out this is from developers deleting things from the repo to make your life harder. With this issue, you are likely missing the share, contrib, and doc folders. This one is still an issue for me: /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1
|
|
|
|
BardonMe
Newbie
Offline
Activity: 38
Merit: 0
|
|
May 16, 2018, 06:42:42 PM |
|
I changed LIBS += $$join(SECP256K1_LIB_PATH,,-L,) -lsecp256k1 to LIBS += $$join(SECP256K1_LIB_PATH,,-L,) -L/mnt/COINNAME/src/secp256k1 and got past /mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lsecp256k1 There's other errors now so I'm not sure if it's the proper fix but it might help some people.
|
|
|
|
|