Subject: Re: pkg/29385: package games/enigma fails build
To: None <heinz@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: A L Meyers <me@privacy.net>
List: pkgsrc-bugs
Date: 02/22/2005 19:42:01
The following reply was made to PR pkg/29385; it has been noted by GNATS.
From: A L Meyers <me@privacy.net>
To: Klaus Heinz <k.heinz.feb.fuenf@onlinehome.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/29385: package games/enigma fails build
Date: Tue, 22 Feb 2005 20:41:27 +0100
Klaus Heinz wrote:
>A L Meyers wrote:
>
>
>
>>Even if it might work, the workaround with gcc3 cannot be tested because
>>lang/gcc3 does not build. Shall post this to a new PR. AFAIK 3.4 is
>>
>>
>
>At least gcc3-c and gcc3-c++ worked ok for me when I build games/enigma
>on Mandrake 10.1. I didn't test gcc3 (ie, with gcc3-f77), though.
>
>ciao
> Klaus
>
>
>
Hello Klaus,
lang/gcc34 builds on Mandrake Linux 10.1 using gcc3.4. However, as per
you experience,
games/enigma will not build using lang/gcc34. Tks anyway. Am now
trying to compile the individual components of gcc3 leaving out gcc3-f77.
Here is the output:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I/usr/pkg/include
-I/usr/pkg/include/SDL -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/gcc34/include
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include
-I/usr/pkg/include/SDL -D_REENTRANT -O2 -I/usr/pkg/include
-I/usr/pkg/include/SDL -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/gcc34/include
-I/usr/pkg/gcc34/lib/gcc/i686-pc-linux-gnu/3.4.3/include -g -MT dict.o
-MD -MP -MF ".deps/dict.Tpo" \
-c -o dict.o `test -f 'dict.cc' || echo './'`dict.cc; \
then mv -f ".deps/dict.Tpo" ".deps/dict.Po"; \
else rm -f ".deps/dict.Tpo"; exit 1; \
fi
In file included from dict.cc:1:
dict.hh:104: Fehler: typedef-Name »px::Dict<T>::iterator« wird nach
»class« verwendet
dict.hh:105: Fehler: typedef-Name »px::Dict<T>::const_iterator« wird
nach »class« verwendet
dict.hh: In member function `const T& px::Dict<T>::lookup(const
std::string&) const':
dict.hh:129: Fehler: there are no arguments to `XInvalidKey' that depend
on a template parameter, so a declaration of `XInvalidKey' must be available
dict.hh:129: Fehler: (if you use `-fpermissive', G++ will accept your
code, but allowing the use of an undeclared name is deprecated)
make[3]: *** [dict.o] Fehler 1
make[3]: Leaving directory
`/usr/pkgsrc/games/enigma/work/enigma-0.81/src/px'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/pkgsrc/games/enigma/work/enigma-0.81/src'
make: *** [all-recursive] Fehler 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/games/enigma
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/games/enigma/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/games/enigma