Re: PROBLEM: make bzImage fails when LANG set

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Mar 17 2003 - 19:32:41 EST


On Sun, 16 Mar 2003 11:53:48 -0500,
Maxime <x@organigramme.net> wrote:
>I'm on a lfs 4.0 system. I installed the kernel witouth any problem.
> But then I eventually needed to recompile, and it failed during the
>make bzImage. Outputing this :
>
>Dans le fichier inclus à partir de
>/usr/src/linux-2.4.19/include/linux/wait.h:13,
> à partir de /usr/src/linux-2.4.19/include/linux/fs.h:12,

Index: 19.1/Makefile
--- 19.1/Makefile Sat, 03 Aug 2002 11:13:10 +1000 kaos (linux-2.4/T/c/50_Makefile 1.1.2.15.1.2.2.25.2.2.1.17.1.4.1.29.1.40.1.30 644)
+++ 19.1(w)/Makefile Tue, 18 Mar 2003 11:31:05 +1100 kaos (linux-2.4/T/c/50_Makefile 1.1.2.15.1.2.2.25.2.2.1.17.1.4.1.29.1.40.1.30 644)
@@ -258,7 +258,7 @@ include arch/$(ARCH)/Makefile
 # 'kbuild_2_4_nostdinc :=' or -I/usr/include for kernel code and you are not UML
 # then your code is broken! KAO.
 
-kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
+kbuild_2_4_nostdinc := -nostdinc $(shell LANG=C $(CC) -print-search-dirs | sed -ne 's/install: \(.*\)/-I \1include/gp')
 export kbuild_2_4_nostdinc
 
 export CPPFLAGS CFLAGS CFLAGS_KERNEL AFLAGS AFLAGS_KERNEL

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:21 EST