Compiler Error on FC9

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

Moderator: Team Members

Post Reply
twintear
Posts: 5
Joined: Sun Nov 18, 2007 10:57 am

Compiler Error on FC9

Post by twintear » Tue Oct 28, 2008 2:47 am

this is error message.
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/local/mysql/include/mysql -I/usr/mysql/include -I./LUA/include ../common/dbcore.cpp -o ../common/dbcore.o
In file included from ../common/../common/Mutex.h:29,
from ../common/debug.h:65,
from ../common/dbcore.cpp:20:
../common/../common/../common/types.h:186: warning: 'typedef' was ignored in this declaration
../common/dbcore.cpp: In member function 'bool DBcore::ReadDBINI(char*, char*, char*, char*, int32&, bool&, bool*)':
../common/dbcore.cpp:126: error: 'atoi' was not declared in this scope
make: *** [../common/dbcore.o] Error 1
OS: Fedora Core 9
DB: MySQL 5.0.67
GCC:gcc-4.3.0-8
LUA:lua-5.1.3
could someone tell me what does is mean please?
or tell me what is should to do, or where i need to edit about makefile?

Image
Retired
Posts: 251
Joined: Sun Oct 26, 2008 10:07 am

Post by Image » Tue Oct 28, 2008 3:45 am

Try adding an include for <cstdlib> at the top of the file.

twintear
Posts: 5
Joined: Sun Nov 18, 2007 10:57 am

Post by twintear » Tue Oct 28, 2008 12:45 pm

Thank you so much
:oops:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests