Hello,
My name  is Cyrille AUFFRET, I am a student and a newcomer to RT Linux.
I am trying to use the 0.6 version of the RT Linux, since I have the
2.0.33 version of the Linux Kernel.
Using the example program that have been provided  /testing/fp , I've
got a problem with rt_use_fp function.
While running the application I receive an error message :

rt_use_fp undefined
Loading failed!  The module symbols (from linux-2.0.33) don't match your

linux-2.0.33

In the meanwhile, I am trying to develop an application in order to
measure RT Linux performances and I have the same problem when Iam using

floating point.
I include the librairies  which were indicated in the man pages for
rt_use_fp :

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/errno.h>
#include <linux/rt_sched.h>

or

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/errno.h>
#include  <asm/rt_sched.h>

I've read some questions on rtlinux mailing list, and I know that other
function exist (rt_task_use_fp...)
but they don't work neither.

Here is the kind of application I am using:

void fun (int n)
{
        rt_use_fp(1);
        while(1)  {

                  /* diff�rentes op�rations math�mathiques */

                  /* et envoie des donn�es vers une tache Linux */
                 rt_task_wait();
        }
}



I expect somebody to have some idea with these information.
Thanks a lot.

Cyrille AUFFRET.
France.



-- [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/

Reply via email to