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

compile/linking problem on debian 12 #1021

Open
cipig opened this issue Feb 27, 2024 · 1 comment
Open

compile/linking problem on debian 12 #1021

cipig opened this issue Feb 27, 2024 · 1 comment

Comments

@cipig
Copy link

cipig commented Feb 27, 2024

QTUM wallet does not compile under debian 12, it fails at linking with this errors:

  CXXLD    qtum-cli
  CXXLD    qtum-tx
  CXXLD    qtum-util
  CXXLD    qtumd
/usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-sign.o): in function `MutableTransactionSignatureOutputCreator::CreateSig(SigningProvider const&, std::vector<unsigned char, std::allocator<unsigned char> >&, CKeyID const&, CScript const&, SigVersion) const':
/home/electrum/wallets/qtum/src/script/sign.cpp:100: undefined reference to `uint256 SignatureHashOutput<CMutableTransaction>(CScript const&, CMutableTransaction const&, unsigned int, int, long const&, SigVersion, PrecomputedTransactionData const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:9598: qtum-tx] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-sign.o): in function `MutableTransactionSignatureOutputCreator::CreateSig(SigningProvider const&, std::vector<unsigned char, std::allocator<unsigned char> >&, CKeyID const&, CScript const&, SigVersion) const':
/home/electrum/wallets/qtum/src/script/sign.cpp:100: undefined reference to `uint256 SignatureHashOutput<CMutableTransaction>(CScript const&, CMutableTransaction const&, unsigned int, int, long const&, SigVersion, PrecomputedTransactionData const*)'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:9614: qtumd] Error 1

when compiled like this

git clone https://github.com/qtumproject/qtum --recursive
cd qtum
./autogen.sh
./configure --with-incompatible-bdb --with-gui=no --disable-tests --disable-bench --without-miniupnpc --disable-zmq --disable-wallet
make -j8

older version compiled just fine like this, though with debian 11

@cipig
Copy link
Author

cipig commented Aug 11, 2024

same problem with 25.1:

/usr/bin/ld: libbitcoin_common.a(libbitcoin_common_a-sign.o): in function `MutableTransactionSignatureOutputCreator::CreateSig(SigningProvider const&, std::vector<unsigned char, std::allocator<unsigned char> >&, CKeyID const&, CScript const&, SigVersion) const':
/home/electrum/wallets/qtum/src/script/sign.cpp:101: undefined reference to `uint256 SignatureHashOutput<CMutableTransaction>(CScript const&, CMutableTransaction const&, unsigned int, int, long const&, SigVersion, PrecomputedTransactionData const*)'

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