r250609: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'
Dimitry Andric
dim at FreeBSD.org
Mon May 13 19:31:55 UTC 2013
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
More information about the freebsd-current
mailing list