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

Re: [Xen-devel] Problem building xon with cross-compiler

>>> On 26.01.15 at 16:38, <stefan.kuhne@xxxxxxx> wrote:
> I try to compile xen-4.5.0 in the uclibc buildroot.

Of course a first step would be to try to build in a more conventional

> On "make xen" I get this error:
> mkdir -p compat/.xlat
> grep -v '^[[:blank:]]*#' xlat.lst | sed -ne 's,@arch@,x86_32,g' -re 
> 's,[[:blank:]]+xen\.h[[:blank:]]*$,,p' >compat/.xlat/xen.lst.new
> if ! cmp -s compat/.xlat/xen.lst.new compat/.xlat/xen.lst; then mv -f 
> compat/.xlat/xen.lst.new compat/.xlat/xen.lst; else rm -f 
> compat/.xlat/xen.lst.new; fi
> export PYTHON=python; \
> while read what name; do \
>          /bin/sh 
> /foo/buildroot/output/build/xen-4.5.0/xen/tools/get-fields.sh "$what" 
> compat_$name compat/xen.h || exit $?; \
> done <compat/.xlat/xen.lst >compat/.xlat/xen.h.new
> Fields of 'compat_xenctl_bitmap' not found in 'compat/xen.h'
> Makefile:70: recipe for target 'compat/.xlat/xen.h' failed
> make[4]: *** [compat/.xlat/xen.h] Error 1
> Has anyone an idea what is going wrong?

Perhaps there's something in xen/tools/get-fields.sh that's
incompatible with the shell used?

> I didn't get into it, because "compat/xen.h" isn't in the sources.

It's a generated file, but it ought to be there by the time the command
above gets executed, as it's a dependency of the current target being
processed. So another reason might be a make incompatibility.


Xen-devel mailing list



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