Closed DemonRx closed 6 years ago
Try This, You want to remove secp256k1 from Linda/src then rebuild it inside.
cd Linda/src
rm -r secp256k1
git clone http://www.github.com/bitcoin/secp256k1
cd secp256k1
git checkout a1d5ae1
./autogen.sh
./configure --enable-module-recovery
make
make install
Good news, it finally compiled the -qt, the bad news when trying to run it:
[libsecp256k1] illegal argument: Invalid flags
Aborted (core dumped)
Also the --enable-module-recovery option doesn't exist:
configure: WARNING: unrecognized options: --enable-module-recovery
However there's another secp256k1 repo that contains such option (but this one hasn't worked for me):
https://github.com/bitcoin-core/secp256k1
unless I need to figure out which commit to checkout on it?
Thank you for helping with this. just need a lil more fidgeting to get it working it seems...
What also makes even less sense, is that the daemon (Lindag) compiles without issue as-is or any changes to the src, it's only the -qt that's having the problem...
I had the problem D3m0nKingx reported in the beginning of this thread. I tried the solution suggested by RangaBoom, and that problem looks solved, but now I've got this error:
src/masternode.cpp: In function ‘void ProcessMessageMasternode(CNode, std::__cxx11::string&, CDataStream&)’: src/masternode.cpp:161:26: error: cannot convert ‘bool’ to ‘bool’ in initialization bool pfMissingInputs = false; ^~~~~ src/masternode.cpp: In member function ‘void CMasterNode::Check()’: src/masternode.cpp:602:33: error: cannot convert ‘bool’ to ‘bool’ in initialization bool pfMissingInputs = false; ^~~~~ src/darksend.cpp: In member function ‘bool CDarkSendPool::IsCollateralValid(const CTransaction&)’: src/darksend.cpp:977:29: error: cannot convert ‘bool’ to ‘bool’ in initialization bool* pfMissingInputs = false; ^~~~~ Makefile:3758: recipe for target 'build/masternode.o' failed make: [build/masternode.o] Error 1 make: Waiting for unfinished jobs.... Makefile:3843: recipe for target 'build/darksend.o' failed make: *** [build/darksend.o] Error 1
Fibroblasto, in each .cpp file that fails, find:
bool* pfMissingInputs = false;
and replace with:
bool* pfMissingInputs;
Thank you @mccomber .