Re: 2.6.26-rc2 - ntp.c build failure

From: Roman Zippel
Date: Fri May 16 2008 - 13:42:45 EST


Hi,

On Mon, 12 May 2008, debian developer wrote:

> 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

Please use a clean source tree, a few of these symbols don't exist
anymore.

bye, Roman
--
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/