From: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
To: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Compile problem with GIT repo on Scientific Linux
Date: Wed, 21 Nov 2007 15:49:15 -0700 [thread overview]
Message-ID: <4744B5EB.8020904@cs.ualberta.ca> (raw)
Hi,
I'm trying to install KVM using the git repos on Scientific Linux. The
error occurs when I run make.
The kvm-53 tarball works fine, but something is getting misconfigured
when I run "make -C kernel sync....". This error doesn't occur on
Fedora Core. I installed kernel-headers using yum in the standard way
Has anyone experienced this problem with other RHEL clones like CentOS?
Thanks,
Cam
[/usr/scratch/cam/new/kvm-userspace]$ make
make -C kernel
make[1]: Entering directory `/usr/scratch/cam/new/kvm-userspace/kernel'
make -C /lib/modules/2.6.18-8.1.15.el5/build M=`pwd` "$@"
make[2]: Entering directory `/usr/src/kernels/2.6.18-8.1.15.el5-x86_64'
CC [M] /usr/scratch/cam/new/kvm-userspace/kernel/svm.o
In file included from /usr/scratch/cam/new/kvm-userspace/kernel/svm.c:27:
include/asm/desc.h:17: error: redefinition of 'struct kvm_desc_struct'
include/asm/desc.h:24: error: redefinition of 'struct n_desc_struct'
include/asm/desc.h:31: error: redeclaration of enumerator 'GATE_INTERRUPT'
/usr/scratch/cam/new/kvm-userspace/kernel/include/asm/desc_defs.h:27:
error: previous definition of 'GATE_INTERRUPT' was here
include/asm/desc.h:32: error: redeclaration of enumerator 'GATE_TRAP'
/usr/scratch/cam/new/kvm-userspace/kernel/include/asm/desc_defs.h:28:
error: previous definition of 'GATE_TRAP' was here
include/asm/desc.h:33: error: redeclaration of enumerator 'GATE_CALL'
/usr/scratch/cam/new/kvm-userspace/kernel/include/asm/desc_defs.h:29:
error: previous definition of 'GATE_CALL' was here
include/asm/desc.h:37: error: redefinition of 'struct gate_struct'
include/asm/desc.h:51: error: redeclaration of enumerator 'DESC_TSS'
/usr/scratch/cam/new/kvm-userspace/kernel/include/asm/desc_defs.h:47:
error: previous definition of 'DESC_TSS' was here
include/asm/desc.h:52: error: redeclaration of enumerator 'DESC_LDT'
/usr/scratch/cam/new/kvm-userspace/kernel/include/asm/desc_defs.h:48:
error: previous definition of 'DESC_LDT' was here
include/asm/desc.h:56: error: redefinition of 'struct ldttss_desc'
include/asm/desc.h:65: error: redefinition of 'struct kvm_desc_ptr'
make[3]: *** [/usr/scratch/cam/new/kvm-userspace/kernel/svm.o] Error 1
make[2]: *** [_module_/usr/scratch/cam/new/kvm-userspace/kernel] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-8.1.15.el5-x86_64'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/scratch/cam/new/kvm-userspace/kernel'
make: *** [kernel] Error 2
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
next reply other threads:[~2007-11-21 22:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-21 22:49 Cam Macdonell [this message]
[not found] ` <4744B5EB.8020904-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-22 11:29 ` Compile problem with GIT repo on Scientific Linux Avi Kivity
2007-11-22 14:15 ` Uri Lublin
[not found] ` <64F9B87B6B770947A9F8391472E032160B5F84A2-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-11-22 17:05 ` Cam Macdonell
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=4744B5EB.8020904@cs.ualberta.ca \
--to=cam-edfdblatwiyxbbii50afww@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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.