Tzafrir Cohen <[EMAIL PROTECTED]> wrote: > On Tue, Feb 05, 2008 at 09:58:54AM +0000, Tony Mountifield wrote: > > Specifically, what kernel version? > > As I understand from an IRC chat - CentOS 5 - 2.6.18-something.
Hmm, ok. > > If you are using 2.6.9 (e.g. Centos 4), > > then by default when you build ztdummy, it does NOT use USE_RTC (although > > IMHO it should do). You should make the following change to ztdummy.c: > > > > #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13) > > On a kernel version that calls itself 2.6.9, that part is never reached. > So that point is mute. "moot", not "mute". But in fact, it isn't, since the #if's "then" part only goes as far as... > > #define USE_RTC ... here, ... > > #else ... and so we are here for kernel versions < 2.6.13 > > -#if 0 > > +#if 1 > > #define USE_RTC > > #endif > > #endif Cheers Tony -- Tony Mountifield Work: [EMAIL PROTECTED] - http://www.softins.co.uk Play: [EMAIL PROTECTED] - http://tony.mountifield.org _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
