Hi,
I just tried Linux 2.6.12 and I had to change one file in "script"
because my compilation failed on mcconf.c. I tried to contact Arnaldo
Carvalho de Melo about the proposed change because he changed this file
recently adding, among other things, a call to setlocale(). But the
corresponding header file ("locale.h") is not
listed in the files to #include.
This is failing on my cross-compilation environment (From a solaris
system) using gcc-3.4.1 (as the compiler can't find a prototype for the
setlocale() function).
I am not sure who is the "maintainer" of this part of the build system,
so I am now broadcasting it to a larger audience. I hope that's OK.
Sorry if this has already been found/fixed but my "googling" for it
didn't report any hit.
Thanks
JC
=====================================================================
Add <locale.h> in the list of included files to allow the compiler to
find the setlocale() prototype.
Signed-off-by: Jean-Christophe Dubois <[email protected]>
--- linux-2.6.12/scripts/kconfig/mconf.c 2005-06-17
15:48:29.000000000 -0400
+++ linux-2.6.12.mrcy/scripts/kconfig/mconf.c 2005-06-20
12:34:49.509259000 -0400
@@ -20,6 +20,7 @@
#include <string.h>
#include <termios.h>
#include <unistd.h>
+#include <locale.h>
#define LKC_DIRECT_LINK
#include "lkc.h"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]