All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai FAILED to register object
Date: Tue, 09 Feb 2010 14:53:49 +0100	[thread overview]
Message-ID: <4B7168ED.5050102@domain.hid> (raw)
In-Reply-To: <1265723261.2368.18.camel@domain.hid>

Philippe Gerum wrote:
> On Tue, 2010-02-09 at 14:43 +0100, Alexandre Coffignal wrote:
>> Hi all,
>>
>> I use xenomai to port PSOS application, so I am using xenomai PSOS skin,
>> but i want to use xenomai pthread.
>>
>> My question is do you know if i can use psos skin and posix skin in the
>> same time?
>>
>> I already test it without success : when I load my prog, I have this
>> message :
>>     Xenomai pSOS skin init: t_shadow() failed, status -17
>>
>> and this message in dmess
>>     Xenomai: FAILED to register object MAIN (unknown type), status -17
> 
> Don't call both of them "MAIN".

I think the problem is that both skins try to shadow the main thread.
This can be disabled for the posix skin by passing --enable-dlopen-skins
on configure command line.

-- 
Gilles Chanteperdrix, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


      reply	other threads:[~2010-02-09 13:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-09 13:43 [Xenomai-help] Xenomai FAILED to register object Alexandre Coffignal
2010-02-09 13:46 ` Gilles Chanteperdrix
2010-02-09 13:51   ` Alexandre Coffignal
2010-02-09 13:47 ` Philippe Gerum
2010-02-09 13:53   ` Gilles Chanteperdrix [this message]

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=4B7168ED.5050102@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=rpm@xenomai.org \
    --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.