Boost C++ Libraries: Ticket #5899: Boost Chrono cannot find references. https://svn.boost.org/trac10/ticket/5899 <p> I compiled 1.47.0 today as per the documentation and this is what I get when I am trying to compile the chrono example run_timer_example.cpp: </p> <p> With icc: </p> <pre class="wiki">$ icc run_timer_example.cpp -I/home/yann/src/boost_1_47_0 -L/home/yann/src/boost_1_47_0/stage/lib -lboost_system -lboost_chrono /tmp/icciMiW90.o: In function `main': run_timer_example.cpp:(.text+0x33): undefined reference to `boost::chrono::run_timer::run_timer(boost::system::error_code&amp;)' run_timer_example.cpp:(.text+0xa5): undefined reference to `boost::chrono::run_timer::report(boost::system::error_code&amp;)' </pre><p> with gcc: </p> <pre class="wiki">$ gcc run_timer_example.cpp -I/home/yann/src/boost_1_47_0 -L/home/yann/src/boost_1_47_0/stage/lib -lboost_system -lboost_chrono /tmp/ccW6yHqX.o: In function `main': run_timer_example.cpp:(.text+0x16): undefined reference to `boost::chrono::run_timer::run_timer(boost::system::error_code&amp;)' /tmp/ccW6yHqX.o: In function `boost::chrono::run_timer::~run_timer()': run_timer_example.cpp:(.text._ZN5boost6chrono9run_timerD2Ev[_ZN5boost6chrono9run_timerD5Ev]+0x3b): undefined reference to `boost::chrono::run_timer::report(boost::system::error_code&amp;)' collect2: ld returned 1 exit status </pre><p> I do have the library here: </p> <pre class="wiki">$ ls -l *chrono* 116K -rw-r--r-- 1 yann yann 116K Sep 14 11:30 libboost_chrono.a 0 lrwxrwxrwx 1 yann yann 25 Sep 14 11:30 libboost_chrono.so -&gt; libboost_chrono.so.1.47.0* 44K -rwxr-xr-x 1 yann yann 41K Sep 14 11:30 libboost_chrono.so.1.47.0* </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5899 Trac 1.4.3 Steven Watanabe Sun, 16 Oct 2011 17:54:20 GMT component changed; owner set https://svn.boost.org/trac10/ticket/5899#comment:1 https://svn.boost.org/trac10/ticket/5899#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">viboes</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">chrono</span> </li> </ul> Ticket viboes Thu, 03 Nov 2011 23:22:23 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/5899#comment:2 https://svn.boost.org/trac10/ticket/5899#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Hi, </p> <p> Sorry I didn't see your ticket.. </p> <p> This example is from the legacy version previous to the review (from Beman). I have removed them from the release, see <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5977" title="#5977: Tasks: Remove old files from Beman's version (closed: fixed)">#5977</a>. </p> <p> Beman has added something similar in Boost.Timer. </p> Ticket viboes Thu, 10 Nov 2011 22:02:59 GMT milestone deleted https://svn.boost.org/trac10/ticket/5899#comment:3 https://svn.boost.org/trac10/ticket/5899#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-deleted">To Be Determined</span> </li> </ul> Ticket