Re: [kvm-devel] build failure on master branch

2007-09-10 Thread Avi Kivity
Zhao, Yunfeng wrote: > Hi, Avi > The issue still exists on the latest kvm-userspace.git. > Did you push the change to master? > Pushed now, thanks for the remainder. -- error compiling committee.c: too many arguments to function --

Re: [kvm-devel] build failure on master branch

2007-09-10 Thread Zhao, Yunfeng
om:* [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 br

Re: [kvm-devel] build failure on master branch

2007-09-10 Thread Avi Kivity
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 &g

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread Zhao, Yunfeng
The issue is fixed after applied the patch. Thanks a lot! Yunfeng From: He, Qing Sent: 2007年9月10日 11:35 To: He, Qing; Zhao, Yunfeng; kvm-devel@lists.sourceforge.net Subject: RE: [kvm-devel] build failure on master branch You can try the attached patch

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread He, Qing
You can try the attached patch to see if it works 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

Re: [kvm-devel] build failure on master branch

2007-09-09 Thread He, Qing
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