[patch] Build failure with locales
Nitin Gupta
ngupta at mvista.com
Tue Nov 15 21:36:51 UTC 2005
Thanks Paul,
If I may ask, Could you let me know which version of buildroot you are
using to build arm-linux-gnueabi toolchain. If I am not wrong
uClibc/buildroot currently doesn't support gnueabi configuration, Please
correct me if I am wrong.
Paul Brook wrote:
>The patch below fixes a build failure when locale support is enabled.
>
>Tested by building cross to arm-linux-gnueabi.
>
>Paul
>
>2005-11-15 Paul Brook <paul at codesourcery.com>
>
> * libc/string/wstring.c: Use correct name for __wcslcpy.
>
>Index: libc/string/wstring.c
>===================================================================
>--- libc/string/wstring.c (revision 12263)
>+++ libc/string/wstring.c (working copy)
>@@ -3077,7 +3077,7 @@
> int pass;
>
> if (!CUR_COLLATE->num_weights) { /* C locale */
>- return wcslcpy(ws1, ws2, n);
>+ return __wcslcpy(ws1, ws2, n);
> }
>
> #ifdef __UCLIBC_MJN3_ONLY__
>_______________________________________________
>uClibc mailing list
>uClibc at uclibc.org
>http://busybox.net/cgi-bin/mailman/listinfo/uclibc
>
>
>
More information about the uClibc
mailing list