From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Mueller Subject: building kvm-kmod 2.6.39 on debian squeeze fails Date: Tue, 5 Jul 2011 06:19:24 +0000 (UTC) Message-ID: 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 lo.gmane.org ([80.91.229.12]:45076 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753580Ab1GEGTf (ORCPT ); Tue, 5 Jul 2011 02:19:35 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qdyys-0000u4-NW for kvm@vger.kernel.org; Tue, 05 Jul 2011 08:19:34 +0200 Received: from 217-162-137-45.dynamic.hispeed.ch ([217.162.137.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 08:19:34 +0200 Received: from thomas by 217-162-137-45.dynamic.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jul 2011 08:19:34 +0200 Sender: kvm-owner@vger.kernel.org List-ID: hi kvm-kmod-2.6.39 fails to build on debian squeeze (debian kernel 2.6.32)= =2E error messages: In file included from /usr/src/kvm-kmod-2.6.39/x86/x86.c:93: /lib/modules/2.6.32-5-amd64/source/arch/x86/include/asm/pvclock.h:19:=20 error: redefinition of =E2=80=98pvclock_scale_delta=E2=80=99 /usr/src/kvm-kmod-2.6.39/x86/external-module-compat.h:1074:=20 error: previous definition of =E2=80=98pvclock_scale_delta=E2=80=99 wa= s here I've changed the ifdef from 2,6,37 to 2,6,32 external-module-compat.h:1= 074=20 then it successfully built. Is this safe?=20 - Thomas