From: Andrew Cooper <andrew.cooper3@citrix.com>
To: aoa033 <aoa033@cs.bham.ac.uk>
Cc: xen-devel@lists.xen.org
Subject: Re: Xen error
Date: Tue, 26 Nov 2013 19:10:57 +0000 [thread overview]
Message-ID: <5294F241.2080300@citrix.com> (raw)
In-Reply-To: <281ebe6a12ab4da334e83a86cc8345c4@cs.bham.ac.uk>
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@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-11-26 19:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-26 18:58 Xen error aoa033
2013-11-26 19:10 ` Andrew Cooper [this message]
[not found] ` <3471115750013a28353ee9033e2fefc3@cs.bham.ac.uk>
2013-11-26 20:36 ` Andrew Cooper
2013-11-27 1:29 ` Dario Faggioli
2013-11-27 9:26 ` Ian Campbell
-- strict thread matches above, loose matches on Subject: below --
2006-08-02 6:33 xen error Deepak Kandhare
2006-08-02 7:37 ` Yoshinori Katase
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5294F241.2080300@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=aoa033@cs.bham.ac.uk \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.