All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Paul <paul_c@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] SMP build failure (2.6.28)
Date: Thu, 12 Feb 2009 23:41:37 +0100	[thread overview]
Message-ID: <4994A5A1.9050402@domain.hid> (raw)
In-Reply-To: <200902122231.25745.paul_c@domain.hid>

Paul wrote:
> Patching a 2.6.28.2 with the relevant patch in trunk, using a config with SMP 
> enabled resulted in:
> 
>   LD      kernel/xenomai/arch/built-in.o
>   CC      kernel/xenomai/nucleus/heap.o
> In file included from include/xenomai/nucleus/pod.h:34,
>                  from kernel/xenomai/nucleus/heap.c:66:
> include/xenomai/nucleus/sched.h: In function ‘xnsched_self_resched_p’:
> include/xenomai/nucleus/sched.h:171: error: ‘nkpod’ undeclared (first use in 
> this function)
> include/xenomai/nucleus/sched.h:171: error: (Each undeclared identifier is 
> reported only once
> include/xenomai/nucleus/sched.h:171: error: for each function it appears in.)
> make[3]: *** [kernel/xenomai/nucleus/heap.o] Error 1
> 
> 
> Digging in to the nucleus/sched.h and nucleus/pod.h headers, there appears to 
> be a circular dependency around nkpod_struct - This only hits home with 
> CONFIG_SMP defined.

There must be some other option triggering the bug, because I run trunk
with 2.6.28 on an SMP x86(_64).

-- 
					    Gilles.



  reply	other threads:[~2009-02-12 22:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-12 22:31 [Xenomai-core] SMP build failure (2.6.28) Paul
2009-02-12 22:41 ` Gilles Chanteperdrix [this message]
2009-02-12 23:19   ` Paul
2009-02-13  2:00     ` Gilles Chanteperdrix

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=4994A5A1.9050402@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=paul_c@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.