>>> Source unpacked. HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o In file included from scripts/kconfig/conf.c:14: scripts/kconfig/lkc.h:12:22: libintl.h: No such file or directory scripts/kconfig/conf.c: In function `check_stdin': scripts/kconfig/conf.c:59: warning: implicit declaration of function `gettext' make[1]: *** [scripts/kconfig/conf.o] Error 1 make: *** [defconfig] Error 2 --- kc-gtm7y21 / # emerge --info Portage 2.0.54 (uclibc/x86/2005.1, gcc-3.4.5, uclibc-0.9.28-r0, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-gentoo-linux-uclibc" CFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer" CHOST="i386-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share /config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/q mail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks nodoc noinfo noman sandbox sfperm s strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/ distributions/gentoo" PKGDIR="/packages/uclibc" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 berkdb bitmap-fonts bzip2 cli dri expat minimal ncurses pcre perl pytho n readline reflection session spl ssl truetype-fonts type1-fonts uclibc uclibc-c ompat udev xorg zlib userland_GNU kernel_linux elibc_uclibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS , PORTDIR_OVERLAY
Which headers version?
Oops, linux-headers-2.6.16
I thought this was already fixed by .16
Try passing -DKBUILD_NO_NLS -- There's an ifdef block that screens out the libintl.h include if this is present.
Created attachment 89320 [details, diff] linux-headers-2.6.16-no-nls.patch Works in my testing.. I don't see any reason why to force nls for building linux kernel headers so I would just enable this blindly for all headers here on out.
nls is only used in the menuconfig stuff so disabling it for all headers is sane
Looks good, feel free to add it to files/ in CVS (or wait for me to get round to the next patchset).
(In reply to comment #5) > Created an attachment (id=89320) [edit] > linux-headers-2.6.16-no-nls.patch > > Works in my testing.. I don't see any reason why to force nls for building > linux > kernel headers so I would just enable this blindly for all headers here on out. > Works for me. Thank you for the prompt assistance.
Fixed in 2.6.17 headers, thanks!