Makefile dependencies missing #8562

issue rebroad opened this issue on August 23, 2016
  1. rebroad commented at 8:38 AM on August 23, 2016: contributor

    I have just checked out the latest 0.13 (which had some changed made to bytespersigop recenly added). Make fails with:-

      CXX      libbitcoin_server_a-miner.o
    init.cpp: In function ‘bool AppInit2(boost::thread_group&, CScheduler&)’:
    init.cpp:950:5: error: ‘nBytesPerSigOp’ was not declared in this scope
         nBytesPerSigOp = GetArg("-bytespersigop", nBytesPerSigOp);
         ^
      CXX      policy/libbitcoin_server_a-fees.o
    Makefile:5049: recipe for target 'libbitcoin_server_a-init.o' failed
    make[1]: *** [libbitcoin_server_a-init.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    

    I did not "make clean" first and would prefer not to for such small changes. Why isn't make picking up the dependencies and ensuring all necessary files are recompiled?

  2. sipa commented at 8:40 AM on August 23, 2016: member

    This is not a dependency problem. It is failing at compile time, not at link time.

    Are you building 0.13.0 without modifications? What compiler version? Any other compilation errors?

  3. rebroad commented at 8:43 AM on August 23, 2016: contributor

    sorry, "make clean" doesn't fix this. I jumped a gun... closing for now :-s

    ...ah... policy.h got missed - solved. thanks for the quick response though, @sipa !

  4. rebroad closed this on Aug 23, 2016

  5. MarcoFalke locked this on Sep 8, 2021
Contributors

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-04-22 18:15 UTC

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