Fixed compile error on Debian jessie (gcc version 4.8.2) #3895

pull mikalv wants to merge 1 commits into bitcoin:master from mikalv:master changing 1 files +1 −0
  1. mikalv commented at 10:16 pm on March 18, 2014: contributor

    Fixed compile error on Debian jessie (gcc version 4.8.2)

    Missed stdint.h in alert.cpp

  2. Fixed compile error on Debian jessie (gcc version 4.8.2 (Debian 4.8.2-16)) 74f66a5e29
  3. jgarzik commented at 10:47 pm on March 18, 2014: contributor
    ACK – though it would have been nice to paste the actual compiler (a) execution command and (b) precise error output.
  4. BitcoinPullTester commented at 11:31 pm on March 18, 2014: none
    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/74f66a5e2901136f22e221dfa2ee425b585cd80d for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
  5. mikalv commented at 2:55 am on March 19, 2014: contributor

    This was my output after pulling the last git head (master), running ./autogen.sh and ./configure –with-incompatible-bdb and make

    Solved by addding stdint.h to alert.cpp

     0$ make
     1Making all in src
     2make[1]: Entering directory `/home/mikalv/repos/git/cpp/bitcoin/src'
     3make  all-recursive
     4make[2]: Entering directory `/home/mikalv/repos/git/cpp/bitcoin/src'
     5Making all in .
     6make[3]: Entering directory `/home/mikalv/repos/git/cpp/bitcoin/src'
     7  CXX      addrman.o
     8  CXX      alert.o
     9In file included from /usr/include/boost/atomic.hpp:12:0,
    10                 from /usr/include/boost/thread/pthread/once_atomic.hpp:20,
    11                 from /usr/include/boost/thread/once.hpp:20,
    12                 from allocators.h:14,
    13                 from serialize.h:9,
    14                 from alert.h:9,
    15                 from alert.cpp:6:
    16/usr/include/boost/atomic/atomic.hpp:202:16: error: ‘uintptr_t’ was not declared in this scope
    17 typedef atomic<uintptr_t> atomic_uintptr_t;
    18                ^
    19/usr/include/boost/atomic/atomic.hpp:202:25: error: template argument 1 is invalid
    20 typedef atomic<uintptr_t> atomic_uintptr_t;
    21                         ^
    22/usr/include/boost/atomic/atomic.hpp:202:43: error: invalid type in declaration before ‘;’ token
    23 typedef atomic<uintptr_t> atomic_uintptr_t;
    24                                           ^
    25make[3]: *** [alert.o] Error 1
    26make[3]: Leaving directory `/home/mikalv/repos/git/cpp/bitcoin/src'
    27make[2]: *** [all-recursive] Error 1
    28make[2]: Leaving directory `/home/mikalv/repos/git/cpp/bitcoin/src'
    29make[1]: *** [all] Error 2
    30make[1]: Leaving directory `/home/mikalv/repos/git/cpp/bitcoin/src'
    31make: *** [all-recursive] Error 1
    
  6. laanwj commented at 8:23 am on March 19, 2014: member
    ACK
  7. laanwj referenced this in commit 0d8e80fe07 on Mar 19, 2014
  8. laanwj merged this on Mar 19, 2014
  9. laanwj closed this on Mar 19, 2014

  10. DrahtBot 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: 2024-11-17 21:12 UTC

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