This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc locale build broken


I can't figure out a clean way to fix this.

Since adding -DNOT_IN_libc to locale-CPPFLAGS, the build of
locale/uselocale.o breaks because it directly references the
ctype libc_tsd bits.

But NOT_IN_libc makes those definitions not get defined, thus:

uselocale.c: In function '__uselocale':
uselocale.c:66:1: error: '__libc_tsd_CTYPE_B_data' undeclared (first use in this function)
uselocale.c:66:1: note: each undeclared identifier is reported only once for each function it appears in
uselocale.c:68:1: error: '__libc_tsd_CTYPE_TOLOWER_data' undeclared (first use in this function)
uselocale.c:70:1: error: '__libc_tsd_CTYPE_TOUPPER_data' undeclared (first use in this function)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]