[Boost-bugs] [Boost C++ Libraries] #6918: Boost Chrono compilation failure on HP uX due to undefined pthread_getcpuclockid

Subject: [Boost-bugs] [Boost C++ Libraries] #6918: Boost Chrono compilation failure on HP uX due to undefined pthread_getcpuclockid
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-18 14:23:42


#6918: Boost Chrono compilation failure on HP uX due to undefined
pthread_getcpuclockid
---------------------------------------------------------+------------------
 Reporter: Claudio Bantaloukas <rockdreamer@…> | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: chrono
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
---------------------------------------------------------+------------------
 I'm getting the following

 {{{
 acc.compile.c++ bin.v2/libs/chrono/build/acc/release/address-model-64
 /link-static/threading-multi/thread_clock.o
 "./boost/chrono/detail/inlined/posix/thread_clock.hpp", line 34: error
 #2020: identifier "pthread_getcpuclockid" is undefined
           pthread_getcpuclockid(pth, &clock_id);
           ^

 "./boost/chrono/detail/inlined/posix/thread_clock.hpp", line 60: error
 #2020: identifier "pthread_getcpuclockid" is undefined
           pthread_getcpuclockid(pth, &clock_id);
           ^

 2 errors detected in the compilation of
 "libs/chrono/src/thread_clock.cpp".

     aCC -AA -c -DBOOST_ALL_NO_LIB=1 -DBOOST_All_STATIC_LINK=1
 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DNDEBUG -O3
 +DD64 -mt -I"." -I"/home/ebaxct02/hudson/workspace/tff-sdk-trunk-hpux-
 64bit/build/src/zlib" -I"/home/ebaxct02/hudson/workspace/tff-sdk-trunk-
 hpux-64bit/src/bzip2" -I"/home/ebaxct02/hudson/workspace/tff-sdk-trunk-
 hpux-64bit/src/zlib" -o "bin.v2/libs/chrono/build/acc/release/address-
 model-64/link-static/threading-multi/thread_clock.o"
 "libs/chrono/src/thread_clock.cpp"

 ...failed acc.compile.c++ bin.v2/libs/chrono/build/acc/release/address-
 model-64/link-static/threading-multi/thread_clock.o...
 }}}

 Compiler version is
 aCC: HP C/aC++ B3910B A.06.20 [May 13 2008]

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6918>
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:09 UTC