From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christoph Egger" Subject: Re: Building broken with CS 13282 Date: Mon, 8 Jan 2007 15:40:32 +0100 Message-ID: <200701081540.32377.Christoph.Egger@amd.com> References: <20070108122439.GA25489@totally.trollied.org.uk> <20070108141332.GA32404@totally.trollied.org.uk> <20070108143057.GA537@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20070108143057.GA537@totally.trollied.org.uk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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",,' \ -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