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

Re: [Xen-devel] Xen error



On 26/11/13 18:58, aoa033 wrote:
> Hi,
>
> I am a final year student interested in learning more about virtualization
> and Xen. I have been trying to build and install Xen 4.1.2 from source
> however I am getting the following error which I do not know how to fix.
> Could anyone be of assistance
>
> The error is: 
>
> memory.c: In function âcompat_memory_opâ:
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:35:33: error:
> typedef â__guest_handle_const_compat_memory_exchange_tâ locally defined
> but not used [-Werror=unused-local-typedefs]
>      typedef struct { type *p; } __guest_handle_ ## name
>                                  ^
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:43:5: note: in
> expansion of macro â___DEFINE_XEN_GUEST_HANDLEâ
>      ___DEFINE_XEN_GUEST_HANDLE(const_##name, const type)
>      ^
> Documents/xen-4.1.2/xen/include/public/arch-x86/xen.h:44:41: note: in
> expansion of macro â__DEFINE_XEN_GUEST_HANDLEâ
>  #define DEFINE_XEN_GUEST_HANDLE(name)   __DEFINE_XEN_GUEST_HANDLE(name,
> name)
>                                          ^
> memory.c:242:13: note: in expansion of macro âDEFINE_XEN_GUEST_HANDLEâ
>              DEFINE_XEN_GUEST_HANDLE(compat_memory_exchange_t);
>
> Thank you 

Have you modified the source yourself?

This looks like you have added a new guest handle in a function but not
referenced it.

Also, Xen 4.1.2 is very old.  Try using a newer version of Xen.

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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