Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2002, 07:39 PM
Stud
Sarnak
 
Join Date: Jan 2002
Posts: 44
Default 2.4 Pre-release 3 compile

Using RedHat 7.2 with all errata patched, Linux Kernel 2.4.9-31 GCC 2.96 compiled almost flawlessly, one minor hiccup in one of the zone cpp files with a _snprintf, but after that everything else was smooth sailin'.

Thanks guys, doin great work 8o)
Reply With Quote
  #2  
Old 03-05-2002, 01:18 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Oh boy, oh boy , oh boy...

New version to play with !

OK.. so, not compiling well for me.. aside from my standard errors i have to fix (putting stdarg.h in and changing all hex and dec to std::hex, std::dec) , Im getting _snprintf undeclared..
Should just be in stdio.h i though.. Have ta figure that one out...
Reply With Quote
  #3  
Old 03-07-2002, 11:14 AM
Gjor
Fire Beetle
 
Join Date: Mar 2002
Posts: 3
Default

I wasn't able to get the login server to compile under 0.2.4 on linux. anyone have any luck with this?


Prototype for 'bool Database::GetLSaccountInfo(unsigned int, char *, int8 *, int*) doesn't match any in class Database is the error I get.
Reply With Quote
  #4  
Old 03-07-2002, 04:17 PM
misanthropicfnd
Fire Beetle
 
Join Date: Feb 2002
Posts: 19
Default

With any luck most of the linux build issues should be addressed in the next release.

Gjor: That function is implemented in logindatabase.cpp in the login directory--should only be required if you're trying to build a full login server. I didn't run across it so it might have been fixed already. If you still run into it w/the next release, post the file it's happening in, & it can be addressed.

Trumpcard: Instead of prefacing dec & hex w/std:: see if adding "using namespace std;" to the top of the affected cpp files after the #include statements will take care of things. It's actually a bug w/glibc's headers as dec & hex should be imported given we're including the old style iostream.h--free stuff can't always be perfect I suppose. Should save you a bit of work, & if it doesn't break other gcc versions we could roll it in at some point.
Reply With Quote
  #5  
Old 03-08-2002, 05:31 AM
jam^
Fire Beetle
 
Join Date: Jan 2002
Posts: 4
Default

edit login/logindatabase.cpp (copied from the 0.2.3 source tree) and change line 239 from
Code:
bool Database::GetLSAccountInfo(int32 account_id, char* name, int8* lsadmin)
to

Code:
bool Database::GetLSAccountInfo(int32 account_id, char* name, int8* lsadmin, int* status)
that makes it compile for me in 0.2.4-pre5, though i haven't tested it out yet.



Quote:
Originally Posted by Gjor
I wasn't able to get the login server to compile under 0.2.4 on linux. anyone have any luck with this?


Prototype for 'bool Database::GetLSaccountInfo(unsigned int, char *, int8 *, int*) doesn't match any in class Database is the error I get.
Reply With Quote
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:48 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3