All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ???
@ 2009-04-28  1:13 Kim, Hee-young
  2009-04-28  5:26 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 4+ messages in thread
From: Kim, Hee-young @ 2009-04-28  1:13 UTC (permalink / raw)
  To: xenomai

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_init

Kim, Hee-young


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ???
  2009-04-28  1:13 [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ??? Kim, Hee-young
@ 2009-04-28  5:26 ` Gilles Chanteperdrix
  2009-04-28  7:05   ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Gilles Chanteperdrix @ 2009-04-28  5:26 UTC (permalink / raw)
  To: Kim, Hee-young; +Cc: xenomai

Kim, Hee-young wrote:
> 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?

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 ?

-- 
					    Gilles.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ???
  2009-04-28  5:26 ` Gilles Chanteperdrix
@ 2009-04-28  7:05   ` Jan Kiszka
  2009-04-28 12:42     ` Kim, Hee-young
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2009-04-28  7:05 UTC (permalink / raw)
  To: Gilles Chanteperdrix, Kim, Hee-young; +Cc: xenomai, rtfirewire-devel

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Gilles Chanteperdrix wrote:
> Kim, Hee-young wrote:
>> 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?
> 
> 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ???
  2009-04-28  7:05   ` Jan Kiszka
@ 2009-04-28 12:42     ` Kim, Hee-young
  0 siblings, 0 replies; 4+ messages in thread
From: Kim, Hee-young @ 2009-04-28 12:42 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai, rtfirewire-devel

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 ? ?:
> Gilles Chanteperdrix wrote:
>   
>> Kim, Hee-young wrote:
>>     
>>> 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?
>>>       
>> 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
>
>   


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-28 12:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-28  1:13 [Xenomai-help] Does not exist "xnpod_start_timer" on Xenomai 2.4.7 ??? Kim, Hee-young
2009-04-28  5:26 ` Gilles Chanteperdrix
2009-04-28  7:05   ` Jan Kiszka
2009-04-28 12:42     ` Kim, Hee-young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.