Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 01:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



LibM2 compilation problem

Discussion on LibM2 compilation problem within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 6
Received Thanks: 0
Arrow LibM2 compilation problem

Hello,

I want to compile my lib source on FreeBSD 9.2 (64 bit) and it fails. I dont know how to solve the following errors. On 32 bit system it works correctly but i want to create my server on 64 bit because i've got 64 GB of RAM.

Code:
Linking ...
/usr/local/bin/ld: i386:x86-64 architecture of input file `/usr/lib/crti.o' is incompatible with i386 output
/usr/local/bin/ld: i386:x86-64 architecture of input file `/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd9.1/4.8.4/crtbeginS.o' is incompatible with i386 output
/usr/local/bin/ld: i386:x86-64 architecture of input file `/usr/local/lib/gcc48/gcc/x86_64-portbld-freebsd9.1/4.8.4/crtendS.o' is incompatible with i386 output
/usr/local/bin/ld: i386:x86-64 architecture of input file `/usr/lib/crtn.o' is incompatible with i386 output
collect2: error: ld returned 1 exit status
Linking command:

Code:
g++48 -m32 -Wall -L/usr/lib32 -U_GLIBCXX_USE_INT128 obj/m2lib/Command.cpp.o obj/m2lib/game/building/CLand.cpp.o obj/m2lib/game/building/CManager.cpp.o obj/m2lib/game/building/CObject.cpp.o obj/m2lib/game/CEntity.cpp.o obj/m2lib/game/CFSM.cpp.o obj/m2lib/game/CGuild.cpp.o obj/m2lib/game/CGuildManager.cpp.o obj/m2lib/game/CHARACTER.cpp.o obj/m2lib/game/CHARACTER_MANAGER.cpp.o obj/m2lib/game/CHorseRider.cpp.o obj/m2lib/game/CInputAuth.cpp.o obj/m2lib/game/CInputClose.cpp.o obj/m2lib/game/CInputDB.cpp.o obj/m2lib/game/CInputDead.cpp.o obj/m2lib/game/CInputHandshake.cpp.o obj/m2lib/game/CInputLogin.cpp.o obj/m2lib/game/CInputMain.cpp.o obj/m2lib/game/CInputP2P.cpp.o obj/m2lib/game/CInputProcessor.cpp.o obj/m2lib/game/CItem.cpp.o obj/m2lib/game/CPetActor.cpp.o obj/m2lib/game/CPetSystem.cpp.o obj/m2lib/game/CPrivManager.cpp.o obj/m2lib/game/CShopManager.cpp.o obj/m2lib/game/CState.cpp.o obj/m2lib/game/CThreeWayWar.cpp.o obj/m2lib/game/DBManager.cpp.o obj/m2lib/game/DESC.cpp.o obj/m2lib/game/DESC_MANAGER.cpp.o obj/m2lib/game/EVENT.cpp.o obj/m2lib/game/global.cpp.o obj/m2lib/game/ITEM_MANAGER.cpp.o obj/m2lib/game/LogManager.cpp.o obj/m2lib/game/lua.cpp.o obj/m2lib/game/marriage/CManager.cpp.o obj/m2lib/game/marriage/TMarriage.cpp.o obj/m2lib/game/misc.cpp.o obj/m2lib/game/P2P_MANAGER.cpp.o obj/m2lib/game/quest/CQuestManager.cpp.o obj/m2lib/game/quest/PC.cpp.o obj/m2lib/game/SECTREE.cpp.o obj/m2lib/game/SECTREE_MANAGER.cpp.o obj/m2lib/game/SECTREE_MAP.cpp.o obj/m2lib/game/SQLMsg.cpp.o obj/m2lib/game/SQLResult.cpp.o obj/m2lib/game/TAffectFlag.cpp.o obj/m2lib/game/TEMP_BUFFER.cpp.o obj/m2lib/game/VID.cpp.o obj/m2lib/IQuest.cpp.o obj/m2lib/lib/dif.cpp.o obj/m2lib/lib/log.cpp.o obj/m2lib/LibM2.cpp.o obj/m2lib/utils/hde/hde32.c.o obj/random.cpp.o obj/config_loader.cpp.o obj/main.cpp.o -L/usr/local/lib32/mysql/ -lpthread -static  -s -fno-use-linker-plugin -shared -o libgame.so
adamsiq is offline  
Reply


Similar Threads Similar Threads
Aion Online Compilation Problem
10/08/2014 - Aion Guides & Strategies - 1 Replies
Aion Online. pak Compile the file Aion Online. pak Kompilieren Sie die Datei Help Please
LibM2 - A LibGame SDK
03/05/2014 - Metin2 PServer Guides & Strategies - 136 Replies
EN: Hello there, Instead of modifying the game/db cache binary by using so-called "difs", which are file containing changes to a binary file and are generated by IDA, using preloaded libraries to hook and modify function has become more popular recently. For a really good reason. First off, you don't have to worry about dealing with asm anymore, neither do you have to worry about space constrains and finding unused functions to overwrite. There are basically no limits to what you can do -...
[SRX] Compilation problem
09/29/2011 - SRO Private Server - 2 Replies
Hi all. When i compile lastest version of SRX i will got error: http://i.imgur.com/8o43F.jpg How to fix it?



All times are GMT +1. The time now is 01:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.