Comedi, ADEOS and RTAI

galvosas at physik.uni-leipzig.de galvosas at physik.uni-leipzig.de
Mon Jan 30 17:31:33 CET 2006


Hi,
After hours and days I'm lost. I hope someone could point me to the right
direction.

I want to make a RT application work with a Meilhaus me466i card, so I decided
that COMEDI is a good choice. The PC is a AMD K7 and I run gentoo.

OK, as far as I figured things out COMEDI does not work with Fusion and even
less with Xenomai (it keeps complaining that rtai.h can't be found). Am I
right?

So I switched to RTAI 3.2 with ADEOS (IPIPE is not supported, right?) with the
following configuration:

kernel:           linux-2.6.11.tar.bz2
Adeos:            adeos-linux-2.6.11-i386-r11.patch
Gentoo patches:   genpatches-2.6.11-14.base.tar.bz2
                  genpatches-2.6.11-14.extras.tar.bz2
additional patch: adeos-sources-2.6.11-r11.patch

I followed the instruction in
http://gentoo-wiki.com/HOWTO_ADEOS-based_RTAI/fusion_on_Gentoo
from which I also took the additional patch. Going on with the instruction on
this web page I installed a working rtai/fusion. All the tests are positive.

Unfortunately, COMEDI did not compile because of the missing rtai header file.

Therefore I switched to RTAI3.2 with the same kernel config as above. Here the
make stops after a good looking configure step (see below the last lines of the
output for make). Is there anyone who could help me with this problem?

Many thanks in advance
Petrik

In file included from /usr/src/rtai-3.2/base/include/rtai_shm.h:104,
                 from /usr/src/rtai-3.2/base/include/rtai_scb.h:42,
                 from /usr/src/rtai-3.2/base/include/rtai_schedcore.h:31,
                 from /usr/src/rtai-3.2/base/sched/sched.c:70:
/usr/src/rtai-3.2/base/include/asm/rtai_shm.h: In function `uvirt_to_kva':
/usr/src/rtai-3.2/base/include/asm/rtai_shm.h:52: warning: passing arg 1 of
`pmd_offset' from incompatible pointer type
/usr/src/rtai-3.2/base/sched/sched.c: In function `rt_schedule':
/usr/src/rtai-3.2/base/sched/sched.c:846: error: structure has no member named
`used_math'
/usr/src/rtai-3.2/base/sched/sched.c: In function `rt_timer_handler':
/usr/src/rtai-3.2/base/sched/sched.c:1153: error: structure has no member named
`used_math'
/usr/src/rtai-3.2/base/sched/sched.c: In function `thread_fun':
/usr/src/rtai-3.2/base/sched/sched.c:1797: error: structure has no member named
`used_math'
/usr/src/rtai-3.2/base/sched/sched.c: In function `steal_from_linux':
/usr/src/rtai-3.2/base/sched/sched.c:1910: error: structure has no member named
`used_math'
make[6]: *** [/usr/src/rtai-3.2/base/sched/sched.o] Error 1
make[5]: *** [_module_/usr/src/rtai-3.2/base/sched] Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.11-adeos-r11'
make[4]: *** [rtai_up.ko] Error 2
make[4]: Leaving directory `/usr/src/rtai-3.2/base/sched'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/rtai-3.2/base/sched'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/rtai-3.2/base'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/rtai-3.2'
make: *** [all] Error 2


-- 


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Rtai mailing list