All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o (CONFIG_XMON=y)
@ 2006-04-29 16:50 Niklaus Giger
  2006-04-29 17:09 ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: Niklaus Giger @ 2006-04-29 16:50 UTC (permalink / raw)
  To: xenomai

Hi

After a clean checkout of xenomai (r1016) and with a config
which defines CONFIG_XMON I get the following errors:
  CC      arch/ppc/xmon/xmon.o
In file included 
from /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/xmon.c:23:
/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:26: error: 
conflicting types for ‘get_rtcu’
include2/asm/time.h:102: error: previous definition of ‘get_rtcu’ was here
/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:27: error: 
conflicting types for ‘get_rtcl’
include2/asm/time.h:95: error: previous definition of ‘get_rtcl’ was here
/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:32: error: 
conflicting types for ‘get_dec’
include2/asm/time.h:39: error: previous definition of ‘get_dec’ was here
/mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:32: error: 
conflicting types for ‘set_dec’
include2/asm/time.h:48: error: previous definition of ‘set_dec’ was here
make[2]: *** [arch/ppc/xmon/xmon.o] Fehler 1
make[1]: *** [arch/ppc/xmon] Fehler 2

Best regards
-- 
Niklaus Giger


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

* Re: [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o (CONFIG_XMON=y)
  2006-04-29 16:50 [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o (CONFIG_XMON=y) Niklaus Giger
@ 2006-04-29 17:09 ` Philippe Gerum
  2006-04-29 17:40   ` Niklaus Giger
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2006-04-29 17:09 UTC (permalink / raw)
  To: niklaus.giger; +Cc: xenomai

Niklaus Giger wrote:
> Hi
> 
> After a clean checkout of xenomai (r1016) and with a config
> which defines CONFIG_XMON I get the following errors:
>   CC      arch/ppc/xmon/xmon.o
> In file included 

xmon looks like pretty much broken actually, and I see no issue 
regarding Xeno here. privinst.h's GSETSPR creates inlines with different 
return types than the declarations found in asm-ppc/time.h, so no wonder 
why the compiler is whining.

> from /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/xmon.c:23:
> /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:26: error: 
> conflicting types for ‘get_rtcu’
> include2/asm/time.h:102: error: previous definition of ‘get_rtcu’ was here
> /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:27: error: 
> conflicting types for ‘get_rtcl’
> include2/asm/time.h:95: error: previous definition of ‘get_rtcl’ was here
> /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:32: error: 
> conflicting types for ‘get_dec’
> include2/asm/time.h:39: error: previous definition of ‘get_dec’ was here
> /mnt/data.ng/hcu/kernel/ppc/linux-2.6.14/arch/ppc/xmon/privinst.h:32: error: 
> conflicting types for ‘set_dec’
> include2/asm/time.h:48: error: previous definition of ‘set_dec’ was here
> make[2]: *** [arch/ppc/xmon/xmon.o] Fehler 1
> make[1]: *** [arch/ppc/xmon] Fehler 2
> 
> Best regards


-- 

Philippe.


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

* Re: [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o (CONFIG_XMON=y)
  2006-04-29 17:09 ` Philippe Gerum
@ 2006-04-29 17:40   ` Niklaus Giger
  0 siblings, 0 replies; 3+ messages in thread
From: Niklaus Giger @ 2006-04-29 17:40 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai

Am Samstag, 29. April 2006 19:09 schrieb Philippe Gerum:
> Niklaus Giger wrote:
<..>
>
> xmon looks like pretty much broken actually, and I see no issue
> regarding Xeno here. privinst.h's GSETSPR creates inlines with different
> return types than the declarations found in asm-ppc/time.h, so no wonder
> why the compiler is whining.
>
Thanks for your explanation. I have no problems, as I never used XMON.

Best regards

-- 
Niklaus Giger


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

end of thread, other threads:[~2006-04-29 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-29 16:50 [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o (CONFIG_XMON=y) Niklaus Giger
2006-04-29 17:09 ` Philippe Gerum
2006-04-29 17:40   ` Niklaus Giger

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.