db.cpp:811: undefined reference to `fUseUPnP' #212

issue dholbert opened this issue on May 9, 2011
  1. dholbert commented at 5:29 PM on May 9, 2011: contributor

    When building bitcoin with upnp completely disabled in the build via setting this in makefile.unix...

    <code>USE_UPNP:=</code> ...then I get this build warning:

    <pre> obj/db.o: In function `CWalletDB::LoadWallet()': bitcoin/db.cpp:811: undefined reference to `fUseUPnP' obj/db.o: In function `Unserialize<CDataStream>': bitcoin/serialize.h:136: undefined reference to `fUseUPnP' </pre>

    Based on how fHaveUPnP is used in other files, it looks like db.cpp needs to wrap its fHaveUPnP usages with

    <pre> #if USE_UPNP ... #endif </pre>

  2. dholbert commented at 5:49 PM on May 9, 2011: contributor

    This issue is fixed by the changes in this pull request: #213

  3. dholbert commented at 9:45 PM on May 12, 2011: contributor

    This has now been resolved in issue #213.

  4. dholbert closed this on May 12, 2011

  5. dexX7 referenced this in commit c938ece9ad on Dec 14, 2014
  6. sipa referenced this in commit 7863d105ea on Aug 4, 2015
  7. sipa referenced this in commit 780d5b3c7b on Aug 23, 2015
  8. TheBlueMatt referenced this in commit a671356e1f on Oct 20, 2015
  9. sipa referenced this in commit 9177950c74 on Oct 21, 2015
  10. sipa referenced this in commit f4787d1caf on Oct 21, 2015
  11. sipa referenced this in commit 6557a8cd46 on Oct 26, 2015
  12. sipa referenced this in commit ea06490d14 on Oct 27, 2015
  13. sipa referenced this in commit 003bb87153 on Nov 5, 2015
  14. sipa referenced this in commit bfd83199c3 on Nov 11, 2015
  15. sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
  16. sipa referenced this in commit 1d84107924 on Nov 12, 2015
  17. btcdrak referenced this in commit 90c884bffe on Nov 28, 2015
  18. rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
  19. deadalnix referenced this in commit ddc9d5ce69 on Jan 15, 2017
  20. deadalnix referenced this in commit 258720851e on Jan 19, 2017
  21. deadalnix referenced this in commit dc5db04846 on Jan 20, 2017
  22. classesjack referenced this in commit 14c08352cd on Jan 2, 2018
  23. lateminer referenced this in commit 967e04831e on Oct 16, 2019
  24. hyojin5658 referenced this in commit 966071e27b on Feb 22, 2021
  25. hyojin5658 referenced this in commit 335001f414 on Feb 23, 2021
  26. rajarshimaitra referenced this in commit 5bb60a65c6 on Aug 5, 2021
  27. MarcoFalke locked this on Sep 8, 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-04-13 21:16 UTC

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