Re: r250609: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 13 May 2013 21:31:48 +0200
On May 13, 2013, at 21:26, Anton Shterenlikht <mexas_at_bris.ac.uk> wrote:
> # 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)
>                      ^

See this thread from last week:
http://lists.freebsd.org/pipermail/freebsd-current/2013-May/041593.html
Received on Mon May 13 2013 - 17:31:55 UTC

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