Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68580 - armagetron fails to compile on gcc-3.4.2
Summary: armagetron fails to compile on gcc-3.4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66263
  Show dependency tree
 
Reported: 2004-10-22 12:13 UTC by Jon Hood (RETIRED)
Modified: 2005-06-28 05:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood (RETIRED) gentoo-dev 2004-10-22 12:13:40 UTC
throughout the compile, there were numerous errors that were not bailed out on.
<snip snip>
tList.h:111: error: there are no arguments to `operator[]' that depend on a template parameter, so a declaration of `operator[]' must be available
tList.h: In member function `void tList<T, MALLOC, REFERENCE>::Remove(T*, int&)':
tList.h:141: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:143: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:145: error: there are no arguments to `operator()' that depend on a template parameter, so a declaration of `operator()' must be available
tList.h:150: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:152: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
In file included from tConfiguration.h:34,
                 from tConfiguration.cpp:31:
tLocale.h: At global scope:
tLocale.h:112: error: expected `0' before ""
tLocale.h:112: error: invalid initializer for virtual method `virtual void tOutputItemBase::Print(tString&) const'
tLocale.h:112: error: expected `;' before ""
tLocale.h:113: error: expected `0' before ""
tLocale.h:113: error: invalid initializer for virtual method `virtual void tOutputItemBase::Clone(tOutput&) const'
tLocale.h:113: error: expected `;' before ""
make[2]: *** [tConfiguration.o] Error 1
<snip snip>
In file included from tMemManager.cpp:91:
tList.h: In destructor `tList<T, MALLOC, REFERENCE>::~tList()':
tList.h:100: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:100: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
tList.h:101: error: there are no arguments to `operator()' that depend on a template parameter, so a declaration of `operator()' must be available
tList.h: In member function `void tList<T, MALLOC, REFERENCE>::Add(T*, int&)':
tList.h:110: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:111: error: there are no arguments to `operator[]' that depend on a template parameter, so a declaration of `operator[]' must be available
tList.h: In member function `void tList<T, MALLOC, REFERENCE>::Remove(T*, int&)':
tList.h:141: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:143: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:145: error: there are no arguments to `operator()' that depend on a template parameter, so a declaration of `operator()' must be available
tList.h:150: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
tList.h:152: error: there are no arguments to `Len' that depend on a template parameter, so a declaration of `Len' must be available
make[2]: *** [tMemManager.o] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/var/tmp/portage/armagetron-0.2.6.0/work/armagetron-0.2.6.0/src/tools'
make[1]: *** [../tools/tools.a] Error 2
make[1]: Target `all' not remade because of errors.
make[1]: Leaving directory `/var/tmp/portage/armagetron-0.2.6.0/work/armagetron-0.2.6.0/src/tron'
make: *** [all] Error 2

!!! ERROR: games-action/armagetron-0.2.6.0 failed.

# emerge --info
Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.30GHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22,sys-kernel/linux-headers-2.4.19-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/mozilla/defaults/pref/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ http://www.gigaload.org/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/squinky86/gentoo-x86"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bitmap-fonts bonobo cdr codecs crypt cupscurl dba directfb dvd emacs encode esd f77 festival flash foomaticdb g77 gcj gdgdbm gif gnome gpm gtk gtk2 gtkhtml guile icu iksemel imlib java jit jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznoirc moznomail mpeg ncurses nls offensive oggvorbis opengl oss pam pdf pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb x86 xml xml2 xmms xprint xv zlib video_cards_radeon input_devices_synaptics"
Comment 1 Eduardo Juan 2004-11-16 13:01:15 UTC
Same problem here (but on gcc 3.4.3):

Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -pipe -fno-crossjumping -fprefetch-loop-arrays -fstrict-aliasing"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/mozilla/defaults/pref /usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -pipe -fno-crossjumping -fprefetch-loop-arrays -fstrict-aliasing -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main"
SYNC="rsync://rsync1.fi.gentoo.org/gentoo-portage"
USE="3dnow X aalib ada alsa arts artswrappersuid artworkextra audiofile avi berkdb bitmap-fonts cdr cjk crypt cups dga directfb dvd dvdr encode esd evo expat f77 fam fbcon firefox flac flash foomaticdb fortran gb gcc gdbm ggi gif glib glibc gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imlib innodb ipv6 jack java jpeg jpeg2k junit kde kdevelop kerberos krb4 lcms libg++ libwww libxslt mad mikmod mmx motif mozaccess-builtin mozctl mozilla moznoxft mozxmlterm mpeg msn mysql ncurses nls nntp nptl odbc oggvorbis opengl oscar oss pam pda pdflib perl plotutils png python qt quicktime readline samba sdl slang slp sndfile snmp sock5 spell sse ssl svga tcltk tcpd tetex thunderbird tiff truetype unicode usb valgrind vim wxGTK wxwindows x86 xface xine xml xml2 xmms xorg xscreensaver xv yahoo zlib"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 04:44:19 UTC
anyone in gcc-porting want to take a shot at this?
Comment 3 SpanKY gentoo-dev 2004-12-16 19:21:19 UTC
not really ... i say file a bug upstream ... C++ sucks ;)
Comment 4 Peter Gordon (RETIRED) gentoo-dev 2005-01-07 14:49:03 UTC
I get the same errors with GCC 3.4.3-r1.

My `emerge --info` is:
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  1 2005, 11:03:39)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.6.3, 1.8.5-r2, 1.5, 1.7.9, 1.4_p6
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="-O2 -march=athlon-tbird -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X X509 aac aalib alsa audiofile bindist bitmap-fonts bzip2 cdparanoia chroot crypt cscope cups directfb erandom fbcon flac font-server foomaticdb fortran gcj gdbm ggi gif gimpprint glitz gnutls gpm gtk gtk2 gtkhtml howl ipv6 java javascript jpeg ldap lua mad mikmod mmx mmx2 mng mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg ncurses nls nptl nptlonly nvidia objc offensive oggvorbis opengl openntpd pam parse-clocks pcre perl pic png ppds pwdb python readline real ruby sasl sdk sdl silc skey speex spell ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb wmf xml2 xprint xv xvid zlib video_cards_nvidia"
Comment 5 Stian Skjelstad 2005-03-08 21:27:48 UTC
Bit hard to file upstream since the project is abonded. Anybody that likes c++ here?

<quote>
Sorry for the bad news, but
Armagetron is dead!
But there is an so far inofficial extension called
Armagetron Advanced.
</quote>

So should armagetron be masked and armagetronad imported?
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2005-03-08 21:38:41 UTC
It's already masked.
Comment 7 SpanKY gentoo-dev 2005-06-28 05:42:00 UTC
latest version in portage built fine for me with gcc-3.4.4