> emerge toshiba-utils gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=i686 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c thotswap.c thotswap.c: In function
> emerge toshiba-utils gcc -Wall -I../pixmaps -DLINUX -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -O2 -march=i686 -pipe -DVERSION=\"2.0.1\" -DBINDIR=\"/usr/bin\"\ -DXMESSAGE=\"/usr/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c thotswap.c thotswap.c: In function DisplayXMessage: thotswap.c:187: error: XMESSAGE undeclared (first use in this function) thotswap.c:187: error: (Each undeclared identifier is reported only once thotswap.c:187: error: for each function it appears in.) make: *** [thotswap.o] Error 1 make: Leaving directory `/var/tmp/portage/app-laptop/toshiba-utils-2.0.1-r1/work/toshutils-2.0.1/src' !!! ERROR: app-laptop/toshiba-utils-2.0.1-r1 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile toshiba-utils-2.0.1-r1.ebuild, line 35: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.2_pre3-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.17.13 i686) ================================================================= System uname: 2.6.17.13 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.12.5 Last Sync: Tue, 17 Oct 2006 13:00:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LC_ALL="" LINGUAS="en" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi alsa apache2 audiofile bash-completion bdf berkdb bitmap-fonts bzip2 cdparanoia cli cpudetection crypt cups dga dhcp directfb disablexmb dlloader dri dv dvb dvd dvdread elibc_glibc emacs encode expat extras fbcon firefox fontconfig gdbm gif glx gnome gpm gtk imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kernel_linux lesstif libcaca libg++ linguas_en live livecd lzo mad madwifi mmx mmxext mng motif mp3 mpeg nas ncurses nls nptl nptlonly nvidia openal opengl pam pcre pdf perl png ppds pppd python quicktime readline real reflection samba sdl session sound spell spl sse sse2 ssl startup-notification svga symlink tcpd tga tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 video_cards_nvidia video_cards_vesa video_cards_vga vorbis win32codecs xanim xinerama xml xorg xpm xprint xscreensaver xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
see bug #146978 for an updated ebuild that sould fix also this issue.
*** Bug 157700 has been marked as a duplicate of this bug. ***
-r2 is in the tree