gcc -mcpu=athlon-xp -O3 -pipe -I./libwc -I/usr/include/gc -DHAVE_CONFIG_H -I. -I. -DAUXBIN_DIR=\"/usr/libexec/w3m\" -DLIB_DIR=\"/usr/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" -DETC_DIR=\"/etc\" -DCONF_DIR=\"/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gc -c -o terms.o terms.c distcc[1191] ERROR: compile on localhost failed terms.c: In function `set_tty': terms.c:472: error: `term' undeclared (first use in this function) terms.c:472: error: (Each undeclared identifier is reported only once terms.c:472: error: for each function it appears in.) terms.c: In function `getTCstr': terms.c:661: error: `term' undeclared (first use in this function) make: *** [terms.o] Error 1 gcc -mcpu=athlon-xp -O3 -pipe -I./libwc -I/usr/include/gc -DHAVE_CONFIG_H -I. -I. -DAUXBIN_DIR=\"/usr/libexec/w3m\" -DLIB_DIR=\"/usr/libexec/w3m/cgi-bin\" -DHELP_DIR=\"/usr/share/w3m\" -DETC_DIR=\"/etc\" -DCONF_DIR=\"/etc/w3m\" -DRC_DIR=\"~/.w3m\" -DLOCALEDIR=\"/usr/share/locale\" -I/usr/include/gc -c -o terms.o terms.c distcc[1201] ERROR: compile on localhost failed terms.c: In function `set_tty': terms.c:472: error: `term' undeclared (first use in this function) terms.c:472: error: (Each undeclared identifier is reported only once terms.c:472: error: for each function it appears in.) terms.c: In function `getTCstr': terms.c:661: error: `term' undeclared (first use in this function) make: *** [terms.o] Error 1 !!! ERROR: net-www/w3m-0.4.2-r3 failed. !!! Function src_compile, Line 123, Exitcode 2 !!! make failed ------------------------------------------------------- time ~ $ sudo emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.20-gaming-r5) ================================================================= System uname: 2.4.20-gaming-r5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.11 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/ethereal /etc/gnome-vfs-2.0 /etc/gtk-2.0 /etc/init.d /etc/pam.d /etc/postfix/sample /etc/sound /etc/X11/app-defaults /etc/X11/gdm /etc/X11/rstart /etc/X11/serverconfig /etc/X11/Sessions /etc/X11/starthere /etc/X11/sysconfig /etc/X11/xdm /etc/X11/xinit /etc/X11/xkb /etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/distfiles" FEATURES="autoaddcvs sandbox ccache distcc cvs keepwork userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/local/home/agriffis/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms zlib gtkhtml alsa gdbm berkdb readline tetex bonobo tcltk java guile X tcpd pam libwww ssl imlib oggvorbis gnome gtk qt opengl mozilla cdr scanner -arts -esd -gpm -kde -motif -slang -svga 3dnow cscope decss dga dvd gtk2 imap lcms libg++ mozcalendar ofx pda perl python ruby sdl sse tiff wmf xv"
I added a patch to fix it (build failed when you had USE="-gpm"). Thanks for reporting.