Hi Yuhong,
Sorry, last time i gave a shortcut, follow the following steps, u
will be able to run the program.
uncomment the #define CONFIG_RTL_USE_V1_API 1 in
include/rtl_conf.h file.
run make clean;make;make install under rtl directory.
and then u should'nt face any problme
-Santhosh
On Tue, 8 Feb 2000, Yuhong Ren wrote:
> Hi, Santhosh,
>
> Thank you very much, I added the line of "#define RT_TASK pthread_t" in the
> frank_module.c file, and the problem I mentioned last time disappeared,
> however, another problem came out, after "make", it told me some warnings:
> "implicit declaration of function rt_task_init, rt_task_wait,
> rt_task_delete, rt_get_time, etc", and when I ran "make test", it told me
> "unresolved symbol" of the functions mentioned above.
>
> Now, I have to doubt whether the path of some include files have been set up
> well. Because I know the "RT_TASK" has been defined in "rtl_sched.h", and
> the frank_module.c has declared the including of "rtl_sched.h", so I think
> the line of "#define RT_TASK pthread_t" is not needed in the frank_module.c,
> I am not sure if I am right.
>
> Thanks again, hope you could please tell me how to cope with the second
> problem. Looking forward to your kind instruction.
>
> Yuhong
>
>
>
>
> ----- Original Message -----
> From: Santhosh Kumar M [CEC-S] <[EMAIL PROTECTED]>
> To: Yuhong Ren <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 08, 2000 9:17 PM
> Subject: Re: [rtl] Example of RTL
>
>
> >
> > Hi,
> >
> > Include the following statement in frank_module.c file and do a
> > make
> > #define RT_TASK pthread_t
> >
> > -Santhosh
> >
> > > I am a new user of RTL. I just installed RTL 2.0 based on the Linux
> 2.2.13
> > > kernel, it seems that everything is okay. I could run the example of
> > > "sound", "frank". However, when I enter the examples of directory of
> > > /rtlinux/rtl/examples/compat/, enter "make", then an error information
> came
> > > out, it told me that "parse error before mytask". The line in the source
> > > code is "RT_TASK mytask". I was puzzled since this line can be compiled
> > > through in other examples.
> > >
> > > Hope you could please tell me what is the problem, thanks a lot.
> > >
> > > Yuhong
> > >
> > >
> > > --- [rtl] ---
> > > To unsubscribe:
> > > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > > ----
> > > For more information on Real-Time Linux see:
> > > http://www.rtlinux.org/~rtlinux/
> > >
> >
> > --- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > ----
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/~rtlinux/
>
> --- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ----
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/~rtlinux/
>
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/