From: Philippe Gerum <rpm@xenomai.org>
To: Nicolas SCHURANDO <schurann@ext.essilor.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] VxWorks API on Xenomai 3.0
Date: Mon, 18 Jan 2016 12:55:39 +0100 [thread overview]
Message-ID: <569CD2BB.7000405@xenomai.org> (raw)
In-Reply-To: <CA+CJOCyPzwWEQScYL=hjzntHxGFq_oF+qen8WF+LEdZWoDAtnQ@mail.gmail.com>
On 01/15/2016 10:57 AM, Nicolas SCHURANDO wrote:
> Hi Philippe,
>
> Thank your for your answer. I have read the manual page entitled
> "Application setup and init", and in particular the part about manual vs
> automatic bootstrap, and I have tried to follow the instructions to the
> letter.
>
> Cross GCC Compiler command is :
>
> arm-linux-gnueabihf-gcc -D_GNU_SOURCE -D_REENTRANT -D__COBALT__
> -ID:\Gcc\Raspberry-4.9.2-Rpi2Test\arm-linux-gnueabihf\sysroot\usr\xenomai\include\cobalt
> -ID:\Gcc\Raspberry-4.9.2-Rpi2Test\arm-linux-gnueabihf\sysroot\usr\xenomai\include
> -ID:\Gcc\Raspberry-4.9.2-Rpi2Test\arm-linux-gnueabihf\sysroot\usr\xenomai\include\vxworks
> -O0 -g3 -Wall -c -fmessage-length=0 -mcpu=cortex-a7 -mfpu=neon-vfpv4
> -mfloat-abi=hard -MMD -MP -MF"main.d" -MT"main.d" -o "main.o"
> "../main.c"
>
>
> Cross GCC Linker command is :
>
> arm-linux-gnueabihf-gcc -L../libs
> D:\Gcc\Raspberry-4.9.2-Rpi2Test\arm-linux-gnueabihf\sysroot\usr\xenomai\lib\xenomai\bootstrap.o
> -Wl,--wrap=main
> -Wl,--dynamic-list=D:\Gcc\Raspberry-4.9.2-Rpi2Test\arm-linux-gnueabihf\sysroot\usr\xenomai\lib\dynlist.ld
> -o "rpi-test-bug-watchdog" ./main.o -lvxworks -lcopperplate
> -lcobalt -lpthread -lrt
>
>
> And if I try to add an explicit call to xenomai_init at the very
> beginning of my main, here is what happens :
>
> 0"001.000| WARNING: [main] duplicate call to xenomai_init() ignored
> 0"001.618| WARNING: [main] (xeno-config --no-auto-init disables
> implicit call)
>
>
> What could I be missing ?
I don't understand your question. What is wrong with this output?
--
Philippe.
next prev parent reply other threads:[~2016-01-18 11:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 9:22 [Xenomai] VxWorks API on Xenomai 3.0 Nicolas SCHURANDO
2016-01-14 17:24 ` Philippe Gerum
2016-01-15 9:57 ` Nicolas SCHURANDO
2016-01-18 11:55 ` Philippe Gerum [this message]
2016-01-18 12:34 ` Nicolas SCHURANDO
2016-01-18 15:19 ` Philippe Gerum
2016-01-18 18:15 ` Nicolas SCHURANDO
2016-01-19 8:22 ` Philippe Gerum
2016-01-25 15:37 ` Nicolas SCHURANDO
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=569CD2BB.7000405@xenomai.org \
--to=rpm@xenomai.org \
--cc=schurann@ext.essilor.com \
--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.