From: "Jan Beulich" Subject: Re: Problem building xon with cross-compiler Date: Mon, 26 Jan 2015 15:56:10 +0000 Message-ID: <54C671AA0200007800059898@mail.emea.novell.com> References: <54C65F75.6020109@access.denied> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YFm1O-0000qj-LJ for xen-devel@lists.xenproject.org; Mon, 26 Jan 2015 15:56:14 +0000 In-Reply-To: <54C65F75.6020109@access.denied> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefan Kuhne Cc: xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 26.01.15 at 16:38, 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.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