Gilles Chanteperdrix wrote:
> Kolja Waschk wrote:
>> Hi,
>>
>>> The thing I do not understand is that you should not pass any ldflags to
>>> cond-torture-posix, Xenomai build system should have been taken care
>> I have to admit I haven't watched how cond-torture-posix was built. The one I
>> used then was built during the build process of blackfin-uclinux-dist. But
>> since it is the same error that occurs in my shortened example, and
>> xeno-config
>> emits those flags, I assumed that compile flags were used for
>> cond-torture-posix similarly.
>>
>> The short example I refer to is the one described in my posting to the
>> blackfin toolchain-help Forum: Given the example code "a.c"
>>
>> int main()
>> {
>> return 0;
>> }
>>
>> Compile it with:
>>
>> bfin-linux-uclibc-gcc -L/opt/uClinux/blackfin-linux-dist/staging/usr/lib
>> -lxenomai -lpthread_rt -lpthread a.c
>
> The link order is wrong. It should be -lpthread_rt -lxenomai -lpthread.
Actually -lpthread_rt -lxenomai -lpthread -lrt.
Yes, please start a neew thread.
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help