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? Thanks. gcc -DPIC -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wp,-MD,.fsimage.opic.d -fPIC -c -o fsimage.opic fsimage.c gcc -DPIC -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wp,-MD,.fsimage_plugin.opic.d -fPIC -c -o fsimage_plugin.opic fsimage_plugin.c gcc -DPIC -O2 -fomit-frame-pointer -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror -Wp,-MD,.fsimage_grub.opic.d -fPIC -c -o fsimage_grub.opic fsimage_grub.c fsimage_grub.c: In function `fsig_log2'': fsimage_grub.c:159: error: `__u64'' undeclared (first use in this function) fsimage_grub.c:159: error: (Each undeclared identifier is reported only once fsimage_grub.c:159: error: for each function it appears in.) fsimage_grub.c:159: error: syntax error before "ia64_intri_res" fsimage_grub.c:159: error: `ia64_intri_res'' undeclared (first use in this function) make[4]: ** [fsimage_grub.opic] Erro 1 make[4]: Saindo do diretório `/root/xen-ia64-unstable.hg /tools/libfsimage/common'' make[3]: ** [install] Erro 2 make[3]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools/libfsimage'' make[2]: ** [install] Erro 2 make[2]: Saindo do diretório `/root/xen-ia64-unstable.hg/tools'' make[1]: ** [install-tools] Erro 2 make[1]: Saindo do diretório `/root/xen-ia64-unstable.hg'' make: ** [world] Erro 2 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tristan Gingold
2007-Apr-16 02:41 UTC
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@free.fr> 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@lists.xensource.com http://lists.xensource.com/xen-ia64-devel