Error when compiling fuzz binary for aarch64-linux-android target #22062

issue hebasto opened this issue on May 25, 2021
  1. hebasto commented at 6:18 PM on May 25, 2021: member

    On master (6b254814c076054eedc4311698d16c8971937814):

    ...
      CXX      test/fuzz/fuzz-addition_overflow.o
      CXX      test/fuzz/fuzz-addrdb.o
      CXX      test/fuzz/fuzz-addrman.o
      CXX      test/fuzz/fuzz-asmap.o
      CXX      test/fuzz/fuzz-asmap_direct.o
      CXX      test/fuzz/fuzz-autofile.o
      CXX      test/fuzz/fuzz-banman.o
    In file included from test/fuzz/addition_overflow.cpp:7:
    ./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
            const cookie_io_functions_t io_hooks = {
                  ^
      CXX      test/fuzz/fuzz-base_encode_decode.o
    In file included from test/fuzz/addrdb.cpp:8:
    ./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
            const cookie_io_functions_t io_hooks = {
                  ^
      CXX      test/fuzz/fuzz-bech32.o
    1 error generated.
    In file included from test/fuzz/addrman.cpp:11:
    ./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
            const cookie_io_functions_t io_hooks = {
                  ^
    make[2]: *** [Makefile:13071: test/fuzz/fuzz-addition_overflow.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    1 error generated.
    make[2]: *** [Makefile:13085: test/fuzz/fuzz-addrdb.o] Error 1
    1 error generated.
    make[2]: *** [Makefile:13099: test/fuzz/fuzz-addrman.o] Error 1
    In file included from test/fuzz/autofile.cpp:8:
    ./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
            const cookie_io_functions_t io_hooks = {
                  ^
    In file included from test/fuzz/banman.cpp:10:
    ./test/fuzz/util.h:388:15: error: unknown type name 'cookie_io_functions_t'
            const cookie_io_functions_t io_hooks = {
                  ^
    1 error generated.
    make[2]: *** [Makefile:13141: test/fuzz/fuzz-autofile.o] Error 1
    1 error generated.
    make[2]: *** [Makefile:13155: test/fuzz/fuzz-banman.o] Error 1
    make[2]: Leaving directory '/home/hebasto/GitHub/gui/src'
    make[1]: *** [Makefile:16016: all-recursive] Error 1
    make[1]: Leaving directory '/home/hebasto/GitHub/gui/src'
    make: *** [Makefile:820: all-recursive] Error 1
    

    I'm not an expert in Android SDK/NDK peculiarities, so leaving this for more knowledgeable people :)

  2. hebasto added the label Bug on May 25, 2021
  3. hebasto added the label Android on May 25, 2021
  4. fanquake referenced this in commit 1ff2ca4332 on May 26, 2021
  5. fanquake referenced this in commit 1be6267ce1 on May 26, 2021
  6. MarcoFalke closed this on May 26, 2021

  7. MarcoFalke referenced this in commit 48c86eca02 on May 26, 2021
  8. sidhujag referenced this in commit 2d357c24e8 on May 27, 2021
  9. rebroad referenced this in commit 146d37812b on Jun 23, 2021
  10. DrahtBot locked this on Aug 18, 2022
  11. PastaPastaPasta referenced this in commit 4b77e18c79 on Apr 15, 2023
  12. PastaPastaPasta referenced this in commit 485bfe90ea on Apr 15, 2023
  13. PastaPastaPasta referenced this in commit db56fd73a4 on Apr 16, 2023
  14. PastaPastaPasta referenced this in commit db34011b23 on Apr 16, 2023
  15. UdjinM6 referenced this in commit 64f05c7941 on Apr 16, 2023

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-01 15:14 UTC

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