Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 20:26:07 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        freebsd-current@freebsd.org
Subject:   r250609: error: use of undeclared identifier 'CLOCK_PROCESS_CPUTIME_ID'
Message-ID:  <201305131926.r4DJQ74K021380@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help

# 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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305131926.r4DJQ74K021380>