So, i'm trying to recompile metamod. So good so far.
Code:
ifeq "$(ARCHD)" "x86_64"
ARCH=x86_64
ARCHD=.amd64
MODARCH=amd64
else
ARCHD=
MODARCH=i386
endif
--->
Code:
#ifeq "$(ARCHD)" "x86_64"
# ARCH=x86_64
# ARCHD=.amd64
# MODARCH=amd64
#else
ARCHD=
MODARCH=i386
#endif
and this :
Code:
ifeq "$(ARCH)" "x86_64"
# K8 targets only available from gcc 3.4 on.
CCOPT =
else
CCOPT = -march=$(ARCH)
endif
--->
Code:
#ifeq "$(ARCH)" "x86_64"
# # K8 targets only available from gcc 3.4 on.
# CCOPT =
#else
CCOPT = -march=$(ARCH)
#endif
also very important, this gives humongous errors :
Code:
SDKSRC=$(SDKTOP)/multiplayer
--->
this is the only way i don't get errors while compiling. The only problem is that it compiles debug.linux EXACT SAME FILE as debug.linux.amd64 if i wouldn't commented first 2. So when i try the new file buit with make clean & make it gives me this god damn error :
Code:
LoadLibrary failed on ./cstrike/addons/metamod/dlls/metamod_i386.so: ./cstrike/addons/metamod/dlls/metamod_i386.so: wrong ELF class: ELFCLASS6
what am i doing wrong ? please help a humble peasant
ps:i hope i am posting in the right section, since there aren't any other related to modules.