On Fri, 2007-08-31 at 01:39 +0200, Christian Bricart wrote: > Mike Frysinger wrote: > > On Thursday 30 August 2007, Christian Bricart wrote: > >> I tried to emerge busybox on an XScale platform: > >> > >> It does not emerge due to missing libintl within uclibc (unlike glibc) - > >> as any other package using Kconfig.. > > > > my guess is that you're talking about the config steps in the ebuild > > failing > > because the kconfig process did not properly detect your system lacks > > iconv/nls support > > > > kconfig based systems should dynamically determine whether NLS features are > > available and if not, disable them so they arent used > > From what I have found so far it's enough to call gcc on glibc with > "-lc", as all what's needed is included within /lib/libc.so > On uclibc however, you have to add "-lintl" to get a linkage to gettext > > The errors you get when having a Kconfig configured source (like busybox > or the Kernel) even fail on calling the first "make > [any_possible]config" with undefined references to symbols gettext_* > > With the "hack" in the gcc specs file (adding -lintl after -lc) libintl > "connects" to gettext_* symbols > > These are the installed versions with current USE: > sys-devel/gettext-0.16.1-r1 USE="-doc -emacs (-nls) nnocxx" > sys-libs/uclibc-0.9.28.3 USE="minimal uclibc-compat -build > -debug -hardened (-iconv) > -ipv6 (-nls) -pregen -savedconfig > -userlocales -wordexp" > > Or am I on the wrong track here? >
gettext more or less does basicly nothing on a uclibc system. unmerge it and the problem with the kernel goes away.. > See the failing "emerge busybox" on: http://pastebin.ca/676335 > > and a verbose "make config" in > /var/tmp/portage/sys-apps/busybox*/work/busybox*/ here: > http://pastebin.ca/676343 > > > Christian > -- Ned Ludd <[EMAIL PROTECTED]> Gentoo Linux -- [EMAIL PROTECTED] mailing list