Hi, Avi
The issue still exists on the latest kvm-userspace.git.
Did you push the change to master?

Thanks
Yunfeng

>-----Original Message-----
>From: Avi Kivity [mailto:[EMAIL PROTECTED]
>Sent: 2007年9月10日 15:24
>To: He, Qing
>Cc: Zhao, Yunfeng; kvm-devel@lists.sourceforge.net
>Subject: Re: [kvm-devel] build failure on master branch
>
>He, Qing wrote:
>>
>> You can try the attached patch to see if it works
>>
>
>Ouch. Applied, thanks.
>
>> ------------------------------------------------------------------------
>>
>> *From:* [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] *On Behalf Of *He, Qing
>> *Sent:* 2007年9月10日 10:55
>> *To:* Zhao, Yunfeng; kvm-devel@lists.sourceforge.net
>> *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:* [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] *On Behalf Of *Zhao,
>> Yunfeng
>> *Sent:* 2007年9月10日 10:41
>> *To:* kvm-devel@lists.sourceforge.net
>> *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/k
>vm-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-users
>pace/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@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
>
>
>--
>error compiling committee.c: too many arguments to function

-------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to