Error while ' make ' command . #16602

issue ibrahimalrashd opened this issue on August 14, 2019
  1. ibrahimalrashd commented at 4:34 AM on August 14, 2019: none

    When I am trying to " make " command I got this :

    bench/checkblock.cpp: In function ‘void DeserializeBlockTest(benchmark::State&)’:
    bench/checkblock.cpp:22:50: error: ‘block413567’ is not a member of ‘block_bench’
         CDataStream stream((const char*)block_bench::block413567,
                                                      ^~~~~~~~~~~
    bench/checkblock.cpp:22:50: note: suggested alternative: ‘block413567_raw’
         CDataStream stream((const char*)block_bench::block413567,
                                                      ^~~~~~~~~~~
                                                      block413567_raw
    bench/checkblock.cpp:23:40: error: ‘block413567’ is not a member of ‘block_bench’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                            ^~~~~~~~~~~
    bench/checkblock.cpp:23:40: note: suggested alternative: ‘block413567_raw’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                            ^~~~~~~~~~~
                                            block413567_raw
    bench/checkblock.cpp:23:72: error: ‘block413567’ is not a member of ‘block_bench’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                                                            ^~~~~~~~~~~
    bench/checkblock.cpp:23:72: note: suggested alternative: ‘block413567_raw’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                                                            ^~~~~~~~~~~
                                                                            block413567_raw
    In file included from ./streams.h:13:0,
                     from bench/checkblock.cpp:9:
    bench/checkblock.cpp:31:50: error: ‘block413567’ is not a member of ‘block_bench’
             assert(stream.Rewind(sizeof(block_bench::block413567)));
                                                      ^
    bench/checkblock.cpp:31:50: note: suggested alternative: ‘block413567_raw’
    bench/checkblock.cpp: In function ‘void DeserializeAndCheckBlockTest(benchmark::State&)’:
    bench/checkblock.cpp:37:50: error: ‘block413567’ is not a member of ‘block_bench’
         CDataStream stream((const char*)block_bench::block413567,
                                                      ^~~~~~~~~~~
    bench/checkblock.cpp:37:50: note: suggested alternative: ‘block413567_raw’
         CDataStream stream((const char*)block_bench::block413567,
                                                      ^~~~~~~~~~~
                                                      block413567_raw
    bench/checkblock.cpp:38:40: error: ‘block413567’ is not a member of ‘block_bench’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                            ^~~~~~~~~~~
    bench/checkblock.cpp:38:40: note: suggested alternative: ‘block413567_raw’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                            ^~~~~~~~~~~
                                            block413567_raw
    bench/checkblock.cpp:38:72: error: ‘block413567’ is not a member of ‘block_bench’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                                                            ^~~~~~~~~~~
    bench/checkblock.cpp:38:72: note: suggested alternative: ‘block413567_raw’
                 (const char*)&block_bench::block413567[sizeof(block_bench::block413567)],
                                                                            ^~~~~~~~~~~
                                                                            block413567_raw
    In file included from ./streams.h:13:0,
                     from bench/checkblock.cpp:9:
    bench/checkblock.cpp:48:50: error: ‘block413567’ is not a member of ‘block_bench’
             assert(stream.Rewind(sizeof(block_bench::block413567)));
                                                      ^
    bench/checkblock.cpp:48:50: note: suggested alternative: ‘block413567_raw’
    Makefile:8438: recipe for target 'bench/bench_bench_bitcoin-checkblock.o' failed
    make[2]: *** [bench/bench_bench_bitcoin-checkblock.o] Error 1
    make[2]: Leaving directory '/home/ibrahim/bitcoin/src'
    Makefile:10040: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/ibrahim/bitcoin/src'
    Makefile:773: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1
    

    any idea how to solve this problem ?

  2. fanquake commented at 4:42 AM on August 14, 2019: member

    Try a git clean -fx in your bitcoin dir. Then ./autogen.sh && ./configure && make -j4 again.

  3. fanquake closed this on Aug 14, 2019

  4. DrahtBot locked this on Dec 16, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-03 03:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me