I have been trying to install a few softwares and games through tar.gz archives but get stuck due to errors while running the 'make' command and haven't been able to install a single software till today .I have tried to install gutenrint5.2.9, cups 1.7.0 and a game criticalmass but haven't been able to install them,all stuck at the error cropping at the 'make' command,which I a unbale to resolve. here is the message I got upon installing criticalmass game today. .....
Making all in tinyxml
make[2]: Entering directory `/home/drshrikant/criticalmass/CriticalMass-1.0.2/tinyxml'
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
tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlUnknown:****(const char*)’:
tinyxmlparser.cpp:319:35: error: ‘strchr’ was not declared in this scope
tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlComment:****(const char*)’:
tinyxmlparser.cpp:343:37: error: ‘strstr’ was not declared in this scope
tinyxmlparser.cpp: In member function ‘const char* TiXmlAttribute:****(const char*)’:
tinyxmlparser.cpp:408:29: error: ‘strchr’ was not declared in this scope
tinyxmlparser.cpp:413:28: error: ‘strchr’ was not declared in this scope
tinyxmlparser.cpp: In member function ‘virtual const char* TiXmlDeclaration:****(const char*)’:
tinyxmlparser.cpp:477:41: error: ‘strstr’ was not declared in this scope
make[2]: *** [tinyxmlparser.o] Error 1
make[2]: Leaving directory `/home/drshrikant/criticalmass/CriticalMass-1.0.2/tinyxml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/drshrikant/criticalmass/CriticalMass-1.0.2'
make: *** [all] Error 2
drshrikant@shrinehguntinks:~/criticalmass/CriticalMass-1.0.2$
Any solutions to rectify this error...? Thanks....
Bookmarks