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

* Re: Compile problem with GIT repo on Scientific Linux
       [not found] ` <4744B5EB.8020904-edFDblaTWIyXbbII50Afww@public.gmane.org>
@ 2007-11-22 11:29   ` Avi Kivity
  0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2007-11-22 11:29 UTC (permalink / raw)
  To: Cam Macdonell; +Cc: kvm-devel

Cam Macdonell wrote:
> 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?
>   

I just pushed a fix for this.

-- 
error compiling committee.c: too many arguments to function


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

* Re: Compile problem with GIT repo on Scientific Linux
  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 14:15 ` Uri Lublin
       [not found]   ` <64F9B87B6B770947A9F8391472E032160B5F84A2-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Uri Lublin @ 2007-11-22 14:15 UTC (permalink / raw)
  To: Cam Macdonell, kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 635 bytes --]


Thanks for reporting the problem.

You do not need to "make -C kernel sync" with kvm-tarballs.

For more information look at http://kvm.qumranet.com/kvmwiki/HOWTO -- "Unpacking and configuring kvm components"

Uri.

-----Original Message-----
From: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org on behalf of Cam Macdonell
Sent: Thu 22/11/2007 00:49
To: kvm-devel
Subject: [kvm-devel] Compile problem with GIT repo on Scientific Linux

Hi,

<snipped>

The kvm-53 tarball works fine, but something is getting misconfigured 
when I run  "make -C kernel sync....". 

Thanks,
Cam

<snipped>

[-- Attachment #1.2: Type: text/html, Size: 1244 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: Compile problem with GIT repo on Scientific Linux
       [not found]   ` <64F9B87B6B770947A9F8391472E032160B5F84A2-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
@ 2007-11-22 17:05     ` Cam Macdonell
  0 siblings, 0 replies; 4+ messages in thread
From: Cam Macdonell @ 2007-11-22 17:05 UTC (permalink / raw)
  To: Uri Lublin; +Cc: kvm-devel

Uri Lublin wrote:
> 
> Thanks for reporting the problem.

Thanks for the quick patch :)

> You do not need to "make -C kernel sync" with kvm-tarballs.
> 

Yes, sorry, my language was unclear in that sentence.   I wasn't running 
sync on the tarball, just on the git repo.

Thanks,
Cam

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