r250609: error: use of undeclared identifier

看板FB_current作者時間12年前 (2013/05/14 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
# 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 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HaJ-o6V (FB_current)
文章代碼(AID): #1HaJ-o6V (FB_current)