Background: I've installed the Gentoo 1.4 .bz2 from stage 1. This is not an updated GCC 3.2 installation. ============================================================== lisa root # emerge nload Calculating dependencies ...done! >>> emerge net-analyzer/nload-0.4.0 to / >>> md5 ;-) nload-0.4.0.tar.gz >>> Unpacking source... >>> Unpacking nload- 0.4.0.tar.gz >>> Source unpacked. creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install - c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for c++... c++ checking whether the C++ compiler (c++ -march=i686 -O3 -pipe ) works... yes checking whether the C++ compiler (c++ - march=i686 -O3 -pipe ) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for gcc... gcc checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... yes checking whether the C compiler (gcc - march=i686 -O3 -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for initscr in -lncurses... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for limits.h... yes checking for sys/time.h... yes checking for working const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for gettimeofday... yes updating cache ./config.cache creating ./config.status creating Makefile creating docs/Makefile creating docs/nload.1 creating nload.spec creating src/Makefile creating config.h make all-recursive make[1]: Entering directory `/var/tmp/portage/nload-0.4.0/work/nload-0.4.0' Making all in docs make[2]: Entering directory `/var/tmp/portage/nload-0.4.0/work/nload-0.4.0/docs' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/nload-0.4.0/work/nload- 0.4.0/docs' Making all in src make[2]: Entering directory `/var/tmp/portage/nload- 0.4.0/work/nload-0.4.0/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O3 -pipe -Wall -c dev.cpp c++ -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O3 -pipe -Wall -c graph.cpp In file included from /usr/include/g++-v32/backward/iostream.h:31, from dev.h:21, from dev.cpp:18: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-depr ecated. In file included from /usr/include/g++-v32/backward/iostream.h:31, from graph.h:21, from graph.cpp:18: /usr/include/g++-v32/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-depr ecated. In file included from dev.h:25, from dev.cpp:18: graph.h:46: 'list' is used as a type, but is not defined as a type. make[2]: *** [dev.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from graph.cpp:18: graph.h:46: 'list' is used as a type, but is not defined as a type. graph.cpp: In member function `void Graph::setNumOfBars(int)': graph.cpp:37: `m_values' undeclared (first use this function) graph.cpp:37: (Each undeclared identifier is reported only once for each function it appears in.) graph.cpp: In member function `void Graph::print(int, int)': graph.cpp:85: `list' undeclared (first use this function) graph.cpp:85: parse error before `>' token graph.cpp:85: `r' undeclared (first use this function) make[2]: *** [graph.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/nload-0.4.0/work/nload- 0.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/nload-0.4.0/work/nload-0.4.0' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 7, Exitcode 2 !!! compile failed ==== lisa root # gcc -v Reading specs from /usr/lib/gcc- lib/i686-pc-linux-gnu/3.2/specs Configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc- 3.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --ena ble-shared -- host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable- languages=c,c++,ada, f77,objc --enable-threads=posix --enable-long-long --disable-checking -- enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexi t --enable-version-specific- runtime-libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local --enable- shared --ena ble-nls --without-included-gettext Thread model: posix gcc version 3.2
Sorry for the goofy formatting. A better version is at: http://thedoh.dyndns.org/linux/gentoo/bugs/7399/ Thanks.
thanks for the bug report! I bumped the version to 0.5.0 and fixed it for gcc3.2. let me know if you encounter any other problems. Matt