All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: niklaus.giger@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Problems compiling arch/ppc/xmon/xmon.o	(CONFIG_XMON=y)
Date: Sat, 29 Apr 2006 19:09:49 +0200	[thread overview]
Message-ID: <44539DDD.9060200@domain.hid> (raw)
In-Reply-To: <200604291850.36231.niklaus.giger@domain.hid>

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.


  reply	other threads:[~2006-04-29 17:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2006-04-29 17:40   ` Niklaus Giger

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=44539DDD.9060200@domain.hid \
    --to=rpm@xenomai.org \
    --cc=niklaus.giger@domain.hid \
    --cc=xenomai@xenomai.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.