From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-15?Q?Ren=E9?= Pfeiffer Subject: kvm-86 fails to compile with "'IOMMU_CACHE' undeclared" Date: Wed, 20 May 2009 19:48:59 +0200 Message-ID: <20090520174858.GA16793@nightfall.luchs.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" To: KVM list Return-path: Received: from gilean.luchs.at ([62.116.64.105]:44592 "EHLO gilean.luchs.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754445AbZETSTf (ORCPT ); Wed, 20 May 2009 14:19:35 -0400 Received: from localhost (localhost [127.0.0.1]) by gilean.luchs.at (Postfix) with ESMTP id EACFD1157 for ; Wed, 20 May 2009 19:50:17 +0200 (CEST) Received: from gilean.luchs.at ([127.0.0.1]) by localhost (gilean.luchs.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91gHPhSHxCnI for ; Wed, 20 May 2009 19:50:17 +0200 (CEST) Received: from nightfall.luchs.at (nightfall.luchs.at [62.116.64.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "nightfall.luchs.at", Issuer "luchs.at CA" (verified OK)) by gilean.luchs.at (Postfix) with ESMTP id 1E2C4F3 for ; Wed, 20 May 2009 19:50:16 +0200 (CEST) Received: from nightfall.luchs.at (localhost [127.0.0.1]) by nightfall.luchs.at (Postfix) with ESMTP id CB31813009A for ; Wed, 20 May 2009 19:49:02 +0200 (CEST) Received: from nightfall.luchs.at (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nightfall.luchs.at (Postfix) with ESMTPS id B4E90130083 for ; Wed, 20 May 2009 19:49:02 +0200 (CEST) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: --liOOAslEiF7prFVr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I just tried to compile kvm-86 on two test machines and I get the following error: [...] CC [M] /usr/src/build/kvm-86/kvm/kernel/x86/iommu.o /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c: In function =E2=80=98kvm_iomm= u_map_pages=E2=80=99: /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: =E2=80=98IOMMU_CACH= E=E2=80=99 undeclared (first use in this function) /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: (Each undeclared id= entifier is reported only once /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:90: error: for each function i= t appears in.) /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c: In function =E2=80=98kvm_assi= gn_device=E2=80=99: /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:155: error: implicit declarati= on of function =E2=80=98iommu_domain_has_cap=E2=80=99 /usr/src/build/kvm-86/kvm/kernel/x86/iommu.c:156: error: =E2=80=98IOMMU_CAP= _CACHE_COHERENCY=E2=80=99 undeclared (first use in this function) make[4]: *** [/usr/src/build/kvm-86/kvm/kernel/x86/iommu.o] Error 1 make[3]: *** [/usr/src/build/kvm-86/kvm/kernel/x86] Error 2 make[2]: *** [_module_/usr/src/build/kvm-86/kvm/kernel] Error 2 make[1]: *** [all] Error 2 make: *** [kvm-kmod] Error 2 Both machines run Debian Lenny with a custom kernel (2.6.29.1 and 2.6.29.3). One machine is Intel-based (Core2Duo), one is AMD-based. Both compiled earlier versions of kvm just fine. configure was run without options. Best, Ren=C3=A9. --=20 )\._.,--....,'``. fL Let GNU/Linux work for you while you take a nap. /, _.. \ _\ (`._ ,. R. Pfeiffer + http://web.luchs= =2Eat/ `._.-(,_..'--(,_..'`-.;.' - System administration + Consulting + Teaching - Got mail delivery problems? http://web.luchs.at/information/blockedmail.php --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFKFEKKcjShfQp7h4YRAqOrAKCGBkW/CF9//G0RGczEtXHbtrdTOgCgmIrC ClWP+j9ggzIj3GIm+ieko2M= =6sw2 -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--