From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Date: Sun, 19 Oct 2008 15:41:42 +0000 Subject: Re: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building Message-Id: <48FB5536.5050106@redhat.com> List-Id: References: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org Zhang, Xiantao wrote: > From 7bba897e8f00c0d2e850e7b8f47cc491cb1f5dee Mon Sep 17 00:00:00 2001 > From: Xiantao Zhang > Date: Fri, 17 Oct 2008 09:07:01 +0800 > Subject: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building > userspace. > > Currently, make sync will use unifdef to hack some header files, but > it maybe not work on some systems, caused by lack of unifdef or unifdef > can't handle some macro combinations(Such as ||, && operations). > Developers can install unifdef (and gcc, etc.) I see that recent unifdefs can handle ||, but will require all symbols to be defined or undefined (with -D or -U). -- error compiling committee.c: too many arguments to function From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building userspace. Date: Sun, 19 Oct 2008 17:41:42 +0200 Message-ID: <48FB5536.5050106@redhat.com> References: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm-ia64@vger.kernel.org, kvm@vger.kernel.org To: "Zhang, Xiantao" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:52823 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751441AbYJSPlq (ORCPT ); Sun, 19 Oct 2008 11:41:46 -0400 In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDC01B48426@pdsmsx415.ccr.corp.intel.com> Sender: kvm-owner@vger.kernel.org List-ID: Zhang, Xiantao wrote: > From 7bba897e8f00c0d2e850e7b8f47cc491cb1f5dee Mon Sep 17 00:00:00 2001 > From: Xiantao Zhang > Date: Fri, 17 Oct 2008 09:07:01 +0800 > Subject: [PATCH] KVM: Qemu: Define the macro CONFIG_$ARCH for building > userspace. > > Currently, make sync will use unifdef to hack some header files, but > it maybe not work on some systems, caused by lack of unifdef or unifdef > can't handle some macro combinations(Such as ||, && operations). > Developers can install unifdef (and gcc, etc.) I see that recent unifdefs can handle ||, but will require all symbols to be defined or undefined (with -D or -U). -- error compiling committee.c: too many arguments to function