Bitcoin Forum
June 24, 2024, 06:37:54 AM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin source compiling problem. (make install)  (Read 126 times)
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 12, 2018, 01:05:08 PM
Last edit: February 13, 2018, 01:49:06 AM by wsxdrfv
 #1

I now trying to change variables of bitcoin source and make own.
 
For that maybe I need to change hashGenesisBlock's value to match to my block?

so I revised source like this,

chainparams.cpp : 123~126 line around approx.

assert(consensus.hashGenesisBlock == uint256S("0x"));   // deleted whole after '0x' to spit out error and then debug.log file will show the right value?

but after try, debug.log file itself does not generated, and to take this code change effective, tried compile, but this error.

http://naver.me/55BHuWIC

How to do fix?

Thanks.
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
February 12, 2018, 03:30:30 PM
 #2

please re-upload your image
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 13, 2018, 01:45:52 AM
 #3

please re-upload your image

sorry, here it is.

http://naver.me/55BHuWIC
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
February 13, 2018, 07:34:07 PM
 #4

can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 14, 2018, 02:39:11 AM
 #5

can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
February 14, 2018, 11:51:03 AM
 #6

can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.


please post step by step what are you doing. As I know, you have to generate your own genesis block first.
wsxdrfv (OP)
Jr. Member
*
Offline Offline

Activity: 405
Merit: 5


View Profile WWW
February 15, 2018, 12:10:05 AM
 #7

can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.


please post step by step what are you doing. As I know, you have to generate your own genesis block first.

Just I did add printf for know hash value, and then typed 'make' at terminal for recompile. And error occured like above image I posted.
jrian
Jr. Member
*
Offline Offline

Activity: 39
Merit: 6


View Profile
February 16, 2018, 11:07:49 AM
 #8

Just I did add printf for know hash value, and then typed 'make' at terminal for recompile. And error occured like above image I posted.

I'll try to compile it myself next week. I'll post result here
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!