* 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
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 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.