Hi all, I've got what I suppose is the same compiletime error for uclibc: 
setlocale(LC_CTYPE,"en.US.UTF_8")

I've tried to patch my codesets.txt file (which already existed and contained 
valid names), and use ebuild manual procedure it didn't help.
 
BTW is i686-gentoo-linux-uclibc more relevant? I just want to add a tiny binary 
to a genkernel initrd.

May the problem be related to the unicode useflag? I switched it on to see if 
there's a difference; I figured none.

Here is my output for crossdev -t i686-linux-uclibc -v :

 * QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for 
cross-i686-linux-uclibc/uclibc-0.9.28.1
rm -f *.[oa] *~ core
rm -f gen_wc8bit gen_wctype gen_locale gen_ldc gen_collate
rm -f c8tables.h wctables.h locale_tables.h lt_defines.h locale_collate.h
rm -f gen_mmap locale.mmap lmmtolso
rm -f locale_data.c uClibc_locale_data.h
/var/tmp/cross/i686-linux-uclibc/portage/cross-i686-linux-uclibc/uclibc-0.9.28.1/work/uClibc-0.9.28.1/extra/locale
gcc -O2 -Wall  -DCTYPE_PACKED=1 -DDO_WIDE_CHAR=1 -D__UCLIBC_GEN_LOCALE 
gen_wc8bit.c -o gen_wc8bit
gen_wc8bit.c: In function 'main':
gen_wc8bit.c:462: warning: pointer targets in assignment differ in signedness
gen_wc8bit.c:613: warning: pointer targets in assignment differ in signedness
./gen_wc8bit `cat codesets.txt`
setlocale(LC_CTYPE,"en_US.UTF-8") failed!
make: *** [c8tables.h] Erreur 1

!!! ERROR: cross-i686-linux-uclibc/uclibc-0.9.28.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3434:   Called src_compile
  uclibc-0.9.28.1.ebuild, line 382:   Called die
-- 
[email protected] mailing list

Reply via email to