• 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

Binance bStocks Will Reinvest Oracle And Marvell Dividends Onchain

Binance bStocks Will Reinvest Oracle And Marvell Dividends Onchain

October 6, 2026
Fairshake Backs 32 House Candidates As Crypto Election Spending Ramps Up

Fairshake Backs 32 House Candidates As Crypto Election Spending Ramps Up

October 6, 2026
Share76Tweet47

Related Posts

Binance bStocks Will Reinvest Oracle And Marvell Dividends Onchain

Binance bStocks Will Reinvest Oracle And Marvell Dividends Onchain

by Moussa
October 6, 2026
0

Trusted Editorial content, reviewed by leading industry experts and seasoned editors. Ad Disclosure TL;DR Binance will support cash dividends for...

Fairshake Backs 32 House Candidates As Crypto Election Spending Ramps Up

Fairshake Backs 32 House Candidates As Crypto Election Spending Ramps Up

by Moussa
October 6, 2026
0

TL;DR Fairshake has named 32 U.S. House candidates it plans to support ahead of the November midterms. Six races are...

Buy Coffee And Bacon Across 200 Indiana Bitcoin Merchants

Buy Coffee And Bacon Across 200 Indiana Bitcoin Merchants

by Moussa
October 6, 2026
0

My trip into the Indiana Bitcoin market started at Kaffeine Coffee Co. on Fulton Street. The coffee was tasty, but...

Bitcoin ETFs Lose $90 Million as Blackrock Keeps Buying

Bitcoin ETFs Lose $90 Million as Blackrock Keeps Buying

by Moussa
October 6, 2026
0

Key TakeawaysBitcoin ETFs collectively lost $89.90M on Monday as ARKB and FBTC outflows outweighed Blackrock IBIT buying.Ether hit a five-day...

BTC USD Price Stalls as Fresh Saylor Buy Fails to Clear $87K

BTC USD Price Stalls as Fresh Saylor Buy Fails to Clear $87K

by Moussa
October 6, 2026
0

Bitcoin (BTC USD) fell about -0.5% to about $85,800 after sellers rejected a move above $87,000 for the third time...

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

© 2024 APPROX FOUNDATION - The Crypto Currency News