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] Building broken with CS 13282

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Building broken with CS 13282
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Mon, 8 Jan 2007 17:26:34 +0000
Cc: Christoph Egger <Christoph.Egger@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jan 2007 09:24:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1C81EFE.7423%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070108145053.GB1557@xxxxxxxxxxxxxxxxxxxxxxx> <C1C81EFE.7423%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Jan 08, 2007 at 04:17:02PM +0000, Keir Fraser wrote:

> >>         sed -e 's,__InClUdE__,#include,' \
> >>             -e 's,"xen-compat.h",<public/xen-compat.h>,' \
> >>             -e 's,\(struct\|union\|enum\)[[:space:]]\+\(xen_\?\)\?
> >> \([[:alpha:]_]\),\1 compat_\3,g' \
> > 
> > It's very unlikely that Solaris sed does too, which I suppose explains
> > the xen-compat.h issue at least.
> 
> Either we need to stipulate GNU sed, or re-code some of this stuff in Python
> or Perl (probably Python, since that's already a dependency for the tools).
> My hope would be that it would magically become a bit more readable. :-)

gsed would be a problem for us, it's not (yet) shipped in Solaris.
Python would be nice.

Though I'm still confused how this is supposed to work. Even if I force
xen to be made first:

gcc -E -O2 -fno-omit-frame-pointer -Wa,--divide
-D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -m32 -march=i686 -DNDEBUG
-std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value
-Wdeclaration-after-statement -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith
-pipe -I/export/johnlev/xen/xen-unstable-child/xen.hg/xen/include
-I/export/johnlev/xen/xen-unstable-child/xen.hg/xen/include/asm-x86/mach-generic
-I/export/johnlev/xen/xen-unstable-child/xen.hg/xen/include/asm-x86/mach-default
-msoft-float -g -D__XEN__ -include public/xen-compat.h -m32 -o
compat/xen.i compat/xen.c
compat/xen.c:30:24: xen-compat.h: No such file or directory
compat/xen.c:33:26: arch-x86/xen.h: No such file or directory

We're still missing an -I public/ for the arch-x86/xen.h header?

regards
john

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel