lkml.org 
[lkml]   [2003]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: PROBLEM: make bzImage fails when LANG set
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.040 / U:3.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site