public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "He, Qing" <qing.he-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: build failure on master branch
Date: Mon, 10 Sep 2007 10:24:21 +0300	[thread overview]
Message-ID: <46E4F125.5020609@qumranet.com> (raw)
In-Reply-To: <37E52D09333DE2469A03574C88DBF40FA9C21A-wq7ZOvIWXbM/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3506 bytes --]

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, Qing
> *Sent:* 2007年9月10日 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’t say:
>
> #ifndef HRTIMER_MOD_ABS
>
> #define HRTIMER_MOD_ABS HRTIMER_ABS
>
> #endif
>
> maybe something like
>
> #if LINUX_VERSION_CODE >= 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年9月10日 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’s 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_timer':
>
> /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-20070910090114640/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-userspace/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
>   


-- 
error compiling committee.c: too many arguments to function



[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-09-10  7:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10  2:41 build failure on master branch Zhao, Yunfeng
     [not found] ` <10EA09EFD8728347A513008B6B0DA77A020B95D9-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-10  2:54   ` He, Qing
     [not found]     ` <37E52D09333DE2469A03574C88DBF40FA9C218-wq7ZOvIWXbM/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-10  3:35       ` He, Qing
     [not found]         ` <37E52D09333DE2469A03574C88DBF40FA9C21A-wq7ZOvIWXbM/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-10  3:41           ` Zhao, Yunfeng
2007-09-10  7:24           ` Avi Kivity [this message]
     [not found]             ` <46E4F125.5020609-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-09-10 13:52               ` Zhao, Yunfeng
     [not found]                 ` <10EA09EFD8728347A513008B6B0DA77AA3F073-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-09-10 13:55                   ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46E4F125.5020609@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=qing.he-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox