What i'm doing wrong? Installed: Ubuntu, gcc, g++ and other thing.
Code:
root@ubuntu:/home/test/collisionhook# make ENGINE=original
if [ "true" = "false" ]; then \
echo "You must supply one of the following values for ENGINE:"; \
echo "csgo, left4dead2, left4dead, orangeboxvalve, css, orangebox, or original"; \
exit 1; \
fi
mkdir -p Release.original
mkdir -p Release.original/sdk
mkdir -p Release.original/CDetour
cp -f /home/test/hl2sdk/linux_sdk/vstdlib_i486.so vstdlib_i486.so
cp -f /home/test/hl2sdk/linux_sdk/tier0_i486.so tier0_i486.so
make -f /home/test/collisionhook/Makefile mms_ext
make[1]: Entering directory '/home/test/collisionhook'
if [ "true" = "false" ]; then \
echo "You must supply one of the following values for ENGINE:"; \
echo "csgo, left4dead2, left4dead, orangeboxvalve, css, orangebox, or original"; \
exit 1; \
fi
gcc -I/home/test/hl2sdk/public/dlls -I. -I.. -Isdk -ICDetour -I/home/test/hl2sdk/public -I/home/test/hl2sdk/public/engine -I/home/test/hl2sdk/public/tier0 -I/home/test/hl2sdk/public/tier1 -I/home/test/mmsource-1.9/core-legacy -I/home/test/mmsource-1.9/core-legacy/sourcehook -I/home/test/sourcemod-1.4/public -I/home/test/sourcemod-1.4/public/sourcepawn -DSOURCE_ENGINE=1 -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wall -Werror -Wno-overloaded-virtual -Wno-switch -Wno-unused -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -D_LINUX -mfpmath=sse -fvisibility=hidden -Wno-delete-non-virtual-dtor -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -o Release.original/extension.o -c extension.cpp
In file included from sdk/smsdk_ext.h:102:0,
from extension.h:6,
from extension.cpp:3:
extension.cpp: In member function ‘virtual bool CollisionHook::SDK_OnMetamodLoad(ISmmAPI*, char*, size_t, bool)’:
extension.cpp:121:23: error: ‘class ISmmAPI’ has no member named ‘GetPhysicsFactory’
GET_V_IFACE_CURRENT( GetPhysicsFactory, g_pPhysics, IPhysics, VPHYSICS_INTERFACE_VERSION );
^
/home/test/mmsource-1.9/core-legacy/ISmmPlugin.h:394:48: note: in definition of macro ‘GET_V_IFACE_CURRENT’
v_var = (v_type *)ismm->VInterfaceMatch(ismm->v_factory(), v_name); \
^
/home/test/collisionhook/Makefile:197: recipe for target 'Release.original/extension.o' failed
make[1]: *** [Release.original/extension.o] Error 1
make[1]: Leaving directory '/home/test/collisionhook'
Makefile:200: recipe for target 'all' failed
make: *** [all] Error 2