Code:
mkdir -p Release
ln -sf /root/sourcemm/srcds/bin/vstdlib_i486.so vstdlib_i486.so
ln -sf /root/sourcemm/srcds/bin/tier0_i486.so tier0_i486.so
make sourcemm
make[1]: Entering directory `/root/sourcemm'
g++-3.4 -I. -I/root/sourcemm/hl2sdk/public -I/root/sourcemm/hl2sdk/public/dlls -I/root/sourcemm/hl2sdk/public/engine -I/root/sourcemm/hl2sdk/publictier0 -I/root/sourcemm/hl2sdk/public/tier1 -I/root/sourcemm/hl2sdk/public/vstdlib -I/root/sourcemm/hl2sdk/tier1 -I/root/sourcemm/sourcemm/ -I/root/sourcemm/sourcemm//sourcehook -I/root/sourcemm/sourcemm//sourcemm -O3 -fno-rtti -funroll-loops -s -pipe -fpermissive -D_LINUX -DNDEBUG -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -fPIC -Wno-deprecated -o Release/stub_mm.o -c stub_mm.cpp
In file included from /root/sourcemm/hl2sdk/public/tier0/platform.h:13,
from /root/sourcemm/hl2sdk/public/tier1/interface.h:41,
from /root/sourcemm/sourcemm/ISmmPlugin.h:19,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/wchartypes.h:24: warning: redeclaration of C++ built-in type `short'
In file included from /root/sourcemm/hl2sdk/public/tier1/interface.h:41,
from /root/sourcemm/sourcemm/ISmmPlugin.h:19,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/platform.h:422:1: warning: "LITTLE_ENDIAN" redefined
In file included from /usr/include/sys/types.h:213,
from /root/sourcemm/sourcemm/oslink.h:34,
from stub_mm.cpp:11:
/usr/include/endian.h:46:1: warning: this is the location of the previous definition
In file included from /root/sourcemm/hl2sdk/public/tier0/platform.h:602,
from /root/sourcemm/hl2sdk/public/tier1/interface.h:41,
from /root/sourcemm/sourcemm/ISmmPlugin.h:19,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/fasttimer.h: In member function `void CCycleCount::Init(float)':
/root/sourcemm/hl2sdk/public/tier0/fasttimer.h:256: warning: converting to `int64' from `double'
In file included from /root/sourcemm/hl2sdk/public/tier0/basetypes.h:11,
from /root/sourcemm/hl2sdk/public/tier0/dbg.h:17,
from /root/sourcemm/hl2sdk/public/tier1/convar.h:18,
from /root/sourcemm/hl2sdk/public/eiface.h:16,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/commonmacros.h:40:26: warning: no newline at end of file
In file included from /root/sourcemm/hl2sdk/public/cmodel.h:16,
from /root/sourcemm/hl2sdk/public/edict.h:15,
from /root/sourcemm/hl2sdk/public/eiface.h:18,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/trace.h:69:18: warning: no newline at end of file
In file included from /root/sourcemm/hl2sdk/public/tier1/utlmemory.h:32,
from /root/sourcemm/hl2sdk/public/tier1/utlvector.h:20,
from /root/sourcemm/hl2sdk/public/gametrace.h:15,
from /root/sourcemm/hl2sdk/public/cmodel.h:110,
from /root/sourcemm/hl2sdk/public/edict.h:15,
from /root/sourcemm/hl2sdk/public/eiface.h:18,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/memalloc.h:136:8: warning: extra tokens at end of #endif directive
In file included from /root/sourcemm/hl2sdk/public/tier1/utlmemory.h:33,
from /root/sourcemm/hl2sdk/public/tier1/utlvector.h:20,
from /root/sourcemm/hl2sdk/public/gametrace.h:15,
from /root/sourcemm/hl2sdk/public/cmodel.h:110,
from /root/sourcemm/hl2sdk/public/edict.h:15,
from /root/sourcemm/hl2sdk/public/eiface.h:18,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier0/memdbgon.h:113:40: warning: no newline at end of file
In file included from /root/sourcemm/hl2sdk/public/tier1/utlvector.h:20,
from /root/sourcemm/hl2sdk/public/gametrace.h:15,
from /root/sourcemm/hl2sdk/public/cmodel.h:110,
from /root/sourcemm/hl2sdk/public/edict.h:15,
from /root/sourcemm/hl2sdk/public/eiface.h:18,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h: In member function `void CUtlMemoryAligned<T, nAlignment>::Grow(int)':
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h:498: warning: there are no arguments to `IsExternallyAllocated' that depend on a template parameter, so a declaration of `IsExternallyAllocated' must be available
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h: In member function `void CUtlMemoryAligned<T, nAlignment>::EnsureCapacity(int)':
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h:554: warning: there are no arguments to `IsExternallyAllocated' that depend on a template parameter, so a declaration of `IsExternallyAllocated' must be available
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h: In member function `void CUtlMemoryAligned<T, nAlignment>::Purge()':
/root/sourcemm/hl2sdk/public/tier1/utlmemory.h:582: warning: there are no arguments to `IsExternallyAllocated' that depend on a template parameter, so a declaration of `IsExternallyAllocated' must be available
In file included from /root/sourcemm/hl2sdk/public/eiface.h:22,
from /root/sourcemm/sourcemm/ISmmAPI.h:20,
from /root/sourcemm/sourcemm/ISmmPlugin.h:21,
from stub_mm.h:14,
from stub_mm.cpp:12:
/root/sourcemm/hl2sdk/public/engine/ivmodelinfo.h:107:24: warning: no newline at end of file
In file included from stub_mm.cpp:19:
meta_hooks.h: In member function `virtual void __SourceHook_FHCls_IServerGameDLLServerActivate0::Func(edict_t*, int, int)':
meta_hooks.h:14: error: no match for 'operator==' in 'vfptriter == SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:164: note: candidates are: bool SourceHook::List<T>::iterator::operator==(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr]
/root/sourcemm/hl2sdk/public/vector.h:947: note: bool operator==(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:954: note: bool operator==(const Vector&, const float*)
meta_hooks.h:14: error: no match for 'operator==' in 'ifiter == SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr::Iface]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:164: note: candidates are: bool SourceHook::List<T>::iterator::operator==(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr::Iface]
/root/sourcemm/hl2sdk/public/vector.h:947: note: bool operator==(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:954: note: bool operator==(const Vector&, const float*)
meta_hooks.h:14: error: no match for 'operator!=' in 'hiter != SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr::Iface::Hook]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:160: note: candidates are: bool SourceHook::List<T>::iterator::operator!=(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr::Iface::Hook]
/root/sourcemm/hl2sdk/public/vector.h:961: note: bool operator!=(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:968: note: bool operator!=(const Vector&, const float*)
meta_hooks.h:14: error: no match for 'operator!=' in 'hiter != SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr::Iface::Hook]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:160: note: candidates are: bool SourceHook::List<T>::iterator::operator!=(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr::Iface::Hook]
/root/sourcemm/hl2sdk/public/vector.h:961: note: bool operator!=(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:968: note: bool operator!=(const Vector&, const float*)
/root/sourcemm/sourcemm/sourcehook/sh_list.h: In member function `SourceHook::List<T>::iterator SourceHook::List<T>::find(const U&) [with U = void*, T = SourceHook::HookManagerInfo::VfnPtr]':
meta_hooks.h:14: instantiated from here
/root/sourcemm/sourcemm/sourcehook/sh_list.h:229: error: no match for 'operator!=' in 'iter != SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:160: note: candidates are: bool SourceHook::List<T>::iterator::operator!=(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr]
/root/sourcemm/hl2sdk/public/vector.h:961: note: bool operator!=(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:968: note: bool operator!=(const Vector&, const float*)
/root/sourcemm/sourcemm/sourcehook/sh_list.h: In member function `SourceHook::List<T>::iterator SourceHook::List<T>::find(const U&) [with U = __SourceHook_FHCls_IServerGameDLLServerActivate0*, T = SourceHook::HookManagerInfo::VfnPtr::Iface]':
meta_hooks.h:14: instantiated from here
/root/sourcemm/sourcemm/sourcehook/sh_list.h:229: error: no match for 'operator!=' in 'iter != SourceHook::List<T>::end() const [with T = SourceHook::HookManagerInfo::VfnPtr::Iface]()'
/root/sourcemm/sourcemm/sourcehook/sh_list.h:160: note: candidates are: bool SourceHook::List<T>::iterator::operator!=(SourceHook::List<T>::iterator&) [with T = SourceHook::HookManagerInfo::VfnPtr::Iface]
/root/sourcemm/hl2sdk/public/vector.h:961: note: bool operator!=(const float*, const Vector&)
/root/sourcemm/hl2sdk/public/vector.h:968: note: bool operator!=(const Vector&, const float*)
make[1]: *** [Release/stub_mm.o] Error 1
make[1]: Leaving directory `/root/sourcemm'
make: *** [all] Error 2