From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Fix build when objdir != srcdir (v2) Date: Thu, 30 Apr 2009 18:24:32 +0300 Message-ID: <49F9C2B0.7010200@redhat.com> References: <1241104005-19117-1-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Anthony Liguori Return-path: Received: from mx2.redhat.com ([66.187.237.31]:46238 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761734AbZD3PY5 (ORCPT ); Thu, 30 Apr 2009 11:24:57 -0400 In-Reply-To: <1241104005-19117-1-git-send-email-aliguori@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Anthony Liguori wrote: > This requires adding the necessary bits to configure to create the directories > and symlinks for libkvm. It also requires sticking KVM_CFLAGS in > config-host.mak to ensure that it gets the right set of includes for the > kernel headers. > > v1 => v2 > Fix build when objdir == srcdir > > Is this the new patch? I still get [avi@cleopatra qemu-kvm (master)]$ make make[1]: Entering directory `/home/avi/qemu-kvm/x86_64-softmmu' make -C ../kvm/libkvm KVM_CFLAGS="-I/home/avi/qemu-kvm/kvm/kernel/include -I/home/avi/qemu-kvm/kvm/kernel/arch/x86/include" make[2]: Entering directory `/home/avi/qemu-kvm/kvm/libkvm' Makefile:2: /kvm/libkvm/config-x86_64.mak: No such file or directory make[2]: *** No rule to make target `/kvm/libkvm/config-x86_64.mak'. Stop. make[2]: Leaving directory `/home/avi/qemu-kvm/kvm/libkvm' make[1]: *** [libkvm.a] Error 2 make[1]: Leaving directory `/home/avi/qemu-kvm/x86_64-softmmu' make: *** [subdir-x86_64-softmmu] Error 2 -- error compiling committee.c: too many arguments to function