[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] compilation error: fsimage_grub.c



On Sun, Apr 15, 2007 at 10:17:12PM -0300, Rodrigo Lord wrote:
> Hi!
> 
> I'm trying to compile xen-ia64 on my Itanium 2 (HP rx2600, with 2
> processors), on Debian Sarge 3.1
> and occurred the error below in the "make world"!
> 
> Any suggestion?
Yes,

here is a small patch I use for this file:
[ I submit here with a sign-off]

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
diff -r c42ae7839750 tools/libfsimage/common/fsimage_grub.c
--- a/tools/libfsimage/common/fsimage_grub.c    Fri Apr 13 08:33:21 2007 -0600
+++ b/tools/libfsimage/common/fsimage_grub.c    Mon Feb 26 07:09:34 2007 +0200
@@ -145,7 +145,7 @@ fsig_log2 (unsigned long word)
 #else
 # define ia64_popcnt(x)                                     \
   ({                                                        \
-    __u64 ia64_intri_res;                                   \
+    uint64_t ia64_intri_res;                                \
     asm ("popcnt %0=%1" : "=r" (ia64_intri_res) : "r" (x)); \
     ia64_intri_res;                                         \
   })




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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.