Re: [Boost-bugs] [Boost C++ Libraries] #8448: thread library needs linking against -lrt

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8448: thread library needs linking against -lrt
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-17 05:29:50


#8448: thread library needs linking against -lrt
-------------------------------------------------------+--------------------
  Reporter: Maciej SokoÅ‚owski <matemaciek@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: chrono
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by Maciej Sokołowski <matemaciek@…>):

 Exact output:
 {{{
 /[...]/boost/1_53_0/linux64.gcc-4.7/libboost_thread.a(thread.o): In
 function `boost::this_thread::hiden::sleep_for(timespec const&)':
 thread.cpp:(.text+0xc48): undefined reference to `clock_gettime'
 /[...]/boost/1_53_0/linux64.gcc-4.7/libboost_thread.a(thread.o): In
 function `boost::this_thread::hiden::sleep_until(timespec const&)':
 thread.cpp:(.text+0x14b6): undefined reference to `clock_gettime'
 thread.cpp:(.text+0x1525): undefined reference to `clock_gettime'
 thread.cpp:(.text+0x1594): undefined reference to `clock_gettime'
 thread.cpp:(.text+0x1603): undefined reference to `clock_gettime'
 /home/msokolowski/gg_repos/phoenix-common/ggclient-
 3rdparty/boost/1_53_0/linux64.gcc-4.7/libboost_thread.a(thread.o):thread.cpp:(.text+0x1672):
 more undefined references to `clock_gettime' follow
 collect2: error: ld returned 1 exit status
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8448#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC