RTAI/fusion Timer Task Example Doubt
kiszka at rts.uni-hannover.de
Thu Jul 14 14:20:10 CEST 2005
> Hi all,
> I am a student and new to RTAI/Fusion.I downloaded RTAI/fusion 0.7
> and I followed the
> Bootstrapping with fusion in 7 steps in README.INSTALL with vanilla
> kernel(2.6.11).I also tried the testsuites.It worked fine.I wanted to
> try timer task example in
> I have some problems in that.when I tried make i get the following error...
> gcc -I. -I/usr/realtime/include -O2
> -I/lib/modules/2.6.11adeos/build/include -D_GNU_SOURCE -D_REENTRANT
> -march=athlon -Wall -Wstrict-prototypes -pipe -fstrict-aliasing
> -Wno-strict-aliasing -L/usr/realtime/lib -lfusion -lpthread -lrtai -o
> timer timer.c
> timer.c: In function `main':
> *timer.c:45: warning: implicit declaration of function `rt_task_spawn'
> /tmp/ccIQ6xk6.o(.text+0x129): In function `main':
> : undefined reference to `rt_task_spawn'
> collect2: ld returned 1 exit status*
> make: *** [timer] Error 1
> Can anyone help me.Do I have to provide some more info?.
> thanks in advance
Why not using a recent fusion version? Latest is 0.8.2! rt_task_spawn
was introduced some releases past 0.7.
More information about the Rtai