All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Bike & Snow <bikeandsnow@googlemail.com>
Cc: kvm@vger.kernel.org
Subject: Re: KVM won't compile on 2.6.29
Date: Thu, 11 Jun 2009 11:29:43 +0300	[thread overview]
Message-ID: <4A30C077.8050303@redhat.com> (raw)
In-Reply-To: <a0c3604a0906091101n721fc66xa20047668ca0b38d@mail.gmail.com>

Bike & Snow wrote:
> Hello
>
> I've compiled and installed KVM on kernel 2.6.28-11. It worked perfectly.
> I'm using Ubuntu 9.04.
>
> I'm now trying to compile on kernel 2.6.29-4.
>
> It fails on compiling the kernel module with this error message:
>
> /usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_iommu_map_pagesâ:
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: âIOMMU_CACHEâ
> undeclared (first use in this function)
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: (Each undeclared
> identifier is reported only once
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:90: error: for each function it
> appears in.)
> /usr/src/kvm-kmod-devel-86/x86/iommu.c: In function âkvm_assign_deviceâ:
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:155: error: implicit
> declaration of function âiommu_domain_has_capâ
> /usr/src/kvm-kmod-devel-86/x86/iommu.c:156: error:
> âIOMMU_CAP_CACHE_COHERENCYâ undeclared (first use in this function)
> make[3]: *** [/usr/src/kvm-kmod-devel-86/x86/iommu.o] Error 1
> make[2]: *** [/usr/src/kvm-kmod-devel-86/x86] Error 2
> make[1]: *** [_module_/usr/src/kvm-kmod-devel-86] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-02062904-generic'
> make: *** [all] Error 2
>
>
> This happens if I compile with the kvm-86.tar.gz package or the
> smaller module only kvm-kmod-devel-86.tar.gz package.
>
> I have kernel headers installed. I've also installed the source for
> 2.6.29-4 (not necessary but tried it anyway).
>
> Any ideas?
>
>   

This is already fixed in git.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-06-11  8:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 18:01 KVM won't compile on 2.6.29 Bike & Snow
2009-06-11  8:29 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A30C077.8050303@redhat.com \
    --to=avi@redhat.com \
    --cc=bikeandsnow@googlemail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.