[root@loki ~/stp]# make g++ -pipe `sdl-config --cflags` -DNDEBUG -I./ -c events.cpp g++ -pipe `sdl-config --cflags` -DNDEBUG -I./ -c healthbar.cpp In file included from /usr/include/c++/3.4/bits/stl_algobase.h:65, from /usr/include/c++/3.4/memory:54, from surface.h:9, from animation.h:4, from gameobj.h:14, from healthbar.h:11, from healthbar.cpp:8: /usr/include/c++/3.4/cstring:80: error: `::memmove' has not been declared /usr/include/c++/3.4/cstring:81: error: `::strcpy' has not been declared /usr/include/c++/3.4/cstring:82: error: `::strncpy' has not been declared /usr/include/c++/3.4/cstring:83: error: `::strcat' has not been declared /usr/include/c++/3.4/cstring:84: error: `::strncat' has not been declared /usr/include/c++/3.4/cstring:85: error: `::memcmp' has not been declared /usr/include/c++/3.4/cstring:86: error: `::strcmp' has not been declared /usr/include/c++/3.4/cstring:87: error: `::strcoll' has not been declared /usr/include/c++/3.4/cstring:88: error: `::strncmp' has not been declared /usr/include/c++/3.4/cstring:89: error: `::strxfrm' has not been declared /usr/include/c++/3.4/cstring:90: error: `::strcspn' has not been declared /usr/include/c++/3.4/cstring:91: error: `::strspn' has not been declared /usr/include/c++/3.4/cstring:92: error: `::strtok' has not been declared /usr/include/c++/3.4/cstring:93: error: `::memset' has not been declared /usr/include/c++/3.4/cstring:94: error: `::strerror' has not been declared /usr/include/c++/3.4/cstring:95: error: `::strlen' has not been declared /usr/include/c++/3.4/cstring:97: error: `::memchr' has not been declared /usr/include/c++/3.4/cstring: In function `void* std::memchr(void*, int, size_t)': /usr/include/c++/3.4/cstring:101: error: invalid conversion from `const void*' to `void*' /usr/include/c++/3.4/cstring:101: error: initializing argument 1 of `void* std::memchr(void*, int, size_t)' /usr/include/c++/3.4/cstring: At global scope: /usr/include/c++/3.4/cstring:103: error: `::strchr' has not been declared /usr/include/c++/3.4/cstring:109: error: `::strpbrk' has not been declared /usr/include/c++/3.4/cstring:115: error: `::strrchr' has not been declared /usr/include/c++/3.4/cstring:121: error: `::strstr' has not been declared In file included from /usr/include/c++/3.4/iosfwd:46, from /usr/include/c++/3.4/bits/stl_algobase.h:70, from /usr/include/c++/3.4/memory:54, from surface.h:9, from animation.h:4, from gameobj.h:14, from healthbar.h:11, from healthbar.cpp:8: /usr/include/c++/3.4/bits/c++locale.h: In function `int std::__convert_from_v(char*, int, const char*, _Tv, int* const&, int)': /usr/include/c++/3.4/bits/c++locale.h:64: error: `strcmp' is not a member of `std' /usr/include/c++/3.4/bits/c++locale.h:66: error: `strlen' is not a member of `std' /usr/include/c++/3.4/bits/c++locale.h:67: error: `strcpy' is not a member of `std' In file included from /usr/include/c++/3.4/memory:54, from surface.h:9, from animation.h:4, from gameobj.h:14, from healthbar.h:11, from healthbar.cpp:8: /usr/include/c++/3.4/bits/stl_algobase.h: In function `_Tp* std::__copy_trivial(const _Tp*, const _Tp*, _Tp*)': /usr/include/c++/3.4/bits/stl_algobase.h:258: error: `memmove' is not a member of `std' /usr/include/c++/3.4/bits/stl_algobase.h: In static member function `static _Tp* std::__copy_backward_dispatch<_Tp*, _Tp*, __true_type>::copy(const _Tp*, const _Tp*, _Tp*)': /usr/include/c++/3.4/bits/stl_algobase.h:407: error: `memmove' is not a member of `std' /usr/include/c++/3.4/bits/stl_algobase.h: In function `void std::fill(unsigned char*, unsigned char*, const unsigned char&)': /usr/include/c++/3.4/bits/stl_algobase.h:556: error: `memset' is not a member of `std' /usr/include/c++/3.4/bits/stl_algobase.h: In function `void std::fill(signed char*, signed char*, const signed char&)': /usr/include/c++/3.4/bits/stl_algobase.h:564: error: `memset' is not a member of `std' /usr/include/c++/3.4/bits/stl_algobase.h: In function `void std::fill(char*, char*, const char&)': /usr/include/c++/3.4/bits/stl_algobase.h:572: error: `memset' is not a member of `std' /usr/include/c++/3.4/bits/stl_algobase.h: In function `bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)': /usr/include/c++/3.4/bits/stl_algobase.h:815: error: `memcmp' is not a member of `std' In file included from /usr/include/c++/3.4/memory:58, from surface.h:9, from animation.h:4, from gameobj.h:14, from healthbar.h:11, from healthbar.cpp:8: /usr/include/c++/3.4/bits/stl_uninitialized.h: In function `char* std::uninitialized_copy(const char*, const char*, char*)': /usr/include/c++/3.4/bits/stl_uninitialized.h:119: error: `memmove' is not a member of `std' /usr/include/c++/3.4/bits/stl_uninitialized.h: In function `wchar_t* std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)': /usr/include/c++/3.4/bits/stl_uninitialized.h:127: error: `memmove' is not a member of `std' In file included from types.h:18, from healthbar.cpp:9: sound.h: In member function `void SDL_Sound::init()': sound.h:140: error: `memset' was not declared in this scope array.h: In constructor `Array::Array(int, unsigned char) [with T = mapping*]': surf_fact.cpp:22: instantiated from here array.h:21: error: `memset' was not declared in this scope array.h: In member function `void Array::resize(int) [with T = mapping*]': array.h:43: instantiated from `void Array::add(T) [with T = mapping*]' surf_fact.cpp:34: instantiated from here array.h:66: error: `memset' was not declared in this scope *** Error code 1 Stop in /root/stp.