Raised This Month: $51 Target: $400
 12% 

metamod_i386.so: wrong ELF class: ELFCLASS64


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EDUTz
Senior Member
Join Date: Jun 2010
Location: Dracula's Homeland
Old 03-19-2013 , 23:25   metamod_i386.so: wrong ELF class: ELFCLASS64
Reply With Quote #1

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
--->
Code:
SDKSRC=$(SDKTOP)
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.
EDUTz is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 03-20-2013 , 15:16   Re: metamod_i386.so: wrong ELF class: ELFCLASS64
Reply With Quote #2

Man This "#" like "/" or "//"
It's For Comments
TheDS1337 is offline
Reply



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 03:20.


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