Re: 2.6.24-rc8-mm1

From: Kyle McMartin
Date: Fri Jan 18 2008 - 13:06:39 EST


On Thu, Jan 17, 2008 at 02:35:14AM -0800, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.24-rc8/2.6.24-rc8-mm1/
>

Odd nobody else has seen this... oldconfig fails for me on Debian...
kconfig/conf.c is using setlocale() without including the locale.h
header.

HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function 'main':
scripts/kconfig/conf.c:502: warning: implicit declaration of function
'setlocale'
scripts/kconfig/conf.c:502: error: 'LC_ALL' undeclared (first use in
this function)
scripts/kconfig/conf.c:502: error: (Each undeclared identifier is
reported only once

Signed-off-by: Kyle McMartin <kyle@xxxxxxxxxxx>

--- a/scripts/kconfig/conf.c 2008-01-17 15:45:59.000000000 -0800
+++ b/scripts/kconfig/conf.c 2008-01-18 10:01:54.000000000 -0800
@@ -3,6 +3,8 @@
* Released under the terms of the GNU GPL v2.0.
*/

+#include <locale.h>
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
--
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/