Link with boost_chrono library on OSX #2635

pull gavinandresen wants to merge 1 commits into bitcoin:master from gavinandresen:boost_chrono_osx changing 2 files +3 −0
  1. gavinandresen commented at 9:10 PM on May 9, 2013: contributor

    Compiling on my OSX 10.6 build machine, I get:

    Undefined symbols: "boost::chrono::steady_clock::now()", referenced from: boost::cv_status boost::condition_variable::wait_for<long long, boost::ratio<1ll, 1000000000ll> >(boost::unique_lockboost::mutex&, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > const&)in bitcoinrpc.o

    Linking against the boost_chrono fixes the issue.

    Windows builds already link against boost_chrono; Linux doesn't, but compiles (on pull-tester / gitian, at least).

  2. Link with boost_chrono library on OSX
    Compiling on my OSX 10.6 build machine, I get:
    
    Undefined symbols:
      "boost::chrono::steady_clock::now()", referenced from:
          boost::cv_status boost::condition_variable::wait_for<long long, boost::ratio<1ll, 1000000000ll> >(boost::unique_lock<boost::mutex>&, boost::chrono::duration<long long, boost::ratio<1ll, 1000000000ll> > const&)in bitcoinrpc.o
    
    Linking against the boost_chrono fixes the issue.
    
    Windows builds already link against boost_chrono; Linux doesn't, but compiles (on pull-tester / gitian, at least).
    4332be71a2
  3. BitcoinPullTester commented at 9:45 PM on May 9, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/4332be71a2b15315ddc299e2f3695054df30eb95 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.

  4. sipa commented at 11:09 PM on May 9, 2013: member

    Boost_chrono seems to exist as of Boost 1.47. I suppose that means we want to link against it anywhere we're on Boost 1.47 or higher.

  5. gavinandresen referenced this in commit dc4cf7c183 on May 10, 2013
  6. gavinandresen merged this on May 10, 2013
  7. gavinandresen closed this on May 10, 2013

  8. gavinandresen deleted the branch on Nov 4, 2013
  9. laudney referenced this in commit 5ba3cae7b4 on Mar 19, 2014
  10. DrahtBot locked this on Sep 8, 2021

Milestone
v0.8.2


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-02 15:16 UTC

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