All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] valgrind and modprobe xeno_posix
@ 2011-02-17  9:45 Franz Engel
  2011-02-17 10:07 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Franz Engel @ 2011-02-17  9:45 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

Hi,

I'm still doubtful if I installed Xenomai correctly. When I start my QT-Programm 
it runs correctly and I can see a new process in /proc/xenomai/state with the 
name of my program. I insert the following lines in my *.pro-File (the draft for 
my makefile):
LIBS += -Wl,@usr/xenomai/lib/posix.wrappers -L/usr/xenomai/lib -lpthread_rt 
-lxenomai -lpthread -lrt -Xlinker -rpath -Xlinker /usr/xenomai/lib
LIBS += -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__ 
-I/usr/xenomai/include/posix

I'm absoult no makefile pro. The two lines are the only thing I changed in my 
*.pro file. Do I have to make more changes?

Futhermore, when I run:
valgrind --leak-check=yes ./demo

I get the correct valgrind output, but also a line of xenomai:
Xenomai: POSIX skin or CONFIG_XENO_OPT_PERVASIVE disabled
(modprobe xeno_posix?)

Do I use a bad makefile?

Thanking you in anticipation,
     Franz



[-- Attachment #2: Type: text/html, Size: 1398 bytes --]

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

end of thread, other threads:[~2011-02-17 21:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17  9:45 [Xenomai-help] valgrind and modprobe xeno_posix Franz Engel
2011-02-17 10:07 ` Gilles Chanteperdrix
2011-02-17 13:32   ` Franz Engel
2011-02-17 21:13     ` Gilles Chanteperdrix

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.