![]() |
Re: Compile
Quote:
|
Re: Compile
|
Re: Compile
Quote:
g++ -O2 -fomit-frame-pointer -march=i586 -mtune=i686 -fno-exceptions -fno-rtti -DNDEBUG -Dstricmp=strcasecmp -Dstrcmpi=strcasecmp -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -fPIC -I. -I../metamod/metamod -I../hlsdk/multiplayer/engine -I../hlsdk/multiplayer/common -I../hlsdk/multiplayer/pm_shared -I../hlsdk/multiplayer/dlls -I../hlsdk/multiplayer -DLINUX -o obj.linux/dll.o -c dll.cpp dll.cpp:1: error: CPU you selected does not support x86-64 instruction set make: *** [obj.linux/dll.o] Error 1 |
Re: Compile
Try to use that second part - for AMD64. It is called "AMD64", but it was designed for 64 bit processors (that time the makefile was created there was no Intel 64 bit processors yet). But since long time nobody was using 64 bit binaries, so I don't know if they are compiling correctly. I have no possibility to check that. Wait for the help from The Storm. Another guy who can help is ghots of evilspy. PM him for the help - point him this topic.
|
Re: Compile
Quote:
|
Re: Compile
Quote:
So you get "g++ -m32 -O2 -fomit-frame-pointer -march=i586 -mtune=i686 -fno-exceptions -fno-rtti ..." instead of current "g++ -O2 -fomit-frame-pointer -march=i586 -mtune=i686 -fno-exceptions -fno-rtti ...". (You probably would have found out this by googling the error message "CPU you selected does not support x86-64 instruction set". It's always good idea to google the error messages.) |
Re: Compile
Quote:
If I use the command: make ARCH=AMD64 it compiles for the linux the file podbot_mm_amd64.so - which is used for 64 bits linux systems. It is called AMD64, because that time the makefile was created it was only AMD supporting 64 bit linux systems... Anyway try to do what Jussi says. |
Re: Compile
Quote:
|
Re: Compile
Quote:
|
Re: Compile
okay i edited as u said
dll.cpp:318: error: âSTRINGâ was not declared in this scope dll.cpp: In function âvoid ClientPutInServer(edict_t*)â: dll.cpp:441: warning: suggest explicit braces to avoid ambiguous âelseâ dll.cpp: In function âvoid ClientCommand(edict_t*)â: dll.cpp:584: warning: deprecated conversion from string constant to âchar*â dll.cpp: In function âvoid ClientUserInfoChanged_Post(edict_t*, char*)â: dll.cpp:1266: warning: deprecated conversion from string constant to âchar*â dll.cpp: In function âvoid ServerActivate(edict_t*, int, int)â: dll.cpp:1822: warning: deprecated conversion from string constant to âchar*â dll.cpp: In function âvoid StartFrame()â: dll.cpp:1909: warning: deprecated conversion from string constant to âchar*â dll.cpp:1958: error: no matching function for call to âedict_s::edict_s(edict_t*)â ../hlsdk-2.3-p3/multiplayer/engine/edict.h:20: note: candidates are: edict_s::edict_s() ../hlsdk-2.3-p3/multiplayer/engine/edict.h:20: note: edict_s::edict_s(const edict_s&) dll.cpp:2352: warning: deprecated conversion from string constant to âchar*â so its to source files,official doesnt work. |
All times are GMT +2. The time now is 21:22. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.