WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix compile error about compile.h

To: xen devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix compile error about compile.h
From: NISHIGUCHI Naoki <nisiguti@xxxxxxxxxxxxxx>
Date: Wed, 23 Apr 2008 16:05:12 +0900
Delivery-date: Wed, 23 Apr 2008 00:05:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
Hi,

In Xen 3.2.1-rc7, compile error has occurred as follows.

In file included from version.c:1:
/xxx/xen-3.2-testing.hg/xen/include/xen/compile.h:13:21: error:
backslash-newline at end of file
make[4]: *** [version.o] Error 1

This error happens according to XEN_FULLVERSION in xen/Makefile.

Attached patch fixes this error.

Signed-off-by: Naoki Nishiguchi <nisiguti@xxxxxxxxxxxxxx>

Thanks,
Naoki Nishiguchi
diff -r 2ebb7f79e3bb xen/Makefile
--- a/xen/Makefile      Tue Apr 22 19:07:48 2008 +0100
+++ b/xen/Makefile      Wed Apr 23 15:50:59 2008 +0900
@@ -91,6 +91,7 @@ include/xen/compile.h: include/xen/compi
            -e 's!@@changeset@@!$(shell ((hg parents --template "{date|date} 
{rev}:{node|short}" >/dev/null && hg parents --template "{date|date} 
{rev}:{node|short}") || echo "unavailable") 2>/dev/null)!g' \
            < include/xen/compile.h.in > $@.new
        @grep \" .banner >> $@.new
+       @echo "" >> $@.new
        @grep -v \" .banner
        @mv -f $@.new $@
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>