linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* redefinition of typedef '__guest_handle_uint64_t'
@ 2011-08-08  8:54 Christian Kujau
  2011-08-08 14:37 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Kujau @ 2011-08-08  8:54 UTC (permalink / raw)
  To: jeremy.fitzhardinge, konrad.wilk; +Cc: LKML

Hi,

when trying to compile xen/next-3.0 from Jeremy's tree, this happens:

---------------------------------------------------
/usr/local/src/linux-xen-next-3-git/arch/x86/kernel/asm-offsets.c:8:
/usr/local/src/linux-xen-next-3-git/include/xen/interface/xen.h:527:1: 
error: redefinition of typedef '__guest_handle_uint64_t'
/usr/local/src/linux-xen-next-3-git/arch/x86/include/asm/xen/interface.h:58:1: 
note: previous declaration of '__guest_handle_uint64_t' was here
---------------------------------------------------

The .config is here: http://nerdbynature.de/bits/3.0-rc7/
The following makes it compile again, but it may not be the Right Thing 
to do:

diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 3c072c8..5a91c66 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -524,8 +524,6 @@ struct tmem_op {
 	} u;
 };
 
-DEFINE_GUEST_HANDLE(uint64_t);
-
 #else /* __ASSEMBLY__ */
 
 /* In assembly code we cannot use C numeric constant suffixes. */


Thanks,
Christian.
-- 
BOFH excuse #100:

IRQ dropout

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: redefinition of typedef '__guest_handle_uint64_t'
  2011-08-08  8:54 redefinition of typedef '__guest_handle_uint64_t' Christian Kujau
@ 2011-08-08 14:37 ` Konrad Rzeszutek Wilk
  2011-08-08 22:13   ` Jeremy Fitzhardinge
  2011-08-09  4:28   ` Christian Kujau
  0 siblings, 2 replies; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-08-08 14:37 UTC (permalink / raw)
  To: Christian Kujau; +Cc: jeremy.fitzhardinge, LKML

On Mon, Aug 08, 2011 at 01:54:39AM -0700, Christian Kujau wrote:
> Hi,
> 
> when trying to compile xen/next-3.0 from Jeremy's tree, this happens:

Ugh, just use the released 3.0 stock kernel.
> 
> ---------------------------------------------------
> /usr/local/src/linux-xen-next-3-git/arch/x86/kernel/asm-offsets.c:8:
> /usr/local/src/linux-xen-next-3-git/include/xen/interface/xen.h:527:1: 
> error: redefinition of typedef '__guest_handle_uint64_t'
> /usr/local/src/linux-xen-next-3-git/arch/x86/include/asm/xen/interface.h:58:1: 
> note: previous declaration of '__guest_handle_uint64_t' was here
> ---------------------------------------------------
> 
> The .config is here: http://nerdbynature.de/bits/3.0-rc7/
> The following makes it compile again, but it may not be the Right Thing 
> to do:
> 
> diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
> index 3c072c8..5a91c66 100644
> --- a/include/xen/interface/xen.h
> +++ b/include/xen/interface/xen.h
> @@ -524,8 +524,6 @@ struct tmem_op {
>  	} u;
>  };
>  
> -DEFINE_GUEST_HANDLE(uint64_t);
> -
>  #else /* __ASSEMBLY__ */
>  
>  /* In assembly code we cannot use C numeric constant suffixes. */
> 
> 
> Thanks,
> Christian.
> -- 
> BOFH excuse #100:
> 
> IRQ dropout

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: redefinition of typedef '__guest_handle_uint64_t'
  2011-08-08 14:37 ` Konrad Rzeszutek Wilk
@ 2011-08-08 22:13   ` Jeremy Fitzhardinge
  2011-08-09  4:28   ` Christian Kujau
  1 sibling, 0 replies; 4+ messages in thread
From: Jeremy Fitzhardinge @ 2011-08-08 22:13 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Christian Kujau, LKML

On 08/08/2011 07:37 AM, Konrad Rzeszutek Wilk wrote:
> On Mon, Aug 08, 2011 at 01:54:39AM -0700, Christian Kujau wrote:
>> Hi,
>>
>> when trying to compile xen/next-3.0 from Jeremy's tree, this happens:
> Ugh, just use the released 3.0 stock kernel.

Concur.  xen/next-3.0 is not up to date.

    J

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: redefinition of typedef '__guest_handle_uint64_t'
  2011-08-08 14:37 ` Konrad Rzeszutek Wilk
  2011-08-08 22:13   ` Jeremy Fitzhardinge
@ 2011-08-09  4:28   ` Christian Kujau
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Kujau @ 2011-08-09  4:28 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: jeremy.fitzhardinge, LKML

On Mon, 8 Aug 2011 at 10:37, Konrad Rzeszutek Wilk wrote:
> Ugh, just use the released 3.0 stock kernel.

Thanks, 3.1-rc1 builds just fine.

I haven't built a dom0 kernel for a long time and I was looking 
at the Xensource Wiki, where Jeremy's/your tree is still referenced[0].

Thanks,
Christian.

[0] http://wiki.xensource.com/xenwiki/XenParavirtOps#head-6971c8ad23c1d86d3eed7ce8cf4e0786a0b09f0d
-- 
BOFH excuse #261:

The Usenet news is out of date

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-09 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08  8:54 redefinition of typedef '__guest_handle_uint64_t' Christian Kujau
2011-08-08 14:37 ` Konrad Rzeszutek Wilk
2011-08-08 22:13   ` Jeremy Fitzhardinge
2011-08-09  4:28   ` Christian Kujau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).