Hi Xeno users !

just trying to play with Xenomai's demos but I'm having some problems
compiling and running some of them.

Satch for the native skin
==============

I have some troubles here compiling satch.

[EMAIL PROTECTED]:~/xenomai/ksrc/skins/native/demos$ make
cc -o satch satch.c -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT
-D__XENO__ -L/usr/xenomai/lib -lpthread -lnative
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crt1.o: In function
`_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
collect2: ld returned 1 exit status

Satch for the posix skin
==============

Building process works fine but running satch fails :
My .runinfo file looks like:
satch:posix:!./satch_rt;popall:control_c

[EMAIL PROTECTED]:~/xenomai/ksrc/skins/posix/demos$ xeno-load ./:satch
*
*
* Type ^C to stop this application.
*
*
Satch: producer module not running, please launch producer module before
launching consumer application.
__xeno_user_init: 2

I understand from xenomai/ksrc/skins/posix/demos/Kbuild and going quickly
through satch.c code that there should be a first module to insmod before
using the consumer module but how/when is the producer module supposed to be
built? I don't find any other module in my xenomai built tree or in my
/lib/modules/*-ipipe kernel.

The accuracy demo works fine though.

About Xenomai test-suite
===============

When I run the latency test I get something like:

sudo ./latency
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT|  00:00:01  (periodic user-mode task, 100 us period, priority 99)
RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
worst
RTD|      -4.484|      -4.182|      -1.449|       0|      -4.484|      -
1.449
RTD|      -4.421|      -4.056|      -1.278|       0|      -4.484|      -
1.278
RTD|      -4.451|      -4.056|      -1.062|       0|      -4.484|      -
1.062
---|------------|------------|------------|--------|-------------------------

Sorry about the dummy question here but what is the meaning of: RTT, RTH and
RTD?

By the way, when I run the whole test suite, xeno-test, my box hangs when I
hit the control-C key in the latency test. I then figured out that the
command used for the workload (dd if=/dev/zero of=/dev/null) make my linux
hangs outside the test anyway! Any reason for that?


FYI: my config (via xeno-config)
==================

[EMAIL PROTECTED]:~/xenomai/ksrc/skins$ xeno-config
xeno-config --verbose
   --version="2.3.50"
   --cc="gcc"
   --arch="i386"
   --prefix="/usr/xenomai"
   --xeno-cflags="-I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT
-D__XENO__"
   --xeno-ldflags="-L/usr/xenomai/lib -lpthread "
   --posix-cflags="-I/usr/xenomai/include -I/usr/xenomai/include/posix
-D_GNU_SOURCE -D_REENTRANT -D__XENO__"
   --posix-ldflags="-L/usr/xenomai/lib -lpthread_rt -lpthread -lrt "
   --library-dir="/usr/xenomai/lib"
Usage xeno-config OPTIONS
Options :
       --help
       --v,--verbose
       --version
       --cc
       --arch
       --prefix
       --xeno-cflags
       --xeno-ldflags
       --posix-cflags
       --posix-ldflags
       --lib*-dir,--libdir,--user-libdir


Any help, answer or advice in one the above mentioned points will be very
appreciated ;)

Thanks in advance.

--
Bruno
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to