From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: build failure on master branch Date: Mon, 10 Sep 2007 10:24:21 +0300 Message-ID: <46E4F125.5020609@qumranet.com> References: <37E52D09333DE2469A03574C88DBF40FA9C21A@pdsmsx414.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0859654131==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "He, Qing" Return-path: In-Reply-To: <37E52D09333DE2469A03574C88DBF40FA9C21A-wq7ZOvIWXbM/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org --===============0859654131== Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable He, Qing wrote: > > You can try the attached patch to see if it works > Ouch. Applied, thanks. > -----------------------------------------------------------------------= - > > *From:* kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] *On Behalf Of *He, Qin= g > *Sent:* 2007=C4=EA9=D4=C210=C8=D5 10:55 > *To:* Zhao, Yunfeng; kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > *Subject:* Re: [kvm-devel] build failure on master branch > > Well, it seems hrtimer-compat patch breaks the build. > > HRTIMER_MOD_ABS is declared in enum, so we can=A1=AFt say: > > #ifndef HRTIMER_MOD_ABS > > #define HRTIMER_MOD_ABS HRTIMER_ABS > > #endif > > maybe something like > > #if LINUX_VERSION_CODE >=3D KERNEL_VERSION(2.6.?) > > should be OK. > > -----------------------------------------------------------------------= - > > *From:* kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > [mailto:kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] *On Behalf Of *Zhao, > Yunfeng > *Sent:* 2007=C4=EA9=D4=C210=C8=D5 10:41 > *To:* kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > *Subject:* [kvm-devel] build failure on master branch > > I meet the following error when I build latest kvm master against > kernel 2.6.22 as external modules. > > And it=A1=AFs ok if I build it against kvm kernel either build-in or as > external modules. > > /kvm-userspace/BUILD/kernel/lapic.c: In function 'start_apic_timer': > > /kvm-userspace/BUILD/kernel/lapic.c:609: error: 'HRTIMER_ABS' > undeclared (first use in this function) > > /kvm-userspace/BUILD/kernel/lapic.c:609: error: (Each undeclared > identifier is reported only once > > /kvm-userspace/BUILD/kernel/lapic.c:609: error: for each function it > appears in.) > > /kvm-userspace/BUILD/kernel/lapic.c: In function 'kvm_create_lapic': > > /kvm-userspace/BUILD/kernel/lapic.c:953: error: 'HRTIMER_ABS' > undeclared (first use in this function) > > /kvm-userspace/BUILD/kernel/lapic.c: In function 'kvm_migrate_apic_time= r': > > /kvm-userspace/BUILD/kernel/lapic.c:1043: error: 'HRTIMER_ABS' > undeclared (first use in this function) > > /kvm-userspace/BUILD/kernel/lapic.o] Error 1 > > make[3]: *** Waiting for unfinished jobs.... > > make[2]: *** > [_module_/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-200709100901146= 40/kvm-userspace/BUILD/kernel] > Error 2 > > make[2]: Leaving directory > `/usr/src/redhat/BUILD/kernel-2.6.22rc4g85f6038f' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > `/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20070910090114640/kvm-u= serspace/BUILD/kernel' > > error: Bad exit status from /var/tmp/rpm-tmp.70011 (%build) > > thanks > > Yunfeng > > -----------------------------------------------------------------------= - > > -----------------------------------------------------------------------= -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > -----------------------------------------------------------------------= - > > _______________________________________________ > kvm-devel mailing list > kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/kvm-devel > =20 --=20 error compiling committee.c: too many arguments to function --===============0859654131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0859654131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0859654131==--