[uClibc]Building issue with HAS_LOCALE = true in uClibc 0.9.10 (ISblank undefined)
Kensuke Otake
kensuke at phreaker.net
Wed Mar 27 21:14:44 UTC 2002
When HAS_LOCALE is set to true in Config, and I attempt to build...It fails, stating that ISblank is undefined. Here's the error:
$ gcc -Wall -Os -march=i386 -mpreferred-stack-boundary=2 -malign-functions=0 \ -malign-jumps=0 -malign-loops=0 -fno-builtin -nostdinc -pipe -nostdinc \ -I../../../include -I/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include -I. -D_LIBC \ -DNDEBUG -fPIC -D_LIBC_REENTRANT -DL_isblank ctype.c -c -o isblank.o
ctype.c: In function `isblank':
ctype.c:283: `ISblank' undeclared (first use in this function)
ctype.c:283: (Each undeclared identifier is reported only once
ctype.c:283: for each function it appears in.)
ctype.c:284: warning: control reaches end of non-void function
Should it be okay if I do the following to libc/misc/locale/_locale.h?:
enum {
...
ISblank = ISbit(8), /* Add this. */
...
};
uClibc compiles just fine afterwards; however, I'm unsure of any internal issues this may cause.
Thanks in advance,
Kensuke
More information about the uClibc
mailing list