lkml.org 
[lkml]   [2011]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Linux 3.0.1 compile problem on different locales..
From
Hi,

[Added linux-kbuild@ to the CC list.]

2011/8/15 Serdar KÖYLÜ <s.koylux@gmail.com>:
> 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.
>
What is the Turkish locale you were using originally ?

Thanks,
- Arnaud

> Thanks, best regards..
> --
> 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/
>
--
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: 2011-08-16 01:01    [W:0.050 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site