All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux 3.0.1 compile problem on different locales..
@ 2011-08-15 20:51 Serdar KÖYLÜ
  2011-08-15 22:58 ` Arnaud Lacombe
  0 siblings, 1 reply; 7+ messages in thread
From: Serdar KÖYLÜ @ 2011-08-15 20:51 UTC (permalink / raw)
  To: linux-kernel

FYI.

I download latest stable version and try compile it. But process
terminated with an error message, such as:

error config/modversions.h, file or directory not found (Message is my
original language, in Turkish).

I check manually this file, found it as:

foo/linux-3.0.1/include/config/modversIons.h

And all other "i" chars, translated into "I" chars. I run a grep, find this:

[root@localhost kconfig]# grep -in tolower *.c
confdata.c:730:                 c = tolower(c);

I set env. vars such as "LC_CTYPE=C" manually, retry compile kernel,
yes, it's compiled now.

I don't know best solutions for this problem. A solutions can be write
some warnings in related documents. An other solution, make a patch,
such as:

- confdata.c:730:                 c = tolower(c);
+#define TOLOWER(x) ((x) | 0x20)
+confdata.c:730:                 c = TOLOWER(c);

or makefiles set locale to "C". I don't sure best solution. But this
problem occured in turkish and can be occurred other langs.

Thanks, best regards..

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

end of thread, other threads:[~2011-08-19 12:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 20:51 Linux 3.0.1 compile problem on different locales Serdar KÖYLÜ
2011-08-15 22:58 ` Arnaud Lacombe
     [not found]   ` <CAKxaRT+hCXu-921RoNw0aiiffZzNGQNgQX0FGfsfdSOP95DzBQ@mail.gmail.com>
2011-08-16  0:03     ` Arnaud Lacombe
2011-08-16  1:47       ` Arnaud Lacombe
2011-08-16  1:49         ` Arnaud Lacombe
2011-08-16  6:15       ` Serdar KÖYLÜ
2011-08-19 12:44         ` Michal Marek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.