RTAI-CodeGen, Scilab
"Johannes Schröck"
johannes.schroeck at gmx.at
Wed Jul 13 11:10:14 CEST 2005
Hi,
I am trying the "RTAI CodeGen" feature from Scilab 3.1.1 with the example
"test.cos", but it doesn't work. in order to get more detailed
error-messages I entered "make -f test_Makefile ../test" at the command
line. Here is the result:
>make -f test_Makefile ../test
>compiling rtmain.c
>In file included from /usr/local/realtime/include/rtai_netrpc.h:27,
> from rtmain.c:37:
>/usr/local/realtime/include/rtai_lxrt.h: In function >
>`rt_task_init_schmod':
>/usr/local/realtime/include/rtai_lxrt.h:609: error: storage size of
>`mysched' isn't known
>In file included from /usr/local/realtime/include/rtai_netrpc.h:27,
>
from
rtmain.http://www.google.at/search?q=problem+RTAI+CodeGen&hl=de&lr=&start=10&sa=Nc:37:
>/usr/local/realtime/include/rtai_lxrt.h: In function `rt_task_init':
>/usr/local/realtime/include/rtai_lxrt.h:779: error: `SCHED_FIFO'
>undeclared (first use in this function)
>/usr/local/realtime/include/rtai_lxrt.h:779: error: (Each undeclared
>identifier is reported only once
>/usr/local/realtime/include/rtai_lxrt.h:779: error: for each function it
>appears in.)
>rtmain.c: In function `rt_BaseRate':
>rtmain.c:307: error: `SCHED_FIFO' undeclared (first use in this function)
>rtmain.c: In function `rt_HostInterface':
>rtmain.c:360: error: `SCHED_RR' undeclared (first use in this function)
>rtmain.c: In function `rt_Main':
>rtmain.c:589: error: `SCHED_RR' undeclared (first use in this function)
>make: *** [rtmain.o] Error 1
does anybody know whats the problem in this case?
Any help would be appreciated!
Johannes
(I am running kernel 2.6.10 with appropriate ADEOS patch, RTAI 3.2, Scilab
3.1.1. RTAI seems to work correct.)
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
More information about the Rtai
mailing list