From: John Levon Subject: Re: Building broken with CS 13282 Date: Mon, 8 Jan 2007 17:26:34 +0000 Message-ID: <20070108172634.GA10076@totally.trollied.org.uk> References: <20070108145053.GB1557@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Jan 08, 2007 at 04:17:02PM +0000, Keir Fraser wrote: > >> sed -e 's,__InClUdE__,#include,' \ > >> -e 's,"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