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

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


 


Rackspace

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