public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Compile problem with GIT repo on Scientific Linux
@ 2007-11-21 22:49 Cam Macdonell
       [not found] ` <4744B5EB.8020904-edFDblaTWIyXbbII50Afww@public.gmane.org>
  2007-11-22 14:15 ` Uri Lublin
  0 siblings, 2 replies; 4+ messages in thread
From: Cam Macdonell @ 2007-11-21 22:49 UTC (permalink / raw)
  To: kvm-devel


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-22 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21 22:49 Compile problem with GIT repo on Scientific Linux Cam Macdonell
     [not found] ` <4744B5EB.8020904-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-11-22 11:29   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox