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

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



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

 


Rackspace

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