From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: building kvm-userspace with separate kernel object directory? Date: Mon, 07 Jan 2008 15:12:57 -0600 Message-ID: <1199740378.5741.8.camel@basalt> Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel Return-path: 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 I always build my kernels with the O= option, since it allows me to build multiple architectures from the same sources. However, it looks like the kvm-userspace configure script can't handle this. It says --kerneldir should be the kernel *build* directory, but when I do that I get libkvm.c:21:23: warning: linux/kvm.h: No such file or directory because the build directory does not contain an include/linux symlink. When I specify the kernel *source* directory for --kerneldir, I get /home/hollisb/source/kvmppc.hg/include/linux/kvm.h:12:21: warning: asm/kvm.h: No such file or directory because the source directory doesn't contain an include/asm symlink. How can this work? -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace