Trying to emerge nx-x11 fails with compilation errors. g++ -c -O3 -I../nx-X11/exports/include -Wno-deprecated -Wmissing-declarations -Wnested-externs -DIN_ADDR_T=in_addr_t -DVERSION=\"1.4.0\" -I/usr/X11R6/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes Loop.cpp cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-declarations" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC but not for C++ cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++ In file included from Control.h:24, from Loop.cpp:69: Types.h: In member function `void T_data::clear()': Types.h:95: error: `start' undeclared (first use this function) Types.h:95: error: (Each undeclared identifier is reported only once for each function it appears in.) Types.h:95: error: `finish' undeclared (first use this function) Types.h:95: error: `destroy' undeclared (first use this function) Types.h:97: error: `deallocate' undeclared (first use this function) Types.h:99: error: `end_of_storage' undeclared (first use this function) Types.h: In member function `void T_messages::clear()': Types.h:129: error: `start' undeclared (first use this function) Types.h:129: error: `finish' undeclared (first use this function) Types.h:129: error: `destroy' undeclared (first use this function) Types.h:131: error: `deallocate' undeclared (first use this function) Types.h:133: error: `end_of_storage' undeclared (first use this function) make[4]: *** [Loop.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r3/work/nxcomp' make[3]: *** [../../../nxcomp/libXcomp.so] Error 2 make[3]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r3/work/nx-X11/lib/X11' make[2]: *** [depend] Error 2 make[2]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r3/work/nx-X11/lib' make[1]: *** [depend] Error 2 make[1]: Leaving directory `/var/tmp/portage/nx-x11-1.4.0-r3/work/nx-X11' make: *** [World] Error 2 !!! ERROR: net-misc/nx-x11-1.4.0-r3 failed. !!! Function src_compile, Line 47, Exitcode 2 !!! unable to build nx-11 !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge nx-x11 Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 i686) ================================================================= System uname: 2.6.10-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Sep 27 2004, 22:14:29)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.9.3, 1.4_p6, 1.6.3, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acl aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo cdparanoia cdr codecs crypt cups curl curlwrappers directfb dvd dvdr dvdread encode esd ethereal evo exif fam flac flash foomaticdb fortran ftp gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb jabber java jikes joystick jpeg junit kde libwww mad mikmod mime mmx mng motif mozilla mpeg msn mysql mysqli ncurses network nls nptl nvidia offensive oggvorbis opengl oscar oss pam pdflib perl png postgres python qt readline samba scanner sdl slang sndfile spell sse ssl svg svga tcltk tcpd tidy tiff truetype usb videos wmf xml xml2 xmms xpm xv xvid yahoo zlib"
*** This bug has been marked as a duplicate of 62378 ***