Compilation error rev 63

Support forum for questions about compiling and running EQ2Emulator on Linux.

Moderator: Team Members

Post Reply
User avatar
alfa
Team Member
Posts: 550
Joined: Fri Jul 27, 2007 6:24 pm
Location: France
Contact:

Compilation error rev 63

Post by alfa » Tue Jan 29, 2008 5:46 pm

There is an error on compilation on linux with rev 63
(working fine with rev 62)

Code: Select all

zoneserver.cpp:290: erreur: 'stricmp' was not declared in this scope
zoneserver.cpp: In member function 'void ZoneServer::HandleChatMessage(Client*,char*, int16, char*, float, char*)':
Fight with me... Or die, like the rest.
J.A. say: "I think Xinux tried to tell me this, but I ignore most things he suggests."

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Post by John Adams » Tue Jan 29, 2008 10:11 pm

I got it to compile on Linux FC5 by changing stricmp to strcmp, but that's probably totally not the right thing to do. :D
Plus, on Linux, should our output binary be named "World.exe"? I thought *nix were too uber for extensions?
John Adams
EQ2Emulator - Project Ghost
"Everything should work now, except the stuff that doesn't" ~Xinux

Vaniel
Posts: 10
Joined: Tue Nov 20, 2007 7:30 pm

Post by Vaniel » Wed Feb 06, 2008 8:17 am

But we're all guilty of a .sh here or there :)

link2009
Retired
Posts: 390
Joined: Fri Aug 10, 2007 5:59 pm
Location: POrTal
Contact:

Post by link2009 » Wed Feb 06, 2008 10:48 am

stricmp does not exist in Linux. It only exists in Windows, so just do what John Adams said.
Image
-Vecinu de la Patru

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests