HomePhabricator

Link with boost_chrono library on OSX
4332be71a2b1Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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).

Details

Provenance
Gavin Andresen <gavinandresen@gmail.com>Authored on May 9 2013, 13:56
deadalnixPushed on May 14 2017, 22:04
Parents
rABCe5ddaf5ec8ae: Merge pull request #2410 from gmaxwell/salvageharder
Branches
Unknown
Tags
Unknown

Event Timeline

Gavin Andresen <gavinandresen@gmail.com> committed rABC4332be71a2b1: Link with boost_chrono library on OSX (authored by Gavin Andresen <gavinandresen@gmail.com>).May 9 2013, 21:08