Skip to contentSkip to conversation

Fix compile error about compile.h

PATCH In review NISHIGUCHI Naoki 2 participants 2 messages Apr 23, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compile error about compile.h

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.

Thanks,
Naoki Nishiguchi

xen/Makefile +1 -0
diff -r 2ebb7f79e3bb xen/Makefile
@@ -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 > [email protected]
 	@grep \" .banner >> [email protected]
+	@echo "" >> [email protected]
 	@grep -v \" .banner
 	@mv -f [email protected] $@
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 10 lines · NISHIGUCHI Naoki

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.

Oh dear. I thought I was safe to merely bump a version number without a full build test. :-)

-- Keir