2.6.26-rc2 - ntp.c build failure

From: debian developer
Date: Mon May 12 2008 - 06:13:59 EST


Hi Roman,

The current rc2 does not build with allyesconfig. Seems there are lots
of errors...

Please find the error log below...

kernel/time/ntp.c: In function `ntp_leap_second':
kernel/time/ntp.c:150: error: `time_tai' undeclared (first use in this function)
kernel/time/ntp.c:150: error: (Each undeclared identifier is reported only once
kernel/time/ntp.c:150: error: for each function it appears in.)
kernel/time/ntp.c: In function `do_adjtimex':
kernel/time/ntp.c:328: error: `SHIFT_NSEC' undeclared (first use in
this function)
kernel/time/ntp.c:378: error: `mtemp' undeclared (first use in this function)
kernel/time/ntp.c:381: error: `freq_adj' undeclared (first use in this function)
kernel/time/ntp.c:382: warning: type defaults to `int' in declaration of `__x'
kernel/time/ntp.c:382: warning: type defaults to `int' in declaration of `__s'
kernel/time/ntp.c:386: error: `temp64' undeclared (first use in this function)
kernel/time/ntp.c:398: warning: type defaults to `int' in declaration of `_min1'
kernel/time/ntp.c:398: error: `MAXFREQ_NSEC' undeclared (first use in
this function)
kernel/time/ntp.c:398: warning: type defaults to `int' in declaration of `_min2'
kernel/time/ntp.c:399: warning: type defaults to `int' in declaration of `_max1'
kernel/time/ntp.c:399: warning: type defaults to `int' in declaration of `_max2'
kernel/time/ntp.c:400: error: implicit declaration of function
`div_long_long_rem_signed'
kernel/time/ntp.c:402: error: `rem' undeclared (first use in this function)
kernel/time/ntp.c:403: error: `SHIFT_UPDATE' undeclared (first use in
this function)
kernel/time/ntp.c:419: warning: type defaults to `int' in declaration of `__s'
kernel/time/ntp.c:279: warning: unused variable `sec'
kernel/time/ntp.c: At top level:
kernel/time/ntp.c:65: warning: 'ntp_update_offset' defined but not used
make[2]: *** [kernel/time/ntp.o] Error 1
make[1]: *** [kernel/time] Error 2
make: *** [kernel] Error 2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/