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-ia64-devel

[Xen-ia64-devel] More RHEL4/gcc-3.4.x build fixes

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] More RHEL4/gcc-3.4.x build fixes
From: Arun Sharma <arun.sharma@xxxxxxxxx>
Date: Tue, 02 Aug 2005 17:35:26 -0700
Delivery-date: Wed, 03 Aug 2005 00:33:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: DIscussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

The issue is that <linux/efi.h> uses sprintf without a prototype. There may be better solutions possible, but might require changes in upstream linux-ia64.

        -Arun

--- a/xen/arch/ia64/linux-xen/efi.c     Wed Aug  3 00:25:11 2005
+++ b/xen/arch/ia64/linux-xen/efi.c     Tue Aug  2 17:31:01 2005
@@ -18,6 +18,9 @@
  * Goutham Rao: <goutham.rao@xxxxxxxxx>
  *     Skip non-WB memory and ignore empty memory ranges.
  */
+#ifdef XEN
+#include <xen/lib.h>
+#endif
 #include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
diff -r f242de2e5a3c xen/arch/ia64/linux-xen/mm_contig.c
--- a/xen/arch/ia64/linux-xen/mm_contig.c       Wed Aug  3 00:25:11 2005
+++ b/xen/arch/ia64/linux-xen/mm_contig.c       Tue Aug  2 17:31:01 2005
@@ -14,6 +14,9 @@
* Routines used by ia64 machines with contiguous (or virtually contiguous)
  * memory.
  */
+#ifdef XEN
+#include <xen/lib.h>
+#endif
 #include <linux/config.h>
 #include <linux/bootmem.h>
 #include <linux/efi.h>

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] More RHEL4/gcc-3.4.x build fixes, Arun Sharma <=