r250609: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'

From: Anton Shterenlikht <mexas_at_bris.ac.uk>
Date: Mon, 13 May 2013 20:26:07 +0100 (BST)
# uname -a
FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #29 r2463
70M: Tue Feb 19 09:04:48 GMT 2013     root_at_mech-aslap239.men.bris.ac.uk:/usr/obj
/usr/src/sys/BUZI  amd64

make buildworld:

c++  -O2 -pipe -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include
 -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -
I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/usr/
src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLV
M_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-
strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd10.0\" -DLL
VM_HOSTTRIPLE=\"x86_64-unknown-freebsd10.0\" -DDEFAULT_SYSROOT=\"\" -I/usr/obj/u
sr/src/tmp/legacy/usr/include -fno-exceptions -fno-rtti -c /usr/src/lib/clang/li
bllvmsupport/../../../contrib/llvm/lib/Support/Process.cpp -o Process.o
In file included from /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/li
b/Support/Process.cpp:85:
/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Unix/Process
.inc:75:23: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'
  if (::clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &TS) == 0)
                      ^
1 error generated.
*** [Process.o] Error code 1


Thanks

Anton
Received on Mon May 13 2013 - 17:26:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC