From mboxrd@z Thu Jan 1 00:00:00 1970 From: "SourceForge.net" Subject: [ kvm-Bugs-2800447 ] kvm fails to build against "out of tree" kernel builds+patch Date: Wed, 03 Jun 2009 12:19:12 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To: noreply@sourceforge.net Return-path: Received: from ch3.sourceforge.net ([216.34.181.60]:36341 "EHLO ch3.sourceforge.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754067AbZFCMTK (ORCPT ); Wed, 3 Jun 2009 08:19:10 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Bugs item #2800447, was opened at 2009-06-03 11:17 Message generated for change (Comment added) made by tuxjay You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2800447&group_id=180599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: James (tuxjay) Assigned to: Nobody/Anonymous (nobody) Summary: kvm fails to build against "out of tree" kernel builds+patch Initial Comment: Hi, The first problem is the ---------------------------------------------------------------------- >Comment By: James (tuxjay) Date: 2009-06-03 12:19 Message: I've prepared the patches and changelog entries, how do I get it signed off? I've been searching the website for the patch procedure and couldn't find it, sorry. Thank you ---------------------------------------------------------------------- Comment By: Jan Kiszka (kiszka) Date: 2009-06-03 11:41 Message: Please post your patches with individual changelogs and signed-off to kvm@vger.kernel.org. TiA. ---------------------------------------------------------------------- Comment By: James (tuxjay) Date: 2009-06-03 11:19 Message: Hi, The first problem is that kvm fails to detect the kernel source directory correctly.. In "configure" the line kernelsourcedir=${kerneldir%/*}/source Only works if ../source is the build parent (e.g. if the source dir is /lib/modules//source) The first patch fixes that. The next is a build problem: -Iarch/${ARCH_DIR}/include should be: -I$(KERNELSOURCEDIR)/${ARCH_DIR}/include In the case of out of place builds. The second patch fixes that. Cheers, James ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2800447&group_id=180599