[uClibc] locale support does not build

Peter S. Mazinger ps.m at gmx.net
Tue Sep 16 17:12:40 UTC 2003


On Tue, 16 Sep 2003, Manuel Novoa III wrote:

> Hello,
> 
> On Tue, Sep 16, 2003 at 05:48:15PM +0200, Peter S. Mazinger wrote:
> > I have built uClibc first with the pregenerated locale data and installed 
> > it. After that I tried to build it again in a clean uClibc environment 
> > using the procedure described in extra/locale/README, but it won't build. 
> 
It works with the applied patch, but probably not this is the solution ;-(

Peter

-- 
Peter S. Mazinger <ps.m at gmx.net>   ID: 0xA5F059F2    NIC: IXUYHSKQLI
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2

____________________________________________________________________
Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
Probald ki most! http://www.freestart.hu
-------------- next part --------------
--- extra/locale/gen_wc8bit.c.mps	2003-09-16 19:05:32.000000000 +0200
+++ extra/locale/gen_wc8bit.c	2003-09-16 19:05:44.000000000 +0200
@@ -7,12 +7,12 @@
 #include <wctype.h>
 #include <limits.h>
 
-#ifndef __UCLIBC__
+//#ifndef __UCLIBC__
 #ifndef _WCTYPE_H
 #define _WCTYPE_H
 #endif
 #include "../../libc/sysdeps/linux/common/bits/uClibc_ctype.h"
-#endif
+//#endif
 
 
 /*  #define CTYPE_PACKED */
--- extra/locale/gen_wctype.c.mps	2003-09-16 19:05:57.000000000 +0200
+++ extra/locale/gen_wctype.c	2003-09-16 19:06:07.000000000 +0200
@@ -10,12 +10,12 @@
 #include <wchar.h>
 #include <ctype.h>
 
-#ifndef __UCLIBC__
+//#ifndef __UCLIBC__
 #ifndef _WCTYPE_H
 #define _WCTYPE_H
 #endif
 #include "../../libc/sysdeps/linux/common/bits/uClibc_ctype.h"
-#endif
+//#endif
 
 /*       0x9 : space  blank */
 /*       0xa : space */
--- extra/locale/gen_locale.c.mps	2003-09-16 19:06:27.000000000 +0200
+++ extra/locale/gen_locale.c	2003-09-16 19:06:43.000000000 +0200
@@ -10,7 +10,9 @@
 #include <nl_types.h>
 #include <stdint.h>
 
+#ifndef __UCLIBC__
 #include "c8tables.h"
+#endif
 
 
 #define __LOCALE_DATA_CATEGORIES 6


More information about the uClibc mailing list