From: Hugo Delchini <Hugo.Delchini@mercuria.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.sourceforge.net
Subject: Re: Compiling a xen patched 2.4.27 kernel
Date: Tue, 23 Nov 2004 09:31:58 +0100 [thread overview]
Message-ID: <41A2F57E.6020003@mercuria.com> (raw)
In-Reply-To: E1CWVwz-0006bF-00@mta1.cl.cam.ac.uk
[-- Attachment #1: Type: text/plain, Size: 2534 bytes --]
Yep, just after the post to the mailing list, i re-read carefully
the documentation and saw that it was a gcc version problem.
I upgraded to 3.2.2 and everything works fine.
Thanks a lot for your answer.
Hugo.
Keir Fraser wrote:
>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@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/xen-devel
>>
>>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3051 bytes --]
prev parent reply other threads:[~2004-11-23 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-22 15:02 Compiling a xen patched 2.4.27 kernel Hugo Delchini
2004-11-23 8:22 ` Keir Fraser
2004-11-23 8:31 ` Hugo Delchini [this message]
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=41A2F57E.6020003@mercuria.com \
--to=hugo.delchini@mercuria.com \
--cc=Hugo.Delchini@availix.fr \
--cc=Keir.Fraser@cl.cam.ac.uk \
--cc=xen-devel@lists.sourceforge.net \
/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.