Benoît CAMUS wrote:
> Hi all,
>
> I got errors in headers while trying to compile basical programs
> (sigcpu.c and a posix thread one). I use ELDK 4.1 cross-compiler for ARM
> architecture and 2.6.19 kernel. So here is error i got:
>
>
> $> arm-linux-gcc -I/opt/eldk/arm/usr/include/ -I/opt/eldk/arm/include/
> -D_GNU_SOURCE -D_REENTRANT -L/opt/eldk/arm/lib/ -lpthread -lnative
> -Xlinker -rpath -Xlinker /opt/eldk/arm/lib/ -o t_posix ./test_thread.c
The most simple way to compile an example for Xenomai posix skin is to
use the xeno-config script as installed by Xenomai. If you have run
Xenomai installation with DESTDIR set, pass the same DESTDIR in
xeno-config environment. Examples usually come with Makefiles that do so.
What version of Xenomai are you using ?
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help