From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Vera Snowball <vera.snowball@domain.hid>
Cc: xenomai@xenomai.org, haknick@domain.hid
Subject: Re: [Xenomai-help] xenomai, skins, design and a practical approach
Date: Thu, 20 May 2010 19:33:34 +0200 [thread overview]
Message-ID: <4BF5726E.1020503@domain.hid> (raw)
In-Reply-To: <2319761F7FA0D1479BA77EC2E0A8E7BCE8A305@domain.hid>
Vera Snowball wrote:
> We do use native skin. The reason I'm trying to compile xenosim
> simulator is because I found that this is the only way to test
> xenomai app with valgrind. Although I'm having an issue with the
> compilation during 'make install' (I posted this question as well):
>
> make[1]: Leaving directory
> `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/vm' Making install in
> adapter make[1]: Entering directory
> `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' g++
> -DHAVE_CONFIG_H -I. -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter
> -I../include -D__XENO_SIM__ -fno-exceptions
> -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/..
> -I/usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include -O2
> -MT adapter.o -MD -MP -MF .deps/adapter.Tpo -c -o adapter.o
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc In file
> included from
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/sched.h:31,
> from
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/pod.h:34,
> from /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:23:
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h:
> In function âxnthread* xnthread_lookup(xnhandle_t)â:
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../../include/nucleus/thread.h:431:
> error: invalid conversion from âvoid*â to âxnthread*â In file
> included from
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/manager.h:38, from
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:25:
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h: At
> global scope:
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/../vm/thread.h:52:
> warning: âtypedefâ was ignored in this declaration
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc: In function
> âconst char* mvm_get_thread_mode(void*)â:
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:65: error:
> too few arguments to function
> /usr/src/xenomai-2.5.1/xenosim-2.4.7/adapter/adapter.cc:67: error:
> too few arguments to function make[1]: *** [adapter.o] Error 1
> make[1]: Leaving directory
> `/usr/src/xenomai-2.5.1/xenosim-2.4.7/Build_/adapter' make: ***
> [install-recursive] Error 1
You are probably using a too recent version of gcc.
>
> If you have any suggestion on how to run the xenomai app with
> valgrind, it would be great to know it. I got syscall 555 error by
> trying to run our app with valgrind in a usual way (w/o xenosim).
As I told you, the only practical way is to have a way to compile your
application for using plain Linux services. If you are using the posix
skin, it is easy, if you are using the native skin, it is a bit harder,
but not impossible.
--
Gilles.
next prev parent reply other threads:[~2010-05-20 17:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-19 19:23 [Xenomai-help] xenomai, skins, design and a practical approach haknick
2010-05-19 19:36 ` Vera Snowball
2010-05-20 11:15 ` Gilles Chanteperdrix
2010-05-20 17:07 ` Vera Snowball
2010-05-20 17:33 ` Gilles Chanteperdrix [this message]
2010-05-21 0:25 ` Vera Snowball
[not found] ` <AANLkTikXdeZFuZvhVk99zqLlF3vL68VId9lUh84tP4RV@mail.gmail.com>
2010-05-19 20:03 ` [Xenomai-help] Fwd: " Eric Noulard
2010-05-19 20:52 ` [Xenomai-help] " haknick
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=4BF5726E.1020503@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=haknick@domain.hid \
--cc=vera.snowball@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.