Raised This Month: $ Target: $400
 0% 

amxmodx compiling


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 06-20-2012 , 07:35   Re: amxmodx compiling
Reply With Quote #6

I got it now, file path wasn't good.

This are the new errors :S
Code:
$ make
mkdir -p Release
make amxmodx
make[1]: Entering directory `/usr/bin/PROJ/amxmodx'
gcc -I. -I../hlsdk -I../hlsdk/dlls -I../hlsdk/engine -I../hlsdk/game_shared -I../hlsdk/game_shared  -I../metamod/metamod -Lzlib -I../hlsdk/common -O2 -fno-strict-aliasing -funroll-loops -s -fomit-frame-pointer -pipe -DNDEBUG -fvisibility=hidden -fvisibility-inlines-hidden -march=i586 -DLINUX -DAMX_NOPROPLIST -Wall -Werror -DHAVE_STDINT_H -static-libgcc -fno-rtti -fno-exceptions -DPAWN_CELL_SIZE=32 -DJIT -DASM32 -m32 -o Release/meta_api.o -c meta_api.cpp
cc1plus: warnings being treated as errors
In file included from amxmodx.h:42:0,
                 from meta_api.cpp:40:
../hlsdk/dlls/extdll.h:29:0: error: ignoring #pragma warning
../hlsdk/dlls/extdll.h:30:0: error: ignoring #pragma warning
../hlsdk/dlls/extdll.h:31:0: error: ignoring #pragma warning
../hlsdk/dlls/extdll.h:32:0: error: ignoring #pragma warning
../hlsdk/dlls/extdll.h:33:0: error: ignoring #pragma warning
In file included from ../metamod/metamod/dllapi.h:41:0,
                 from ../metamod/metamod/meta_api.h:40,
                 from amxmodx.h:43,
                 from meta_api.cpp:40:
../metamod/metamod/osdep.h:64:3: error: #error "OS unrecognized"
In file included from amx.h:28:0,
                 from modules.h:35,
                 from amxmodx.h:58,
                 from meta_api.cpp:40:
./sclinux.h:20:0: error: "stricmp" redefined
/usr/include/string.h:121:0: note: this is the location of the previous definition
./sclinux.h:21:0: error: "strnicmp" redefined
/usr/include/string.h:127:0: note: this is the location of the previous definition
In file included from ../metamod/metamod/sdk_util.h:55:0,
                 from ../metamod/metamod/dllapi.h:40,
                 from ../metamod/metamod/meta_api.h:40,
                 from amxmodx.h:43,
                 from meta_api.cpp:40:
../hlsdk/dlls/util.h:249:70: error: ‘typedef’ was ignored in this declaration
In file included from ../metamod/metamod/dllapi.h:41:0,
                 from ../metamod/metamod/meta_api.h:40,
                 from amxmodx.h:43,
                 from meta_api.cpp:40:
../metamod/metamod/osdep.h: In function ‘const char* str_os_error()’:
../metamod/metamod/osdep.h:519:1: error: no return statement in function returning non-void
In file included from ../metamod/metamod/meta_api.h:40:0,
                 from amxmodx.h:43,
                 from meta_api.cpp:40:
../metamod/metamod/dllapi.h: At global scope:
../metamod/metamod/dllapi.h:50:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/dllapi.h:51:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/dllapi.h:55:1: error: ‘DLLEXPORT’ does not name a type
In file included from amxmodx.h:43:0,
                 from meta_api.cpp:40:
../metamod/metamod/meta_api.h:129:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:134:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:143:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:153:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:157:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:159:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:163:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:165:1: error: ‘DLLEXPORT’ does not name a type
../metamod/metamod/meta_api.h:167:1: error: ‘DLLEXPORT’ does not name a type
In file included from amxmodx.h:61:0,
                 from meta_api.cpp:40:
CMisc.h: In constructor ‘CCVar::CCVar(const char*, const char*, int, float)’:
CMisc.h:53:17: error: deprecated conversion from string constant to ‘char*’
In file included from amxmodx.h:63:0,
                 from meta_api.cpp:40:
CModule.h: At global scope:
CModule.h:85:2: error: ‘DLHANDLE’ does not name a type
In file included from meta_api.cpp:40:0:
amxmodx.h:111:10: error: ‘HINSTANCE’ does not name a type
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:67:1: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:140:82: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:140:82: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:141:67: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:141:67: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:142:60: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:142:60: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:143:63: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:143:63: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:144:73: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:144:73: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp: In function ‘void BuildPluginFileList(const char*, CStack<String*>&)’:
meta_api.cpp:184:15: error: unused variable ‘path’
meta_api.cpp: In function ‘int C_PrecacheSound(char*)’:
meta_api.cpp:285:45: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:286:45: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:287:45: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp: In function ‘int C_Spawn(edict_t*)’:
meta_api.cpp:366:27: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:367:29: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:461:130: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp: In function ‘void C_ClientUserInfoChanged_Post(edict_t*, char*)’:
meta_api.cpp:851:53: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp: In function ‘int Meta_Attach(PLUG_LOADTIME, META_FUNCTIONS*, meta_globals_t*, gamedll_funcs_t*)’:
meta_api.cpp:1419:40: error: ‘GetEntityAPI2’ was not declared in this scope
meta_api.cpp:1420:45: error: ‘GetEntityAPI2_Post’ was not declared in this scope
meta_api.cpp:1421:45: error: ‘GetEngineFunctions’ was not declared in this scope
meta_api.cpp:1422:50: error: ‘GetEngineFunctions_Post’ was not declared in this scope
meta_api.cpp:1424:45: error: ‘GetNewDLLFunctions’ was not declared in this scope
meta_api.cpp:1440:37: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:1460:107: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:1462:66: error: deprecated conversion from string constant to ‘char*’
meta_api.cpp:1466:104: error: deprecated conversion from string constant to ‘char*’
Makefile:72: recipe for target `Release/meta_api.o' failed
make[1]: *** [Release/meta_api.o] Error 1
make[1]: Leaving directory `/usr/bin/PROJ/amxmodx'
Makefile:75: recipe for target `all' failed
make: *** [all] Error 2
I'm new to this, so i don't have idea what am i doing :s

Last edited by OvidiuS; 06-20-2012 at 07:42.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode