'struct hrtimer' build error with linux-2.6.28

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jan 20 14:16:55 UTC 2009


On Sat, Jan 17, 2009 at 12:56:07PM +0000, Nuno Oliveira wrote:
> Hi,
> 
> Using zaptel 1:1.4.11~dfsg-3 in a debian/testing machine I get the
> following error when building the zaptel module:
> 
>   CC [M]  /usr/src/modules/zaptel/kernel/ztdummy.o
> /usr/src/modules/zaptel/kernel/ztdummy.c: In function 'ztdummy_hr_int':
> /usr/src/modules/zaptel/kernel/ztdummy.c:203: error: 'struct hrtimer'
> has no member named 'expires'
> make[4]: *** [/usr/src/modules/zaptel/kernel/ztdummy.o] Error 1
> make[3]: *** [_module_/usr/src/modules/zaptel/kernel] Error 2
> make[3]: Leaving directory `/usr/src/linux-2.6.28'
> make[2]: *** [modules] Error 2
> make[2]: Leaving directory `/usr/src/modules/zaptel'
> make[1]: *** [binary-modules] Error 2
> make[1]: Leaving directory `/usr/src/modules/zaptel'
> make: *** [kdist_build] Error 2
> 
> This seems to be related to the 'struct hrtimer' changes in this kernel
> version. The module builds ok with linux-2.6.27.9. Does anyone have a
> patch for this?

Fixed in upstream Zaptel an in SVN.

I'd like to keep Zaptel buildable under later kernels if possible, so
the lenny-and-a-half kernel won't catch us by surprise.

Upstream Zaptel is in maintenance mode anyway.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the Pkg-voip-maintainers mailing list