From: Christoph Hellwig Subject: Re: kvm-userspace fails to compile Date: Tue, 15 Jan 2008 15:49:52 +0000 Message-ID: <20080115154952.GA15974@infradead.org> References: <1199711682.23380.7.camel@frecb07144> <1199712415.4234.2.camel@localhost.localdomain> <1199712901.23380.12.camel@frecb07144> <47822FBA.8090004@qumranet.com> <1199715950.23380.18.camel@frecb07144> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , Avi Kivity To: Laurent Vivier Return-path: Content-Disposition: inline In-Reply-To: <1199715950.23380.18.camel@frecb07144> 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 On Mon, Jan 07, 2008 at 03:25:50PM +0100, Laurent Vivier wrote: > > Perhaps a ./configure is needed. > > > > What's your HEAD? I have a5b3d2c9b4d4ca3e02f294d14c7df016e070bda7, > > which compiles fine. > > OK, I found where is the problem: my KERNELDIR is not the good one. > > Thank you for the answers. Looks like you were hitting the same problem that I did. So what's the correct KERNELDIR? Care to post your ./configure line? I have to add that having compile of userspace code depend on a kernel dir is completely broken. Any chance the kvm maintainers can fix userspace code to compile standalone and not depend on a kernel? Best would be to have userspace and the standalone kernel module in entirely different repositories. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/