-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
Hi Kungfooman,
i can not compile the shared libary for Call of Duty 1 1.5, all other versions work.
##### COMPILE CoD1 1.5 GSC.CPP #####
In file included from gsc.hpp:48:0,
from gsc.cpp:1:
functions.hpp:20:4: warning: #warning trap_Argc() return *(int *)NULL; [-Wcpp]
#warning trap_Argc() return *(int *)NULL;
^~~~~~~
functions.hpp:33:3: warning: #warning static Cmd_Argv_t Cmd_Argv = (Cmd_Argv_t)NULL; [-Wcpp]
#warning static Cmd_Argv_t Cmd_Argv = (Cmd_Argv_t)NULL;
^~~~~~~
functions.hpp:47:3: warning: #warning static trap_Argv_t trap_Argv = (trap_Argv_t)NULL; [-Wcpp]
#warning static trap_Argv_t trap_Argv = (trap_Argv_t)NULL;
^~~~~~~
functions.hpp:70:3: warning: #warning static Com_Printf_t Com_Printf = (Com_Printf_t)NULL; [-Wcpp]
#warning static Com_Printf_t Com_Printf = (Com_Printf_t)NULL;
^~~~~~~
functions.hpp:71:3: warning: #warning static Com_DPrintf_t Com_DPrintf =
(Com_DPrintf_t)NULL; [-Wcpp]
#warning static Com_DPrintf_t Com_DPrintf = (Com_DPrintf_t)NULL;
^~~~~~~
functions.hpp:92:3: warning: #warning Cmd_ExecuteString_t Cmd_ExecuteString = NULL; [-Wcpp]
#warning Cmd_ExecuteString_t Cmd_ExecuteString = NULL;
^~~~~~~
functions.hpp:112:3: warning: #warning static ClientCommand_t ClientCommand = (ClientCommand_t)NULL; [-Wcpp]
#warning static ClientCommand_t ClientCommand = (ClientCommand_t)NULL;
^~~~~~~
functions.hpp:113:3: warning: #warning static int hook_ClientCommand_call = NULL; [-Wcpp]
#warning static int hook_ClientCommand_call = NULL;
^~~~~~~
functions.hpp:130:3: warning: #warning static Cvar_VariableValue_t CvarVariableValue = NULL; [-Wcpp]
#warning static Cvar_VariableValue_t CvarVariableValue = NULL;
^~~~~~~
functions.hpp:142:3: warning: #warning static Cvar_VariableValue_t CvarVariableValue = NULL; [-Wcpp]
#warning static Cvar_VariableValue_t CvarVariableValue = NULL;
^~~~~~~
functions.hpp:154:3: warning: #warning static FS_ReadFile_t FS_ReadFile = NULL; [-Wcpp]
#warning static FS_ReadFile_t FS_ReadFile = NULL;
^~~~~~~
functions.hpp:167:3: warning: #warning static FS_LoadDir_t FS_LoadDir = NULL; [-Wcpp]
#warning static FS_LoadDir_t FS_LoadDir = NULL;
^~~~~~~
functions.hpp:178:3: warning: #warning static int rconPasswordAddress = NULL; [-Wcpp]
#warning static int rconPasswordAddress = NULL;
^~~~~~~
functions.hpp:189:3: warning: #warning static int hook_findMap_call = NULL; [-Wcpp]
#warning static int hook_findMap_call = NULL;
^~~~~~~
functions.hpp:200:3: warning: #warning static int hook_AuthorizeState_call = NULL; [-Wcpp]
#warning static int hook_AuthorizeState_call = NULL;
^~~~~~~
functions.hpp:238:3: warning: #warning static SV_ConnectionlessPacket_t SV_ConnectionlessPacket = NULL; [-Wcpp]
#warning static SV_ConnectionlessPacket_t SV_ConnectionlessPacket = NULL;
^~~~~~~
functions.hpp:250:3: warning: #warning NET_OutOfBandPrint_t NET_OutOfBandPrint = NULL; [-Wcpp]
#warning NET_OutOfBandPrint_t NET_OutOfBandPrint = NULL;
^~~~~~~
functions.hpp:262:3: warning: #warning SV_FlushRedirect_t SV_FlushRedirect = NULL; [-Wcpp]
#warning SV_FlushRedirect_t SV_FlushRedirect = NULL;
^~~~~~~
functions.hpp:274:3: warning: #warning static SV_GameSendServerCommand_t
SV_GameSendServerCommand = NULL; [-Wcpp]
#warning static SV_GameSendServerCommand_t SV_GameSendServerCommand = NULL;
^~~~~~~
functions.hpp:286:3: warning: #warning SV_DropClient_t SV_DropClient = (SV_DropClient_t)NULL; [-Wcpp]
#warning SV_DropClient_t SV_DropClient = (SV_DropClient_t)NULL;
^~~~~~~
functions.hpp:298:3: warning: #warning static SV_WriteDownloadToClient_t
SV_WriteDownloadToClient = (SV_WriteDownloadToClient_t)NULL; [-Wcpp]
#warning static SV_WriteDownloadToClient_t SV_WriteDownloadToClient = (SV_WriteDownloadToClient_t)NULL;
^~~~~~~
functions.hpp:313:3: warning: #warning ClientUserinfoChanged_t changeClientUserinfo = (ClientUserinfoChanged_t)NULL; [-Wcpp]
#warning ClientUserinfoChanged_t changeClientUserinfo = (ClientUserinfoChanged_t)NULL;
^~~~~~~
functions.hpp:325:3: warning: #warning Info_SetValueForKey_t Info_SetValueForKey = (Info_SetValueForKey_t)NULL; [-Wcpp]
#warning Info_SetValueForKey_t Info_SetValueForKey = (Info_SetValueForKey_t)NULL;
^~~~~~~
functions.hpp:337:3: warning: #warning Info_ValueForKey_t Info_ValueForKey = (Info_ValueForKey_t)NULL; [-Wcpp]
#warning Info_ValueForKey_t Info_ValueForKey = (Info_ValueForKey_t)NULL;
^~~~~~~
In file included from gsc.hpp:48:0,
from gsc.cpp:1:
functions.hpp:351:3: warning: #warning static codscript_call_callback_entity_t codscript_call_callback_entity = (codscript_call_callback_entity_t)NULL; [-Wcpp]
#warning static codscript_call_callback_entity_t codscript_call_callback_entity = (codscript_call_callback_entity_t)NULL;
^~~~~~~
functions.hpp:367:3: warning: #warning static codscript_callback_finish_t codscript_callback_finish = (codscript_callback_finish_t)NULL; [-Wcpp]
#warning static codscript_callback_finish_t codscript_callback_finish = (codscript_callback_finish_t)NULL;
^~~~~~~
gsc.cpp:54:3: warning: #warning Scr_GetFunction_t Scr_GetFunction = (Scr_GetFunction_t)NULL; [-Wcpp]
#warning Scr_GetFunction_t Scr_GetFunction = (Scr_GetFunction_t)NULL;
^~~~~~~
gsc.cpp:55:3: warning: #warning Scr_GetMethod_t Scr_GetMethod = (Scr_GetMethod_t)NULL; [-Wcpp]
#warning Scr_GetMethod_t Scr_GetMethod = (Scr_GetMethod_t)NULL;
^~~~~~~
gsc.cpp:795:5: warning: #warning int stackPushInt(int ret) [-Wcpp]
#warning int stackPushInt(int ret)
^~~~~~~
gsc.cpp:882:4: warning: #warning int stackPushFloat(float ret) *((int *)(&signature)) = NULL; [-Wcpp]
#warning int stackPushFloat(float ret) *((int *)(&signature)) = NULL;
^~~~~~~
gsc.cpp:903:4: warning: #warning int stackPushString(char *toPush) *((int *)(&signature)) = NULL; [-Wcpp]
#warning int stackPushString(char *toPush) *((int *)(&signature)) = NULL;
^~~~~~~
gsc.cpp:922:4: warning: #warning int stackPushEntity(int arg) *((int *)(&signature)) = NULL; [-Wcpp]
#warning int stackPushEntity(int arg) *((int *)(&signature)) = NULL;
^~~~~~~
gsc.cpp:951:4: warning: #warning int stackPushArray() *((int *)(&signature)) = NULL; [-Wcpp]
#warning int stackPushArray() *((int *)(&signature)) = NULL;
^~~~~~~
gsc.cpp:979:4: warning: #warning int stackPushArrayLast() *((int *)(&signature)) = NULL; [-Wcpp]
#warning int stackPushArrayLast() *((int *)(&signature)) = NULL;
^~~~~~~
gsc.cpp: In function ‘int cdecl_injected_closer()’:
gsc.cpp:1819:3: warning: typedef ‘aSearchPath’ locally defined but not used [-Wunused-local-typedefs]
} aSearchPath;
^~~~~~~~~~~
##### LINK libcod1_1_5.so #####
gcc: error: libcod2.opp: No such file or directory
gcc: error: gsc_player.opp: No such file or directory
gcc: error: gsc_astar.opp: No such file or directory
gcc: error: gsc_mysql.opp: No such file or directory
gcc: error: server.opp: No such file or directory
gcc: error: gsc_memory.opp: No such file or directory
gcc: error: cracking.opp: No such file or directory
can you give me an hint how to compile for 1.5? And will this work for CODUO 1.51 too?
Greets
Metadata
Metadata
Assignees
Labels
No labels