Date: Tue, 7 May 2013 18:01:28 +0400 From: Sergey Kandaurov <pluknet@gmail.com> To: "Michael W. Lucas" <mwlucas@michaelwlucas.com> Cc: current@freebsd.org Subject: Re: problem building -current Message-ID: <CAE-mSO%2Be-z6L6iLHHKenR9pL3dBR7T4=jJ2JUcu3gPqqsSAJRQ@mail.gmail.com> In-Reply-To: <20130507132122.GA83633@bewilderbeast.blackhelicopters.org> References: <20130507132122.GA83633@bewilderbeast.blackhelicopters.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7 May 2013 17:21, Michael W. Lucas <mwlucas@michaelwlucas.com> wrote: > > Hi, > > I'm running an older -current: > > bewilderbeast/usr/src;uname -a > FreeBSD bewilderbeast.blackhelicopters.org 10.0-CURRENT FreeBSD 10.0-CURR= ENT #15: Thu Nov 8 14:02:45 EST 2012 mwlucas@bewilderbeast.blackhelico= pters.org:/usr/obj/usr/src/sys/G > > Trying to build new, and get: > > ... > c++ -O2 -pipe -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/= include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/cla= ng/include -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Su= pport -I. -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../l= ib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D_= _STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=3D\= "x86_64-unknown-freebsd10.0\" -DLLVM_HOSTTRIPLE=3D\"x86_64-unknown-freebsd1= 0.0\" -DDEFAULT_SYSROOT=3D\"\" -I/usr/obj/usr/src/tmp/legacy/usr/include -f= no-exceptions -fno-rtti -c /usr/src/lib/clang/libllvmsupport/../../../contr= ib/llvm/lib/Support/Process.cpp -o Process.o > In file included from /usr/src/lib/clang/libllvmsupport/../../../contrib/= llvm/lib/Support/Process.cpp:85: > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Unix/= Process.inc: In member function 'virtual llvm::sys::TimeValue llvm::sys::se= lf_process::get_user_time() const': > /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Unix/= Process.inc:75: error: 'CLOCK_PROCESS_CPUTIME_ID' was not declared in this = scope > *** [Process.o] Error code 1 You can try to install this change into your /usr/include/time.h and try ag= ain. http://svnweb.freebsd.org/base?view=3Drevision&revision=3D245428 --- head/include/time.h 2013/01/14 17:41:04 245427 +++ head/include/time.h 2013/01/14 18:01:19 245428 @@ -112,6 +112,7 @@ #define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ #define CLOCK_SECOND 13 /* FreeBSD-specific. */ #define CLOCK_THREAD_CPUTIME_ID 14 +#define CLOCK_PROCESS_CPUTIME_ID 15 #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >=3D 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >=3D 200112 --=20 wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSO%2Be-z6L6iLHHKenR9pL3dBR7T4=jJ2JUcu3gPqqsSAJRQ>