Raptor3um / raptoreum

MIT License
316 stars 133 forks source link

No-wallet compiling includes issues #229

Closed Stormle closed 1 year ago

Stormle commented 1 year ago

Describe the issue

Compiling the master branch with --disable-wallet fails due to the following error:

rpc/rawtransaction.cpp:557:9: error: 'UpdateSpecialTxInputsHash' was not declared in this scope
  557 |         UpdateSpecialTxInputsHash(rawTx, ftx);

My guess is that this is either due to the no-wallet compile wrongfully requiring this dependency in rawtransaction.cpp or UpdateSpecialTxInputsHash wrongfully being within #ifdef ENABLE_WALLET tags.

Can you reliably reproduce the issue?

Not outside of my current environment. I'm using FreeBSD and have made very many modifications already to get this far in the compilation process. This doesn't mean this doesn't happen on other systems as well I just haven't tried. I will most likely reset my vps after submitting this issue because I'll probably just use linux binary compatibility instead of building my own.

What version of Raptoreum Core are you using?

The master branch source code of: 1.3.17.01

Machine specs:

Any extra information that might be useful in the debugging process.

These are the commands I use to build:

./autogen.sh
./configure --disable-tests --disable-gui-tests --disable-dependency-tracking \
--disable-bench --with-gui=no --without-miniupnpc --without-qtdbus \
--enable-miner=no --disable-wallet \
MAKE=gmake BDB_FLAGS="-I/usr/local/include/db4"

It doesn't contain anything related to the depends folder due to none of that working on FreeBSD. I have figured out and installed everything (as far as I can tell) required manually.