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

Bug 220193

Summary: games-arcade/moagg-0.18 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: esigra
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: moagg-0.18-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-04 08:07:37 UTC
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/Configuration.cpp -o libMoaggCore/src/Configuration.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/Exception.cpp -o libMoaggCore/src/Exception.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/LevelReader.cpp -o libMoaggCore/src/LevelReader.o
i686-pc-linux-gnu-g++ -g -DDEBUG -I. -IlibMoaggCore/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MD -MP -c libMoaggCore/src/SDL.cpp -o libMoaggCore/src/SDL.o
libMoaggCore/src/LevelReader.cpp: In member function ‘void LevelReader::init(const char*)’:
libMoaggCore/src/LevelReader.cpp:36: error: ‘strlen’ was not declared in this scope
libMoaggCore/src/LevelReader.cpp: In member function ‘void MissionReader::init()’:
libMoaggCore/src/LevelReader.cpp:77: error: ‘strlen’ was not declared in this scope
libMoaggCore/src/LevelReader.cpp:79: error: ‘strchr’ was not declared in this scope
make: *** [libMoaggCore/src/LevelReader.o] Error 1
make: *** Waiting for unfinished jobs....
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-04 08:08:23 UTC
Created attachment 151769 [details, diff]
moagg-0.18-gcc43.patch

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