[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Building broken with CS 13282

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


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.