g++ -o build/release/mrt/serializator.os -c -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -fPIC -Wall -pedantic -Wno-long-long -pthread -DUSE_GLSDL -DV3_DISABLE_Z -D_REENTRANT -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/games/btanks\"" -DMRTAPI=DLLEXPORT -Ibuild/release/mrt -Imrt -Imrt -Ibuild/release/mrt/src -Imrt/src -Imrt/src -I. -Isrc mrt/serializator.cpp mrt/serializator.cpp: In member function 'void mrt::Serializator::add(int)': mrt/serializator.cpp:99: error: 'memcpy' was not declared in this scope mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const std::string&)': mrt/serializator.cpp:123: error: 'memcpy' was not declared in this scope mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const mrt::Chunk&)': mrt/serializator.cpp:134: error: 'memcpy' was not declared in this scope mrt/serializator.cpp: In member function 'void mrt::Serializator::add(const void*, int)': mrt/serializator.cpp:144: error: 'memcpy' was not declared in this scope mrt/serializator.cpp: In member function 'void mrt::Serializator::get(int&) const': mrt/serializator.cpp:190: warning: left shift count >= width of type mrt/serializator.cpp: In member function 'void mrt::Serializator::get(void*, int) const': mrt/serializator.cpp:237: error: 'memcpy' was not declared in this scope mrt/serializator.cpp: In member function 'void mrt::Serializator::get(mrt::Chunk&) const': mrt/serializator.cpp:253: error: 'memcpy' was not declared in this scope scons: *** [build/release/mrt/serializator.os] Error 1 scons: building terminated because of errors. Reproducible: Always Steps to Reproduce:
Created attachment 149932 [details, diff] btanks-0.7.5800-gcc43.patch Fixes the problem. Snatched from Debian.
thanks, things should be fixed in cvs now http://sources.gentoo.org/games-action/btanks/btanks-0.7.5800.ebuild?r1=1.5&r2=1.6 http://sources.gentoo.org/games-action/btanks/files/btanks-0.7.5800-gcc43.patch?rev=1.1