IPB

Welcome Guest ( Log In | Register )



3 Pages V   1 2 3 >  
Reply to this topicStart new topic
64 bit Support, trunk r13486
flaviojs
post Jan 25 2009, 11:26 AM
Post #1


eA Regular
Group Icon

Group: Core Developers
Posts: 278
Joined: 2-December 05
From: Coimbra, Portugal
Member No.: 133,514



The trunk branch can be compiled as a 64 bit app since r13486.
To enable this, you need run configure with the --enable-64bit option:
CODE
./configure --enable-64bit

WARNING: 64bit support is still being tested, not recommended for production servers.
Go to the top of the page
 
+Quote Post
Akayoo
post Jan 25 2009, 10:50 PM
Post #2


eA Apprentice
***

Group: eA Level 5 (Super)
Posts: 152
Joined: 27-July 08
From: Rok--City of Fables
Member No.: 267,467



Does that mean that compiling on 64 bit os creates issues without that?
Go to the top of the page
 
+Quote Post
BenTheExo
post Jan 26 2009, 01:45 AM
Post #3


Company Shill
*********

Group: Banned
Posts: 1,603
Joined: 29-October 06
From: In my apartment, away from you.
Member No.: 196,554



it means that now you can natively compile on linux and with cygwin for windows. It will make native 64bit binaries now.
Go to the top of the page
 
+Quote Post
Funt
post Jan 28 2009, 02:12 PM
Post #4


Nobody is Perfect...I'm Nobody
Group Icon

Group: Russian Forums Moderators
Posts: 2,714
Joined: 8-May 07
From: Russia Federation,Saint-Petersburg
Member No.: 227,619



Ok...So,what about compiling in Microsoft VS 64bit binaries?
Go to the top of the page
 
+Quote Post
BenTheExo
post Jan 28 2009, 04:03 PM
Post #5


Company Shill
*********

Group: Banned
Posts: 1,603
Joined: 29-October 06
From: In my apartment, away from you.
Member No.: 196,554



Windows can run 32bit binaries in a 64bit environment.
Go to the top of the page
 
+Quote Post
RoM
post Jan 28 2009, 04:14 PM
Post #6


Leaning eA
**

Group: eA Level 3 (Normal)
Posts: 35
Joined: 19-August 05
Member No.: 121,789



And how can I compile the 64 bit with VC++?
Go to the top of the page
 
+Quote Post
BenTheExo
post Jan 28 2009, 07:17 PM
Post #7


Company Shill
*********

Group: Banned
Posts: 1,603
Joined: 29-October 06
From: In my apartment, away from you.
Member No.: 196,554



You do not need to compile 64bit for Windows plain and simple. It compiles for 32bit and will run as 32bit on the 64bit Windows host.
Go to the top of the page
 
+Quote Post
iKKe
post Jan 29 2009, 04:32 AM
Post #8


Fear Zherlthsh's Twin :)
Group Icon

Group: Spanish Forum Moderators
Posts: 255
Joined: 21-July 04
From: Valencia ; Spain :)
Member No.: 2,918



But, what if he has an 64 bits environment and wants to use it? should be a way to compile it under VC++ >_>
Go to the top of the page
 
+Quote Post
RoM
post Jan 29 2009, 06:48 PM
Post #9


Leaning eA
**

Group: eA Level 3 (Normal)
Posts: 35
Joined: 19-August 05
Member No.: 121,789



Yes, that's my case, I have a 64 bit Windows and don't know how can I compile this in VC++ at 64 bit.
Go to the top of the page
 
+Quote Post
BenTheExo
post Jan 29 2009, 07:35 PM
Post #10


Company Shill
*********

Group: Banned
Posts: 1,603
Joined: 29-October 06
From: In my apartment, away from you.
Member No.: 196,554



There is no use to compile 64bit Athena for Windows. There is no benefit at this point and time to using it 64bit Athena. The only reason the option needs to be available for Linux is because of the long complicated process to do a change of root (ie. http://www.eathena.ws/board/How-To-Chroot-t187998.html and http://www.eathena.ws/board/index.php?show...&p=1041632).
Go to the top of the page
 
+Quote Post
theultramage
post Feb 2 2009, 06:43 PM
Post #11


eA code removal squad
Group Icon

Group: Core Developers
Posts: 3,632
Joined: 10-February 06
Member No.: 144,308



Visual Studio can build 64bit, but professional edition or higher is required to be able to set up the project file's options.
Also, 64bit mysql, zlib and pcre builds would be needed for linking. And that's easier said than done.
Go to the top of the page
 
+Quote Post
Funt
post Feb 4 2009, 06:04 PM
Post #12


Nobody is Perfect...I'm Nobody
Group Icon

Group: Russian Forums Moderators
Posts: 2,714
Joined: 8-May 07
From: Russia Federation,Saint-Petersburg
Member No.: 227,619



Got it...
But if some one wanna to try,Here is some information about native 64 bit compiling under Windows in Visual Studio (IMG:http://www.eathena.ws/board/style_emoticons/default/smile.gif)
P.S.Sorry for my English =\
Go to the top of the page
 
+Quote Post
VisiGod
post Feb 25 2009, 08:15 PM
Post #13


eA NOOB.


Group: eA Level 1 (None)
Posts: 2
Joined: 8-November 06
Member No.: 198,593



I still have problems when compiling on a 64 bit system:
CODE
checking for inflateEnd in -lz... no
configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping


Any info or help regarding the zlib problem? I've tried all the path's where the headers and lib's were but without any luck


PS: Just needed to install glibc-devel.i386

This post has been edited by VisiGod: Feb 25 2009, 09:14 PM
Go to the top of the page
 
+Quote Post
Peter
post Feb 26 2009, 02:26 PM
Post #14


Just full stop, Legendary.
***

Group: eA Level 3 (Normal)
Posts: 73
Joined: 22-October 04
From: Vancouver, BC
Member No.: 8,684



QUOTE (VisiGod @ Feb 25 2009, 05:15 PM) *
I still have problems when compiling on a 64 bit system:
CODE
checking for inflateEnd in -lz... no
configure: error: zlib library not found or incompatible, please specify the correct path with --with-zlib=DIR... stopping


Any info or help regarding the zlib problem? I've tried all the path's where the headers and lib's were but without any luck


PS: Just needed to install glibc-devel.i386



i386 == 32bit. Why are you building as 32bit on a 64bit system?

Obviously you didnt RTFP:

QUOTE (flaviojs @ Jan 25 2009, 08:26 AM) *
The trunk branch can be compiled as a 64 bit app since r13486.
To enable this, you need run configure with the --enable-64bit option:
CODE
./configure --enable-64bit

WARNING: 64bit support is still being tested, not recommended for production servers.
Go to the top of the page
 
+Quote Post
D4R34lB00n
post Mar 2 2009, 04:17 PM
Post #15


eA NOOB.


Group: eA Level 1 (None)
Posts: 7
Joined: 18-July 08
Member No.: 266,713



i just tried the latest trunk version form the SVN on my 64bit Ubuntu Linux and configured + compiled it without errors. But wenn i try to start the login-server_sql it doesnt read the inter_athena.conf. Here the log-file:
CODE

[Status]: Memory manager initialised: log/login-server_sql.leaks
[Info]: SVN Revision: '13557'.
[Info]: Reading configuration file conf/login_athena.conf...
[Status]: Login server binding IP address : XXXX -> XXXX
[Status]: set login_port : 6900
[02/Mar 21:59][Info]: Console Silent Setting: 0
[02/Mar 21:59][Info]: Reading configuration file conf/import/login_conf.txt...
[02/Mar 21:59][Status]: Login server binding IP address : XXXX -> XXXX
[02/Mar 21:59][Status]: set login_port : 6900
[02/Mar 21:59][Info]: Console Silent Setting: 0
[02/Mar 21:59][Info]: Finished reading conf/import/login_conf.txt.
[02/Mar 21:59][Info]: Finished reading conf/login_athena.conf.
[02/Mar 21:59][Info]: Reading the configuration file conf/subnet_athena.conf...
[02/Mar 21:59][Status]: Read information about 1 subnetworks.
[02/Mar 21:59][SQL]: Access denied for user 'ragnarok'@'localhost' to database 'ragnarok'
[02/Mar 21:59][Debug]: at loginlog_sql.c:110

I`m not sure where the server takes the information from for the MySQL-Database, but it is definetly not the inter_athena.conf. Looks like some default value. Maybe something wrong in the c-code? There were many warings by gcc, which have to do with bad coding-style (my opinion on leaving parenthese away in situations where it depens on the compiler how it handles the ambiguity). But i just wanted to give a small feedback .. i dont have the time atm to look closer at the problem.

Greetz
B00n
Go to the top of the page
 
+Quote Post

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 24th November 2014 - 12:24 PM
Bridged By IpbWiki: Integration Of Invision Power Board and MediaWiki © GlobalSoft