Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ???
Hi,
I'm trying to patch "rt-firewire 0.1" for lastest xenomai patched kernel. I fixed some functions to altered one. But, xnpod_start_timer(), xnpod_stop_timer() and relates do not exist in pod.c.
and try to find same function name in Xenomai but there are no exists. Where can I find these functions? or How to solve it?
In file included from
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rt1394_sys.h:44,
from /home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c:31:
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:
In function ‘rtos_timer_start_oneshot’:
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:540:
error: implicit declaration of function ‘xnpod_start_timer’
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:540:
error: ‘XNPOD_DEFAULT_TICKHANDLER’ undeclared (first use in this
function)
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:540:
error: (Each undeclared identifier is reported only once
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:540:
error: for each function it appears in.)
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:
In function ‘rtos_timer_stop’:
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/include/rtos_primitives.h:545:
error: implicit declaration of function ‘xnpod_stop_timer’
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c: In
function ‘rt_serv_init’:
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c:442:
error: incompatible types in assignment
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c: In
function ‘serv_module_init’:
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c:536:
warning: ‘rt_timer_start’ is deprecated (declared at
/usr/xenomai/include/native/timer.h:254)
/home/hy/dIHC/rt_firewire/RT-FireWire-0.1/rt_serv/rt_serv.c:559:
error: too few arguments to function ‘rtdm_nrtsig_initKim, Hee-young
Quoted 7 lines · Hee-young
Hi,
I'm trying to patch "rt-firewire 0.1" for lastest xenomai patched kernel. I fixed some functions to altered one. But,
xnpod_start_timer(),xnpod_stop_timer()and relates do not exist inpod.c.
and try to find same function name in Xenomai but there are no exists. Where can I find these functions? or How to solve it?
The replacement is xnpod_enable_timesource, but you should not need to call it explicitely, especially not in a driver. So, you should rather remove these calls.
BTW, any plan to publish the modified code ?
Signature · 1 line
Gilles.
Quoted 9 lines · Gilles Chanteperdrix
Quoted 7 lines · Hee-young
Hi,
I'm trying to patch "rt-firewire 0.1" for lastest xenomai patched kernel. I fixed some functions to altered one. But,
xnpod_start_timer(),xnpod_stop_timer()and relates do not exist inpod.c.
and try to find same function name in Xenomai but there are no exists. Where can I find these functions? or How to solve it?
Quoted 6 lines
The replacement is
xnpod_enable_timesource, but you should not need to call it explicitely, especially not in a driver. So, you should rather remove these calls.BTW, any plan to publish the modified code ?
In any case, always use latest SVN as basis (it doesn't include that service anymore, BTW) and put the rtfirewire mailing list on CC.
Jan
Thanks Gilles Chanteperdrix and Jan Kiszka for your help.
If I success to patch rt-firewire I'll post it on site. But, I can't guarantee when it finish. I've just subscribed to rt-firewire mailing list. BTW, is it alive?
Kim, Hee-young.
Jan Kiszka ? ?:
Quoted 26 lines
Quoted 10 lines · Gilles Chanteperdrix
Quoted 8 lines · Hee-young
Hi,
I'm trying to patch "rt-firewire 0.1" for lastest xenomai patched kernel. I fixed some functions to altered one. But,
xnpod_start_timer(),xnpod_stop_timer()and relates do not exist inpod.c.
and try to find same function name in Xenomai but there are no exists. Where can I find these functions? or How to solve it?Quoted 7 lines
The replacement is
xnpod_enable_timesource, but you should not need to call it explicitely, especially not in a driver. So, you should rather remove these calls.BTW, any plan to publish the modified code ?
In any case, always use latest SVN as basis (it doesn't include that service anymore, BTW) and put the rtfirewire mailing list on CC.
Jan