* Problem building xon with cross-compiler
@ 2015-01-26 15:38 Stefan Kuhne
2015-01-26 15:56 ` Jan Beulich
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Kuhne @ 2015-01-26 15:38 UTC (permalink / raw)
To: xen-devel
Hello,
I try to compile xen-4.5.0 in the uclibc buildroot.
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?
I didn't get into it, because "compat/xen.h" isn't in the sources.
Kindly regards,
Stefan Kuhne
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem building xon with cross-compiler
2015-01-26 15:38 Problem building xon with cross-compiler Stefan Kuhne
@ 2015-01-26 15:56 ` Jan Beulich
0 siblings, 0 replies; 2+ messages in thread
From: Jan Beulich @ 2015-01-26 15:56 UTC (permalink / raw)
To: Stefan Kuhne; +Cc: xen-devel
>>> On 26.01.15 at 16:38, <stefan.kuhne@gmx.net> 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
environment.
> 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.
Jan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-26 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 15:38 Problem building xon with cross-compiler Stefan Kuhne
2015-01-26 15:56 ` Jan Beulich
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.