WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Compiling a xen patched 2.4.27 kernel

To: Hugo.Delchini@xxxxxxxxxx
Subject: Re: [Xen-devel] Compiling a xen patched 2.4.27 kernel
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 23 Nov 2004 08:22:58 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Nov 2004 08:24:37 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 22 Nov 2004 16:02:15 +0100." <41A1FF77.1020301@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
What version of GCC are you using? I suspect 2.95 which is too old for
building Xen and XenLinux. Upgrade to at least 3.2.x or 3.3.x.

 -- Keir

> % make ARCH=xen oldconfig
> % make ARCH=xen dep
> % make ARCH=xen bzImage
> 
> And here is what i got :
> 
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
> -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
> In file included from /usr/src/linux-2.4.27/include/asm/processor.h:188,
>                  from /usr/src/linux-2.4.27/include/linux/prefetch.h:13,
>                  from /usr/src/linux-2.4.27/include/linux/list.h:6,
>                  from /usr/src/linux-2.4.27/include/linux/wait.h:14,
>                  from /usr/src/linux-2.4.27/include/linux/fs.h:12,
>                  from /usr/src/linux-2.4.27/include/linux/capability.h:17,
>                  from /usr/src/linux-2.4.27/include/linux/binfmts.h:5,
>                  from /usr/src/linux-2.4.27/include/linux/sched.h:9,
>                  from /usr/src/linux-2.4.27/include/linux/mm.h:4,
>                  from /usr/src/linux-2.4.27/include/linux/slab.h:14,
>                  from /usr/src/linux-2.4.27/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /usr/src/linux-2.4.27/include/asm/hypervisor.h: In function 
> `HYPERVISOR_dom_mem_op':
> /usr/src/linux-2.4.27/include/asm/hypervisor.h:494: more than 10 
> operands in `asm'
> make: *** [init/main.o] Error 1
> 
> Sorry if it is a trivial/common question, i searched the mailing list
> but found nothing about such a problem.
> Any help is apreciated.
> Thanks a lot and long life to Xen.
> 
> Hugo Delchini.
> Availix Founder and CTO.
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>