gcc -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -Werror -march=athlon-xp -O3 -pipe -fomit-frame-pointer -o faillog faillog.o faillog.o(.text+0x38): In function `main': : undefined reference to `libintl_bindtextdomain' faillog.o(.text+0x44): In function `main': : undefined reference to `libintl_textdomain' faillog.o(.text+0xb8): In function `main': : undefined reference to `libintl_gettext' faillog.o(.text+0x1d3): In function `main': : undefined reference to `libintl_gettext' faillog.o(.text+0x4a6): In function `print_one': : undefined reference to `libintl_gettext' faillog.o(.text+0x4d8): In function `print_one': : undefined reference to `libintl_gettext' faillog.o(.text+0x4f5): In function `print_one': : undefined reference to `libintl_gettext' faillog.o(.text+0x50d): more undefined references to `libintl_gettext' follow collect2: ld returned 1 exit status make[2]: *** [faillog] Error 1 make[2]: Leaving directory `/var/tmp/portage/pam-login-3.17/work/pam_login-3.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pam-login-3.17/work/pam_login-3.17' make: *** [all] Error 2 !!! ERROR: sys-apps/pam-login-3.17 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! emake failed # emerge --info Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.7 i686) ================================================================= System uname: 2.6.7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.3-r1, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4, 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://mirrors.tds.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://172.17.0.124/portage" USE="x86 alsa apm arts athlon avi berkdb bitmap-fonts bzip2 eds emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Well, userland_GNU, kernel_linux and elibc_glibc USE flags are missing in your emerge --info output, you are most likely also missing /usr/lib/preloadable_libintl.so which comes with sys-devel/gettext, so your system is pretty screwed. Essentially, same issue like Bug 97847 and Bug 98254. Any ideas here?
*** This bug has been marked as a duplicate of 105304 *** *** This bug has been marked as a duplicate of 105304 ***