public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* compil error with a LC_ALL="fr_BE@euro" !!! why ?
@ 2002-08-20  8:13 Stephane Wirtel
  2002-08-20  9:05 ` Jan Hudec
  0 siblings, 1 reply; 5+ messages in thread
From: Stephane Wirtel @ 2002-08-20  8:13 UTC (permalink / raw)
  To: ML - Linux-Kernel

when i compile the kernel with a LC_ALL="fr_BE@euro", i have many errors.

and when i use a LC_ALL="en_US", i don't have any problem.

why ?

Best regards,

Stephane Wirtel

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
Web : www.linux-mons.be	 "Linux Is Not UniX !!!"

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compil error with a LC_ALL="fr_BE@euro" !!! why ?
  2002-08-20  8:13 compil error with a LC_ALL="fr_BE@euro" !!! why ? Stephane Wirtel
@ 2002-08-20  9:05 ` Jan Hudec
  2002-08-20  9:21   ` Stephane Wirtel
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Hudec @ 2002-08-20  9:05 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: linux-kernel

On Tue, Aug 20, 2002 at 10:13:43AM +0200, Stephane Wirtel wrote:
> when i compile the kernel with a LC_ALL="fr_BE@euro", i have many errors.
> 
> and when i use a LC_ALL="en_US", i don't have any problem.

Please include the error messages you get.

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compil error with a LC_ALL="fr_BE@euro" !!! why ?
  2002-08-20  9:05 ` Jan Hudec
@ 2002-08-20  9:21   ` Stephane Wirtel
  2002-08-20  9:42     ` Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: Stephane Wirtel @ 2002-08-20  9:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jan Hudec

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

the compiler is gcc-3.2, don't forget this information.

here my error, see my attachment

On Tue, Aug 20, 2002 at 11:05:21AM +0200, Jan Hudec wrote:
> On Tue, Aug 20, 2002 at 10:13:43AM +0200, Stephane Wirtel wrote:
> > when i compile the kernel with a LC_ALL="fr_BE@euro", i have many errors.
> > 
> > and when i use a LC_ALL="en_US", i don't have any problem.
> 
> Please include the error messages you get.
> 
> -------------------------------------------------------------------------------
> 						 Jan 'Bulb' Hudec <bulb@ucw.cz>
> -
> 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/

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
Web : www.linux-mons.be	 "Linux Is Not UniX !!!"

[-- Attachment #2: compile_error_LC_ALL_FRENCH --]
[-- Type: text/plain, Size: 2370 bytes --]

make[1]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
make all_targets
make[2]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
gcc-3.2 -D__KERNEL__ -I/root/linux-2.4.20-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon    -nostdinc  -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
Dans le fichier inclus à partir de /root/linux-2.4.20-pre4/include/linux/wait.h:13,
          à partir de /root/linux-2.4.20-pre4/include/linux/fs.h:12,
          à partir de /root/linux-2.4.20-pre4/include/linux/capability.h:17,
          à partir de /root/linux-2.4.20-pre4/include/linux/binfmts.h:5,
          à partir de /root/linux-2.4.20-pre4/include/linux/sched.h:9,
          à partir de /root/linux-2.4.20-pre4/include/linux/mm.h:4,
          à partir de sched.c:23:
/root/linux-2.4.20-pre4/include/linux/kernel.h:10:20: stdarg.h: Aucun fichier ou répertoire de ce type
Dans le fichier inclus à partir de /root/linux-2.4.20-pre4/include/linux/wait.h:13,
          à partir de /root/linux-2.4.20-pre4/include/linux/fs.h:12,
          à partir de /root/linux-2.4.20-pre4/include/linux/capability.h:17,
          à partir de /root/linux-2.4.20-pre4/include/linux/binfmts.h:5,
          à partir de /root/linux-2.4.20-pre4/include/linux/sched.h:9,
          à partir de /root/linux-2.4.20-pre4/include/linux/mm.h:4,
          à partir de sched.c:23:
/root/linux-2.4.20-pre4/include/linux/kernel.h:74: erreur d'analyse syntaxique avant « va_list »
/root/linux-2.4.20-pre4/include/linux/kernel.h:74: AVERTISSEMENT: déclaration de fonction n'est pas un prototype
/root/linux-2.4.20-pre4/include/linux/kernel.h:77: erreur d'analyse syntaxique avant « va_list »
/root/linux-2.4.20-pre4/include/linux/kernel.h:77: AVERTISSEMENT: déclaration de fonction n'est pas un prototype
/root/linux-2.4.20-pre4/include/linux/kernel.h:81: erreur d'analyse syntaxique avant « va_list »
/root/linux-2.4.20-pre4/include/linux/kernel.h:81: AVERTISSEMENT: déclaration de fonction n'est pas un prototype
make[2]: *** [sched.o] Erreur 1
make[2]: Quitte le répertoire `/root/linux-2.4.20-pre4/kernel'
make[1]: *** [first_rule] Erreur 2
make[1]: Quitte le répertoire `/root/linux-2.4.20-pre4/kernel'
make: *** [_dir_kernel] Erreur 2
bash-2.05a# 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compil error with a LC_ALL="fr_BE@euro" !!! why ?
  2002-08-20  9:21   ` Stephane Wirtel
@ 2002-08-20  9:42     ` Keith Owens
  2002-08-20 10:23       ` Stephane Wirtel
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2002-08-20  9:42 UTC (permalink / raw)
  To: Stephane Wirtel; +Cc: linux-kernel

On Tue, 20 Aug 2002 11:21:01 +0200, 
Stephane Wirtel <stephane.wirtel@belgacom.net> wrote:
>the compiler is gcc-3.2, don't forget this information.
>make[1]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
>make all_targets
>make[2]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
>gcc-3.2 -D__KERNEL__ -I/root/linux-2.4.20-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon    -nostdinc  -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
>Dans le fichier inclus à partir de /root/linux-2.4.20-pre4/include/linux/wait.h:13,
>          à partir de /root/linux-2.4.20-pre4/include/linux/fs.h:12,
>          à partir de /root/linux-2.4.20-pre4/include/linux/capability.h:17,
>          à partir de /root/linux-2.4.20-pre4/include/linux/binfmts.h:5,
>          à partir de /root/linux-2.4.20-pre4/include/linux/sched.h:9,
>          à partir de /root/linux-2.4.20-pre4/include/linux/mm.h:4,
>          à partir de sched.c:23:
>/root/linux-2.4.20-pre4/include/linux/kernel.h:10:20: stdarg.h: Aucun fichier ou répertoire de ce type

Against 2.4.20-pre4.

--- Makefile.orig	Tue Aug 20 19:41:05 2002
+++ Makefile	Tue Aug 20 19:41:16 2002
@@ -260,7 +260,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 -iwithprefix include
 export kbuild_2_4_nostdinc
 
 export	CPPFLAGS CFLAGS CFLAGS_KERNEL AFLAGS AFLAGS_KERNEL


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: compil error with a LC_ALL="fr_BE@euro" !!! why ?
  2002-08-20  9:42     ` Keith Owens
@ 2002-08-20 10:23       ` Stephane Wirtel
  0 siblings, 0 replies; 5+ messages in thread
From: Stephane Wirtel @ 2002-08-20 10:23 UTC (permalink / raw)
  To: linux-kernel

thanks, this patch is ok for 2.4.20-pre4 with LC_ALL=fr_BE@euro and
gcc-3.2.

Can you put this patch in the new version of the kernel ?

Thanks

Stephane

On Tue, Aug 20, 2002 at 07:42:27PM +1000, Keith Owens wrote:
> On Tue, 20 Aug 2002 11:21:01 +0200, 
> Stephane Wirtel <stephane.wirtel@belgacom.net> wrote:
> >the compiler is gcc-3.2, don't forget this information.
> >make[1]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
> >make all_targets
> >make[2]: Entre dans le répertoire `/root/linux-2.4.20-pre4/kernel'
> >gcc-3.2 -D__KERNEL__ -I/root/linux-2.4.20-pre4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon    -nostdinc  -DKBUILD_BASENAME=sched  -fno-omit-frame-pointer -c -o sched.o sched.c
> >Dans le fichier inclus à partir de /root/linux-2.4.20-pre4/include/linux/wait.h:13,
> >          à partir de /root/linux-2.4.20-pre4/include/linux/fs.h:12,
> >          à partir de /root/linux-2.4.20-pre4/include/linux/capability.h:17,
> >          à partir de /root/linux-2.4.20-pre4/include/linux/binfmts.h:5,
> >          à partir de /root/linux-2.4.20-pre4/include/linux/sched.h:9,
> >          à partir de /root/linux-2.4.20-pre4/include/linux/mm.h:4,
> >          à partir de sched.c:23:
> >/root/linux-2.4.20-pre4/include/linux/kernel.h:10:20: stdarg.h: Aucun fichier ou répertoire de ce type
> 
> Against 2.4.20-pre4.
> 
> --- Makefile.orig	Tue Aug 20 19:41:05 2002
> +++ Makefile	Tue Aug 20 19:41:16 2002
> @@ -260,7 +260,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 -iwithprefix include
>  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/

-- 
Stephane Wirtel <stephane.wirtel@belgacom.net>
Web : www.linux-mons.be	 "Linux Is Not UniX !!!"

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-08-20 10:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-20  8:13 compil error with a LC_ALL="fr_BE@euro" !!! why ? Stephane Wirtel
2002-08-20  9:05 ` Jan Hudec
2002-08-20  9:21   ` Stephane Wirtel
2002-08-20  9:42     ` Keith Owens
2002-08-20 10:23       ` Stephane Wirtel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox