From: Beth Kon Subject: KVM userspace build fails with 2.6.28-rc7 kernel installed Date: Fri, 05 Dec 2008 11:14:18 -0500 Message-ID: <1228493658.25187.11.camel@beth-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: kvm@vger.kernel.org Return-path: Received: from e2.ny.us.ibm.com ([32.97.182.142]:47686 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980AbYLEQOO (ORCPT ); Fri, 5 Dec 2008 11:14:14 -0500 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e2.ny.us.ibm.com (8.13.1/8.13.1) with ESMTP id mB5GDdWM014936 for ; Fri, 5 Dec 2008 11:13:39 -0500 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mB5GEE7x182202 for ; Fri, 5 Dec 2008 11:14:14 -0500 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mB5HENOk015326 for ; Fri, 5 Dec 2008 12:14:23 -0500 Received: from [9.76.40.120] (sig-9-76-40-120.mts.ibm.com [9.76.40.120]) by d01av04.pok.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mB5HEM3Z015103 for ; Fri, 5 Dec 2008 12:14:22 -0500 Sender: kvm-owner@vger.kernel.org List-ID: I pulled the latest: kvm (commit 3c260758b41000986c3c064b17a9771286e98d1e) kvm-userspace (commit 6892f63c18a526c7b54bbde2f59287787eabe1f8) and built and installed the 2.6.28-rc7 x86_64 kernel from kvm pull, the= n tried to build kvm-userspace and the build failed: make -C /lib/modules/2.6.28-rc7/build M=3D`pwd` \ LINUXINCLUDE=3D"-I`pwd`/include -Iinclude \ \ -Iarch/x86/include -I`pwd`/include-compat \ -include include/linux/autoconf.h \ -include `pwd`/x86/external-module-compat.h " make[2]: Entering directory `/home/beth/git/build/kvm.kernel/kvm' LD /home/beth/git/test/kvm-userspace/kernel/x86/built-in.o CC [M] /home/beth/git/test/kvm-userspace/kernel/x86/svm.o In file included from /home/beth/git/test/kvm-userspace/kernel/include/asm/kvm_host.h:64= , from /home/beth/git/test/kvm-userspace/kernel/include/linux/kvm_host.h:= 67, from /home/beth/git/test/kvm-userspace/kernel/x86/svm.c:56: arch/x86/include/asm/mtrr.h:60: error: redefinition of =E2=80=98struct mtrr_var_range=E2=80=99 arch/x86/include/asm/mtrr.h:69: error: redefinition of typedef =E2=80=98mtrr_type=E2=80=99 /home/beth/git/test/kvm-userspace/kernel/x86/external-module-compat.h:3= 49: error: previous declaration of =E2=80=98mtrr_type=E2=80=99 was here arch/x86/include/asm/mtrr.h:74: error: redefinition of =E2=80=98struct mtrr_state_type=E2=80=99 make[4]: *** [/home/beth/git/test/kvm-userspace/kernel/x86/svm.o] Error 1 When I moved the machine back to 2.6.27.7 the build succeeded. --=20 Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: eak@us.ibm.com