From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] KVM: Fix compile error caused by no defined CONFIG_X86 Date: Tue, 27 Nov 2007 10:38:12 +0200 Message-ID: <474BD774.6090404@qumranet.com> References: <200711271443.18291.sheng.yang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Sheng Yang Return-path: In-Reply-To: <200711271443.18291.sheng.yang-ral2JQCrhuEAvxtiuMwx3w@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 Sheng Yang wrote: > From c050ed6225f314b86a0dabf11c7f677de097c39f Mon Sep 17 00:00:00 2001 > From: Sheng Yang > Date: Tue, 27 Nov 2007 14:41:06 +0800 > Subject: [PATCH] KVM: Fix compile error caused by no defined CONFIG_X86 > > For was included by qemu, which didn't define CONFIG_X86, > kvm compiles fail on x86 machines. > > Using __i386__ and __x86_64__ instead. > > For use as an exported header (installed in /usr/include) CONFIG_86 is okay, since we run unifdef. For use in development, I added -DCONFIG_X86 to the qemu flags for now. -- 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/