From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Martin Kaufmann
<martin.kaufmann-/hHgOnHb0V0qcZcGjlUOXw@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm-16 fails to compile on Kubuntu Edgy
Date: Sun, 18 Mar 2007 14:05:45 +0200 [thread overview]
Message-ID: <45FD2B19.5040100@qumranet.com> (raw)
In-Reply-To: <45FC8616.20108-/hHgOnHb0V0qcZcGjlUOXw@public.gmane.org>
Martin Kaufmann wrote:
> Hi!
>
> I tried to compile kvm-16 on Kubuntu Edgy - so far unsuccessfully. The
> configure succeeds but the make process fails with the following output:
>
>
> martin@Solo:~/Download/kvm-16$ make
> make -C kernel
> make[1]: Entering directory `/home/martin/Download/kvm-16/kernel'
> make -C /lib/modules/2.6.17-11-generic/build M=`pwd` "$@"
> make[2]: Entering directory `/usr/src/linux-headers-2.6.17-11-generic'
> CC [M] /home/martin/Download/kvm-16/kernel/kvm_main.o
> /home/martin/Download/kvm-16/kernel/kvm_main.c: In function ‘kvmfs_get_sb’:
> /home/martin/Download/kvm-16/kernel/kvm_main.c:2438: error: too many
> arguments to function ‘get_sb_pseudo’
> /home/martin/Download/kvm-16/kernel/kvm_main.c:2438: warning: return
> makes integer from pointer without a cast
> /home/martin/Download/kvm-16/kernel/kvm_main.c: At top level:
> /home/martin/Download/kvm-16/kernel/kvm_main.c:2445: warning:
> initialization from incompatible pointer type
> make[3]: *** [/home/martin/Download/kvm-16/kernel/kvm_main.o] Error 1
> make[2]: *** [_module_/home/martin/Download/kvm-16/kernel] Error 2
> make[2]: Leaving directory `/usr/src/linux-headers-2.6.17-11-generic'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/martin/Download/kvm-16/kernel'
> make: *** [kernel] Error 2
>
> Has anyone seen this error before? And does anyone know how to get it
> working?
>
> Thanks for your help!
>
A couple of lines above the first error reported there is a
LINUX_VERSION_CODE check. There is a similar one surrounding
kvmfs_get_sb() in external-module-compat.h. Can you change both from 16
to 17 and report?
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-18 12:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-18 0:21 kvm-16 fails to compile on Kubuntu Edgy Martin Kaufmann
[not found] ` <45FC8616.20108-/hHgOnHb0V0qcZcGjlUOXw@public.gmane.org>
2007-03-18 2:34 ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <2e59e6970703171934q5438a8d1r7e1df582e37e6794-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-18 18:22 ` Martin Kaufmann
2007-03-18 18:29 ` Martin Kaufmann
[not found] ` <45FD8509.1080700-/hHgOnHb0V0qcZcGjlUOXw@public.gmane.org>
2007-03-18 19:44 ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <2e59e6970703181244x6a19c671k28a9958b3a073922-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-03-18 19:44 ` richardvoigt-Re5JQEeQqe8AvxtiuMwx3w
2007-03-18 12:05 ` Avi Kivity [this message]
[not found] ` <45FD2B19.5040100-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-18 18:29 ` Martin Kaufmann
2007-03-18 20:56 ` Anthony Liguori
[not found] ` <45FDA76C.6020604-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-03-19 6:43 ` Avi Kivity
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=45FD2B19.5040100@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=martin.kaufmann-/hHgOnHb0V0qcZcGjlUOXw@public.gmane.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.