Build fails with gcc-4.6, glibc-2.13, boost-1.46.1 #325

issue ghost opened this issue on June 18, 2011
  1. ghost commented at 1:34 PM on June 18, 2011: none

    Sorry for my english. Building of bitcoin fails with gcc-4.6, glibc-2.13, boost-1.46.1 and wxWidgets-2.9.1:

    <pre><code> g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=1 -DBOOST_FILESYSTEM_DEPRECATED -I/include/ -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGUI -o obj/util.o util.cpp util.cpp: In function 'void GetDataDir(char*)': util.cpp:715:9: error: 'create_directory' is not a member of 'boost::filesystem' make: *** [obj/util.o] Error 1 </code></pre>

    and

    <pre><code> g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -DUSE_UPNP=1 -DBOOST_FILESYSTEM_DEPRECATED -I/include/ -I/usr/lib/wx/include/gtk2-unicode-2.9 -I/usr/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -DGUI -o obj/net.o net.cpp net.cpp: In function 'void ThreadMapPort2(void*)': net.cpp:1067:63: error: too few arguments to function 'UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)' /usr/include/miniupnpc/miniupnpc.h:53:1: note: declared here net.cpp:1081:58: error: too few arguments to function 'int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)' /usr/include/miniupnpc/upnpcommands.h:117:1: note: declared here make: *** [obj/net.o] Error 1 </code></pre>

    Now sorry for my patch, but with this bitcoin can be compiled: http://pastebin.com/GQ6urzzS I use ccache and /include/ for boost headers(see changes in makefile.unix), but this may not be necessary to other.

  2. ius commented at 9:12 PM on June 28, 2011: contributor

    The boost 1.46.1 header issue should be fixed. As for miniupnpc, try building against the version exactly labeled 1.5 (http://miniupnp.free.fr/files/download.php?file=miniupnpd-1.5.tar.gz)

  3. tcatm commented at 10:32 PM on June 29, 2011: none

    fixed by commit 926e14b362cd830cdca96dd37a9ebad247399420

  4. tcatm closed this on Jun 29, 2011

  5. sipa referenced this in commit 9177950c74 on Oct 21, 2015
  6. sipa referenced this in commit f4787d1caf on Oct 21, 2015
  7. sipa referenced this in commit 6557a8cd46 on Oct 26, 2015
  8. sipa referenced this in commit ea06490d14 on Oct 27, 2015
  9. sipa referenced this in commit 003bb87153 on Nov 5, 2015
  10. sipa referenced this in commit bfd83199c3 on Nov 11, 2015
  11. sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
  12. sipa referenced this in commit 1d84107924 on Nov 12, 2015
  13. dexX7 referenced this in commit 20172a9a8e on Jan 4, 2016
  14. jtimon referenced this in commit 91ee21c024 on Mar 11, 2016
  15. rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
  16. deadalnix referenced this in commit cc3141a003 on Jan 19, 2017
  17. destenson referenced this in commit 7d98ebeeb9 on Nov 18, 2017
  18. destenson referenced this in commit 63aef56e78 on Nov 18, 2017
  19. lateminer referenced this in commit 97e8e3f7b1 on Oct 16, 2019
  20. attilaaf referenced this in commit e509d7957e on Jan 13, 2020
  21. rajarshimaitra referenced this in commit 6c60aed10d on Aug 5, 2021
  22. DrahtBot locked this on Sep 8, 2021
  23. DrahtBot added the label CI failed on Apr 11, 2023
  24. MarcoFalke removed the label CI failed on Apr 11, 2023
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-17 15:16 UTC

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