posix message queues support doubt

Antonio Santos ansantos at fe.up.pt
Mon Dec 20 16:17:44 CET 2004


Hi,

I've installed RTAI 3.1 with kernel 2.6.7 and everything went fine, apart a
lot of warning messages like the following during the compilation:

Building modules, stage 2.
  MODPOST
*** Warning: "rt_schedule" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "reset_rt_fun_entries"
[/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko] undefined!
*** Warning: "rtai_global_heap"
[/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko] undefined!
*** Warning: "set_rt_fun_entries"
[/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko] undefined!
*** Warning: "rt_get_adr" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rt_pend_linux_srq"
[/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko] undefined!
*** Warning: "rt_smp_linux_task"
[/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko] undefined!
*** Warning: "rtheap_free" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rt_smp_current" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rt_drg_on_adr" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rtheap_alloc" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rt_register" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rt_get_time" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "rtai_domain" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!
*** Warning: "wake_up_srq" [/root/rtai-3.1/rtai-core/ipc/bits/rtai_bits.ko]
undefined!

This happens with other modules also.
Is this a real problem?
Anyway, as far as I know, kernel 2.6.7 has support for posix message queues,
but after I installed RTAI, some examples I have now keep outputting the
following error in runtime:

Creating queue error: Function not implemented

This happens when some of the posix message queues functions is called. It is
complaining about lack of kernel support. These examples were compiled with
-lrt but now it seems that RTAI removed the posix message queues support from
the kernel, replacing it with RTAI's.
Of course, if I boot up with a normal 2.6.7 kernel, everything runs fine.
Any idea if I can maintain the kernel support for posix message queues?

Thanks,

Antonio Santos
FEUP - Portugal





More information about the Rtai mailing list