Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218833

Summary: games-server/monopd-0.9.3-r1 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: bugzie, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: monopd-0.9.3-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 05:04:20 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\"  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o cardgroup.o `test -f cardgroup.cpp || echo './'`cardgroup.cpp
source='debt.cpp' object='debt.o' libtool=no \
        depfile='.deps/debt.Po' tmpdepfile='.deps/debt.TPo' \
        depmode=gcc3 /bin/bash ../depcomp \
        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\"  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o debt.o `test -f debt.cpp || echo './'`debt.cpp
source='display.cpp' object='display.o' libtool=no \
        depfile='.deps/display.Po' tmpdepfile='.deps/display.TPo' \
        depmode=gcc3 /bin/bash ../depcomp \
        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\"  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o display.o `test -f display.cpp || echo './'`display.cpp
cardgroup.cpp:17:18: error: algo.h: No such file or directory
source='estate.cpp' object='estate.o' libtool=no \
        depfile='.deps/estate.Po' tmpdepfile='.deps/estate.TPo' \
        depmode=gcc3 /bin/bash ../depcomp \
        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\"  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o estate.o `test -f estate.cpp || echo './'`estate.cpp
source='estategroup.cpp' object='estategroup.o' libtool=no \
        depfile='.deps/estategroup.Po' tmpdepfile='.deps/estategroup.TPo' \
        depmode=gcc3 /bin/bash ../depcomp \
        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DMONOPD_DATADIR=\"/usr/share/games/monopd\" -DMONOPD_CONFIGDIR=\"/etc/games\"  -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -c -o estategroup.o `test -f estategroup.cpp || echo './'`estategroup.cpp
In file included from cardgroup.cpp:21:
game.h:150: warning: declaration ‘enum GameObject::Type’ does not declare anything
cardgroup.cpp: In member function ‘void CardGroup::shuffleCards()’:
cardgroup.cpp:81: error: ‘random_shuffle’ was not declared in this scope
make[2]: *** [cardgroup.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from estategroup.cpp:24:
game.h:150: warning: declaration ‘enum GameObject::Type’ does not declare anything
estategroup.cpp: In member function ‘int EstateGroup::rent(Player*, const std::string&)’:
estategroup.cpp:84: error: ‘atoi’ was not declared in this scope
make[2]: *** [estategroup.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-server/monopd-0.9.3-r1/work/monopd-0.9.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-server/monopd-0.9.3-r1/work/monopd-0.9.3'
make: *** [all] Error 2

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 05:04:58 UTC
Created attachment 150564 [details, diff]
monopd-0.9.3-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 SpanKY gentoo-dev 2008-05-10 10:56:56 UTC
thanks, added to the tree