* Impossible to compile kvm-88 on Redhat 5.4
@ 2009-10-29 16:34 Arnaud Maillet
2009-10-29 17:09 ` Jan Kiszka
0 siblings, 1 reply; 4+ messages in thread
From: Arnaud Maillet @ 2009-10-29 16:34 UTC (permalink / raw)
To: kvm
Hello, when I try to compile kvm-88 on Redhat 5.4 I have this error :
CC [M] /root/kvm-88/kvm/kernel/x86/svm.o
In file included from <ligne de commande>:1:
/root/kvm-88/kvm/kernel/x86/external-module-compat.h:12: erreur:
redefinition of typedef â
include/asm/types.h:50: erreur: previous declaration of â was here
In file included from /root/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
from <ligne de commande>:1:
/root/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:609:
erreur: static declaration of â follows non-static declaration
include/linux/mm.h:873: erreur: previous declaration of â was here
make[4]: *** [/root/kvm-88/kvm/kernel/x86/svm.o] Erreur 1
make[3]: *** [/root/kvm-88/kvm/kernel/x86] Erreur 2
make[2]: *** [_module_/root/kvm-88/kvm/kernel] Erreur 2
make[1]: *** [all] Erreur 2
make: *** [kvm-kmod] Erreur 2
Maybe I forgot a dep ?
there is the result of ./configure :
[root@junon kvm-88]# ./configure --prefix=/usr/local/kvm
Error: libpci check failed
Disable KVM Device Assignment capability.
Install prefix /usr/local/kvm
BIOS directory /usr/local/kvm/share/qemu
binary directory /usr/local/kvm/bin
Manual directory /usr/local/kvm/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /root/kvm-88
C compiler gcc
Host C compiler gcc
ARCH_CFLAGS -m64
make make
install install
host CPU x86_64
host big endian no
target list x86_64-softmmu
tcg debug enabled no
gprof enabled no
sparse enabled no
strip binaries yes
profiler no
static build no
-Werror enabled no
SDL support no
curses support yes
curl support no
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support no
kqemu support no
xen support no
CPU emulation yes
brlapi support no
Documentation no
NPTL support yes
vde support no
AIO support yes
IO thread no
Install blobs yes
KVM support yes
KVM trace support no
fdt support no
preadv support no
Thanks in advance!
As regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Impossible to compile kvm-88 on Redhat 5.4
2009-10-29 16:34 Impossible to compile kvm-88 on Redhat 5.4 Arnaud Maillet
@ 2009-10-29 17:09 ` Jan Kiszka
[not found] ` <23e336b00910291222h616ae1c7ice55087b1569d648@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2009-10-29 17:09 UTC (permalink / raw)
To: Arnaud Maillet; +Cc: kvm
Arnaud Maillet wrote:
> Hello, when I try to compile kvm-88 on Redhat 5.4 I have this error :
>
> CC [M] /root/kvm-88/kvm/kernel/x86/svm.o
> In file included from <ligne de commande>:1:
> /root/kvm-88/kvm/kernel/x86/external-module-compat.h:12: erreur:
> redefinition of typedef â
> include/asm/types.h:50: erreur: previous declaration of â was here
> In file included from /root/kvm-88/kvm/kernel/x86/external-module-compat.h:16,
> from <ligne de commande>:1:
> /root/kvm-88/kvm/kernel/x86/../external-module-compat-comm.h:609:
> erreur: static declaration of â follows non-static declaration
> include/linux/mm.h:873: erreur: previous declaration of â was here
> make[4]: *** [/root/kvm-88/kvm/kernel/x86/svm.o] Erreur 1
> make[3]: *** [/root/kvm-88/kvm/kernel/x86] Erreur 2
> make[2]: *** [_module_/root/kvm-88/kvm/kernel] Erreur 2
> make[1]: *** [all] Erreur 2
> make: *** [kvm-kmod] Erreur 2
>
>
> Maybe I forgot a dep ?
You may want to try recently release kvm-kmod-2.6.31.5 as it fixed a lot
of build issues against older kernels. What kernel version is in RH 5.4?
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Impossible to compile kvm-88 on Redhat 5.4
[not found] ` <23e336b00910291222h616ae1c7ice55087b1569d648@mail.gmail.com>
@ 2009-10-30 9:22 ` Jan Kiszka
2009-11-02 10:26 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2009-10-30 9:22 UTC (permalink / raw)
To: Arnaud Maillet; +Cc: kvm
Arnaud Maillet wrote:
> In RH 5.4 it's a 2.6.18 !
Hmm, and that's outside the support range of kvm-kmod today. I had a
look at the conflicts: there are more than I can fix with reasonable
effort ATM.
So I'm afraid - unless someone steps up and provides the required
patches - support for such old kernels will no longer be available.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Impossible to compile kvm-88 on Redhat 5.4
2009-10-30 9:22 ` Jan Kiszka
@ 2009-11-02 10:26 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-11-02 10:26 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Arnaud Maillet, kvm
On 10/30/2009 11:22 AM, Jan Kiszka wrote:
> Arnaud Maillet wrote:
>
>> In RH 5.4 it's a 2.6.18 !
>>
> Hmm, and that's outside the support range of kvm-kmod today. I had a
> look at the conflicts: there are more than I can fix with reasonable
> effort ATM.
>
It's 2.6.18 plus wild backports from all over the place.
If you're on Red Hat 5.4 you might as well use the prebuilt kvm modules
provided by Red Hat; why are you building kvm-88?
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-11-02 10:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 16:34 Impossible to compile kvm-88 on Redhat 5.4 Arnaud Maillet
2009-10-29 17:09 ` Jan Kiszka
[not found] ` <23e336b00910291222h616ae1c7ice55087b1569d648@mail.gmail.com>
2009-10-30 9:22 ` Jan Kiszka
2009-11-02 10:26 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).