<!-- This issue tracker is only for technical issues related to Bitcoin Core.
General bitcoin questions and/or support requests are best directed to the Bitcoin StackExchange at https://bitcoin.stackexchange.com.
For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.
If the node is "stuck" during sync or giving "block checksum mismatch" errors, please ensure your hardware is stable by running memtest and observe CPU temperature with a load-test tool such as linpack before creating an issue!
Any report, issue or feature request related to the GUI should be reported at https://github.com/bitcoin-core/gui/issues/ -->
<!-- Describe the issue -->
building from GIT source failure occurs in downloaded TAR file as well as GIT pull and build 22.x branch
<!--- What behavior did you expect? -->
expected successful build
<!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->
CXXLD bitcoin-tx
libbitcoin_common.a(libbitcoin_common_a-sign.o): In function MutableTransactionSignatureCreator::CreateSchnorrSig(SigningProvider const&, std::vector<unsigned char, std::allocator<unsigned char> >&, XOnlyPubKey const&, uint256 const*, uint256 const*, SigVersion) const': sign.cpp:(.text+0x220d): undefined reference to bool SignatureHashSchnorr<CMutableTransaction>(uint256&, ScriptExecutionData const&, CMutableTransaction const&, unsigned int, unsigned char, SigVersion, PrecomputedTransactionData const&, MissingDataBehavior)'
collect2: error: ld returned 1 exit status
Makefile:5270: recipe for target 'bitcoin-tx' failed
make[2]: *** [bitcoin-tx] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/master/gitrepo/bitcoin/src'
Makefile:15532: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/master/gitrepo/bitcoin/src'
Makefile:821: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
<!--- How reliably can you reproduce the issue, what are the steps to do so? -->
happens exactly the same every time
<!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->
git clone https://github.com/bitcoin/bitcoin cd bitcoin/depends make (is successful) cd ../ ./autogen.sh ./configure --enable-glibc-back-compat --prefix=$(pwd)/depends/x86_64-pc-linux-gnu LDFLAGS="-static-libstdc++" --enable-cxx --enable-static --disable-shared --disable-debug --disable-tests --disable-bench --with-pic CPPFLAGS="-fPIC -O3 --param ggc-min-expand=1 --param ggc-min-heapsize=32768" CXXFLAGS="-fPIC -O3 --param ggc-min-expand=1 --param ggc-min-heapsize=32768"
make -j3 produces error above every time looks to me like there is a dependency missing did you forget to put the Schnorr library in "depends"?
<!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->
24 core Xeon + 192GB memory, 1T managed high speed disk array 4.15.0-76-generic #86-Ubuntu SMP Fri Jan 17 17:24:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
<!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->
no GUI issues
<!-- Any extra information that might be useful in the debugging process. -->
All previous versions for the last couple of years have built successfully many other coins both dash based and pivx based build successfully, only this particular distro has a problem.
<!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->
configuration log from this build config.log