• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

Compiling a statically linked binary for bitcoin core v0.12.0

Moussa by Moussa
March 23, 2026
in Bitcoin
0
How do Bitcoin mining pools typically handle payout frequency versus thresholds?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I’m trying to compile a statically linked binary following https://github.com/bitcoin/bitcoin/tree/master/depends. But when I run make I got this error:

fcmatch.c:284:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function); did you mean 'PRI_CHAR_HEIGHT_STRONG'?
  284 | #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
      |                                                               ^~~~
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
   54 | FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
      | ^~~~~~~~~
fcmatch.c:284:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function); did you mean 'PRI_CHAR_HEIGHT_WEAK'?
  284 | #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
      |                                                                                    ^~~~
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
   54 | FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
      | ^~~~~~~~~
make[4]: *** [Makefile:613: fcmatch.lo] Error 1
make[4]: Leaving directory '/usr/local/src/bitcoin-0.12.0/depends/work/build/x86_64-pc-linux-gnu/fontconfig/2.11.1-14f43f3a52a/src'
make[3]: *** [Makefile:474: all] Error 2
make[3]: Leaving directory '/usr/local/src/bitcoin-0.12.0/depends/work/build/x86_64-pc-linux-gnu/fontconfig/2.11.1-14f43f3a52a/src'
make[2]: *** [Makefile:561: all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/bitcoin-0.12.0/depends/work/build/x86_64-pc-linux-gnu/fontconfig/2.11.1-14f43f3a52a'
make[1]: *** [Makefile:444: all] Error 2
make[1]: Leaving directory '/usr/local/src/bitcoin-0.12.0/depends/work/build/x86_64-pc-linux-gnu/fontconfig/2.11.1-14f43f3a52a'
make: *** [funcs.mk:240: /usr/local/src/bitcoin-0.12.0/depends/work/build/x86_64-pc-linux-gnu/fontconfig/2.11.1-14f43f3a52a/./.stamp_built] Error 2

I’m doing this on ubuntu 20.04 LTS using the source code of bitcoin core v0.12.0. I already compiled the source code and because it is an old version it was necessary to install some old libraries. But I believe the problem is related to the C++ version and I don’t know how to set the right C++ version. How can I fix that?



Source link

Related articles

Bitcoin Could Hit $85K Before April Ends, Analyst Says

Bitcoin Could Hit $85K Before April Ends, Analyst Says

April 15, 2026
Tether Moves Over $70 Million In Bitcoin To Reserves, On-chain Data Shows

Tether Moves Over $70 Million In Bitcoin To Reserves, On-chain Data Shows

April 15, 2026
Share76Tweet47

Related Posts

Bitcoin Could Hit $85K Before April Ends, Analyst Says

Bitcoin Could Hit $85K Before April Ends, Analyst Says

by Moussa
April 15, 2026
0

Ethereum has already shown the way. While Bitcoin climbed roughly 5% in a single day, Ether moved more than 8%...

Tether Moves Over $70 Million In Bitcoin To Reserves, On-chain Data Shows

Tether Moves Over $70 Million In Bitcoin To Reserves, On-chain Data Shows

by Moussa
April 15, 2026
0

Tether, issuer of the world’s largest stablecoin USDT, moved 951 bitcoin valued at $70.5 million into a reserve wallet linked...

Justin Sun Unveils Tron Post-Quantum Plan as Crypto Security Debate Grows – Crypto News Bitcoin News

Justin Sun Unveils Tron Post-Quantum Plan as Crypto Security Debate Grows – Crypto News Bitcoin News

by Moussa
April 15, 2026
0

Key Takeaways: Justin Sun said Tron will launch a PQC upgrade. NIST standards may strain Tron throughput due to 10x...

Bitwise Says Global Conflict Could Expand Bitcoin Market Beyond Gold: Is That Plausible?

Bitwise Says Global Conflict Could Expand Bitcoin Market Beyond Gold: Is That Plausible?

by Moussa
April 15, 2026
0

Bitwise CIO Matt Hougan is arguing that Bitcoin’s addressable market could eventually surpass gold’s, currently sitting around $20 trillion, if...

X Makes A Big Crypto Move With Cashtags, In-App Trading Plans

X Makes A Big Crypto Move With Cashtags, In-App Trading Plans

by Moussa
April 15, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure X is pushing deeper into crypto and...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="1/4"][vc_wp_tagcloud taxonomy="post_tag"][/vc_column][vc_column width="1/4"]

Newsletter

[vc_raw_html]JTNDcCUzRSUzQ2RpdiUyMGNsYXNzJTNEJTIydG5wJTIwdG5wLXN1YnNjcmlwdGlvbiUyMiUzRSUwQSUzQ2Zvcm0lMjBtZXRob2QlM0QlMjJwb3N0JTIyJTIwYWN0aW9uJTNEJTIyaHR0cHMlM0ElMkYlMkZhcHByb3gub3JnJTJGJTNGbmElM0RzJTIyJTNFJTBBJTBBJTNDaW5wdXQlMjB0eXBlJTNEJTIyaGlkZGVuJTIyJTIwbmFtZSUzRCUyMm5sYW5nJTIyJTIwdmFsdWUlM0QlMjIlMjIlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVs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wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News