>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
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help