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

On Monday 08 January 2007 15:30, John Levon wrote:
> On Mon, Jan 08, 2007 at 02:13:32PM +0000, John Levon wrote:
> > For one thing I can't see a dependency such that compat/xen.[ch] will be
> > built before compat/acm.[ch], and there don't seem to be gcc-generated
> > deps either ?
>
> And even if I do:
>
> 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
>
> Ading -I public helps until it tries to make 'archa64.h', which looks
> awfully like a mangled arch-ia64.h, though I don't follow how that's
> happened.

Perhaps this has to do with different sed implementations.

OpenBSD sed doesn't support alternatives as used in this
snippet from xen/include/Makefile:

        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' \

So that's at least one reason for the build failure on OpenBSD.

On Linux with GNU sed, it builds for me.

Christoph




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