Making all in tinyxml make[2]: Entering directory `/var/tmp/portage/games-arcade/criticalmass-1.0.0/work/CriticalMass-1.0.0/tinyxml' i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -c -o tinyxml.o tinyxml.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -c -o tinyxmlerror.o tinyxmlerror.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -W -Wall -fno-exceptions -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -c -o tinyxmlparser.o tinyxmlparser.cpp tinyxml.cpp: In member function ‘const std::string* TiXmlElement::Attribute(const std::string&, int*) const’: tinyxml.cpp:380: error: ‘atoi’ was not declared in this scope tinyxml.cpp: In member function ‘bool TiXmlDocument::LoadFile(const std::string&)’: tinyxml.cpp:536: error: ‘strchr’ was not declared in this scope make[2]: *** [tinyxml.o] Error 1 make[2]: *** Waiting for unfinished jobs.... tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlUnknown::Parse(const char*)’: tinyxmlparser.cpp:319: error: ‘strchr’ was not declared in this scope tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlComment::Parse(const char*)’: tinyxmlparser.cpp:343: error: ‘strstr’ was not declared in this scope tinyxmlparser.cpp: In member function ‘const char* TiXmlAttribute::Parse(const char*)’: tinyxmlparser.cpp:408: error: ‘strchr’ was not declared in this scope tinyxmlparser.cpp:413: error: ‘strchr’ was not declared in this scope tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlDeclaration::Parse(const char*)’: tinyxmlparser.cpp:477: error: ‘strstr’ was not declared in this scope make[2]: *** [tinyxmlparser.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/games-arcade/criticalmass-1.0.0/work/CriticalMass-1.0.0/tinyxml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-arcade/criticalmass-1.0.0/work/CriticalMass-1.0.0' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 150207 [details, diff] criticalmass-1.0.0-gcc43.patch Fixes the problem. Adapted from Debian.
in portage. thanks for the bug report and patch.