From: "Alex" <devnull@domain.hid>
To: 'Breno Carneiro Pinheiro' <brenodee@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Does Xenomai 2.4.x support Xenomm ?
Date: Sun, 11 May 2008 23:38:07 +0200 [thread overview]
Message-ID: <019201c8b3af$4e7ca760$eb75f620$@de> (raw)
In-Reply-To: <6132061f0805111302n769b3787oe2f3d14e2123fa59@domain.hid>
>Hi, I think I got solved the last error ( ./task_test : error while loading
shared libraries : libnative.so.0 : cannot
> open shared object file : Not such file or directory) when I tried to
execute my application below:
>void task_body (void *cookie)
{
for (;;) {
printf("%s\n",'a');
}
}
>I used the Makefile attached!!!
>But now, when I execute ./task_test on my environment I got:
>segmentation fault
>
>Does it any relation with my application?
Check printf() in your task_body: 'a' is not a null-terminated string.
Instead of
printf("%s\n",'a') it should be
printf("%s\n","a") or
printf("%c\n",'a')
Alexander
prev parent reply other threads:[~2008-05-11 21:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 20:01 [Xenomai-help] Does Xenomai 2.4.x support Xenomm ? Hugo Braga
2008-05-07 9:00 ` Gilles Chanteperdrix
2008-05-07 17:46 ` Breno Carneiro Pinheiro
2008-05-07 17:52 ` Gilles Chanteperdrix
2008-05-07 21:06 ` Breno Carneiro Pinheiro
2008-05-07 21:19 ` Gilles Chanteperdrix
2008-05-07 21:27 ` Breno Carneiro Pinheiro
2008-05-07 21:35 ` Gilles Chanteperdrix
2008-05-11 20:02 ` Breno Carneiro Pinheiro
2008-05-11 21:38 ` Alex [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='019201c8b3af$4e7ca760$eb75f620$@de' \
--to=devnull@domain.hid \
--cc=brenodee@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.