[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)



El 20/12/10 04:40, KUWAMURA Shin'ya escribió:
> Hi,

Hello, thanks for your reply, mine's inline.

> 
>>
>> 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
In file included from xc_dom_ia64.c:26:
ia64/asm/dom_fw_common.h:65: error: expected specifier-qualifier-list
before ‘fpswa_interface_t’


>> XEN 4.0.1 & XEN 4.0.2rc1 (testing)
>> /root/xen-4.0.1/xen/common/built_in.o: In function `kexec_exec':
>> /root/xen-4.0.1/xen/common/kexec.c:493: undefined reference to
>> `continue_hypercall_on_cpu'
>> 4.0.2rc1:
>> /root/xen-4.0.2rc1/xen/common/built_in.o: In function `kexec_exec':
>> /root/xen-4.0.2rc1/xen/common/kexec.c:493: undefined reference to
>> `continue_hypercall_on_cpu'
>> make[3]: *** [/root/xen-4.0.2rc1/xen/xen-syms] Error 1
>> Digging up and googling i've found out nothing, but seems weird that
>> particularly continue_hypercall_on_cpu() it's only present in
>> architecture specific include files.
> 
> You are right. Could you apply the attached patch?
> # Notice that this fix is ad hoc.

With this patch applied "make xen" doesn't fail anymore. ¡Thanks!


> 
> Best regards,

Thanks Shin'ya can you give me any pointers on the "asm/fpswa.h" build
error?

Have a nice day.

-- 
------------------------------------
Julio C. Ortega
Technical Coordinator
Infrastructure
ONUVA
http://www.onuva.com

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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®.