Bug: forward declaration of __uclibc_locale_struct

Rob Landley rob at landley.net
Wed Nov 10 22:05:40 UTC 2010


On Tuesday 13 July 2010 09:45:41 Bernhard Reutner-Fischer wrote:
> On Mon, Jul 12, 2010 at 09:20:13AM -0700, Khem Raj wrote:
> >On Mon, Jul 12, 2010 at 7:41 AM, Evan Kroske <e.kroske at gmail.com> wrote:
> >> I'm trying to compile a uClibc cross-toolchain with locale support,
> >
> >I would suggest to use something like crosstool-ng, buildroot or
> > openemebedded where these toolchains are already generated and you might
> > have to do little locale support on uclibc might need some patches to gcc
> > or vice versa.
>
> https://bugs.uclibc.org/show_bug.cgi?id=53#c13
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc

For the record, this bug is still present in the last stable release of uClibc 
(0.9.31), and when going through and building Linux From Scratch 6.7 it breaks 
building gettext for i686:

libtool: compile:  gcc -c -DLOCALEDIR=\"/usr/share/locale\" -
DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" -
DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -
DIN_LIBRARY -DINSTALLDIR=\"/usr/lib\" -DNO_XMALLOC -
Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate 
-DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -
fvisibility=hidden ./localename.c  -fPIC -DPIC -o .libs/localename.o
./localename.c: In function '_nl_locale_name_thread_unsafe':
./localename.c:2619: error: dereferencing pointer to incomplete type
make[3]: *** [localename.lo] Error 1
make[3]: Leaving directory `/home/gettext/gettext-runtime/intl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gettext/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gettext/gettext-runtime'
make: *** [all-recursive] Error 1
Command exited with non-zero status 1

Rob
-- 
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem 
Forever, and as welcome as New Coke.


More information about the uClibc mailing list