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

Re: [Xen-devel] Problems Building Xen 4.0.x on ia64 (various releases)

To: jortega@xxxxxxxxx
Subject: Re: [Xen-devel] Problems Building Xen 4.0.x on ia64 (various releases)
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Wed, 22 Dec 2010 10:49:07 +0900 (JST)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Dec 2010 17:51:18 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D0F56B1.80806@xxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20101219100816.2455372jqa7en64g@xxxxxxxxxxxxxxxx> <20101220.181023.434304322.kuwa@xxxxxxxxxxxxxx> <4D0F56B1.80806@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

>>>>> On Mon, 20 Dec 2010 08:44:25 -0430
>>>>> jortega@xxxxxxxxx("Julio C. Ortega")  said:
> 
> >> XEN 4.0.0:
> >> In file included from xc_dom_ia64.c:26:
> >> ia64/asm/dom_fw_common.h:47:23: error: asm/fpswa.h: No such file or
> >> directory
> > 
> > Could you try gcc-4.1 instead of gcc-4.4? Building xen with GCC 4.4
> > has a known problem and using GCC 4.1 can avoid it:
> > http://lists.xensource.com/archives/html/xen-ia64-devel/2010-05/msg00007.html
> 
> I've tried with GCC 4.1, also to no avail. The error message doesn't
> change (i've cleaned the tree and rebuilt, of course)
> 
> I'll repaste the error:
> 
> gcc  -O2 -fomit-frame-pointer -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
> -D__XEN_TOOLS__ -MMD -MF .xc_dom_ia64.o.d  -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I../../xen/common/libelf -Iia64
> -Werror -Wmissing-prototypes  -I. -I../xenstore -I../include -c -o
> xc_dom_ia64.o xc_dom_ia64.c
> In file included from xc_dom_ia64.c:26:
> ia64/asm/dom_fw_common.h:47:23: error: asm/fpswa.h: No such file or
> directory

Could you try the attached patch?

The header asm/fpswa.h was at /usr/include/asm/fpswa.h, but it was
removed in recent kernel.

Best regards,
-- 
  KUWAMURA Shin'ya
diff -r b536ebfba183 tools/libxc/ia64/Makefile
--- a/tools/libxc/ia64/Makefile Wed Aug 25 09:22:42 2010 +0100
+++ b/tools/libxc/ia64/Makefile Wed Dec 22 10:41:21 2010 +0900
@@ -49,6 +49,7 @@ mk-symlinks-acpi: $(IA64_HDR_DIRS) $(IA6
        ( cd ia64/xen && ln -sf ../../$(XEN_ROOT)/xen/include/xen/acpi.h .)
 mk-symlinks-misc: $(IA64_HDR_DIRS)
        ( cd ia64/asm && ln -sf 
../../$(XEN_ROOT)/xen/include/asm-ia64/linux-xen/asm/kregs.h .)
+       ( cd ia64/asm && ln -sf 
../../$(XEN_ROOT)/xen/include/asm-ia64/linux/asm/fpswa.h .)
 build: mk-symlinks-acpi mk-symlinks-misc
 
 clean: ia64-clean
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel