Code: Select all
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/include/mysql -I/usr/mysql/include ../common/timer.cpp -o ../common/timer.o
../common/timer.cpp:191:2: warning: no newline at end of file
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/include/mysql -I/usr/mysql/include ../common/packet_dump.cpp -o ../common/packet_dump.o
../common/opcodemgr.h:48: warning: ‘class OpcodeManager::OpcodeSetStrategy’ has virtual functions but non-virtual destructor
../common/opcodemgr.h:109: warning: ‘class RegularOpcodeManager::NormalMemStrategy’ has virtual functions but non-virtual destructor
../common/../common/servertalk.h: In member function ‘std::string TableQuery::GetQueriesString()’:
../common/../common/servertalk.h:381: warning: comparison between signed and unsigned integer expressions
../common/../common/servertalk.h: In destructor ‘TableDataQuery::~TableDataQuery()’:
../common/../common/servertalk.h:460: warning: comparison between signed and unsigned integer expressions
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/include/mysql -I/usr/mysql/include races.cpp -o races.o
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/include/mysql -I/usr/mysql/include ../common/unix.cpp -o ../common/unix.o
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/include/mysql -I/usr/mysql/include ../common/Mutex.cpp -o ../common/Mutex.o
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/include/mysql -I/usr/mysql/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
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/include/mysql -I/usr/mysql/include ../common/emu_opcodes.cpp -o ../common/emu_opcodes.o
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/include/mysql -I/usr/mysql/include Commands.cpp -o Commands.o
In file included from Commands.cpp:24:
WorldDatabase.h:27:19: error: mysql.h: No such file or directory
../common/../World/SpawnLists.h: In member function ‘void SpawnCommandList::SetCommands(SpawnCommandList*)’:
../common/../World/SpawnLists.h:56: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/../World/SpawnLists.h:56: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/DataBuffer.h: In member function ‘void DataBuffer::AddDataCommandList(SpawnCommandList*)’:
../common/DataBuffer.h:231: warning: comparison between signed and unsigned integer expressions
../common/opcodemgr.h: At global scope:
../common/opcodemgr.h:48: warning: ‘class OpcodeManager::OpcodeSetStrategy’ has virtual functions but non-virtual destructor
../common/opcodemgr.h:109: warning: ‘class RegularOpcodeManager::NormalMemStrategy’ has virtual functions but non-virtual destructor
../common/servertalk.h: In member function ‘std::string TableQuery::GetQueriesString()’:
../common/servertalk.h:381: warning: comparison between signed and unsigned integer expressions
../common/servertalk.h: In destructor ‘TableDataQuery::~TableDataQuery()’:
../common/servertalk.h:460: warning: comparison between signed and unsigned integer expressions
../common/dbcore.h: At global scope:
../common/dbcore.h:53: error: ‘MYSQL_RES’ has not been declared
../common/dbcore.h:65: error: ‘MYSQL’ does not name a type
../common/database.h:83: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../common/database.h:83: error: expected ‘;’ before ‘*’ token
../common/database.h:84: error: expected `;' before ‘MYSQL_RES’
../common/database.h:84: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../common/database.h:84: error: expected ‘;’ before ‘*’ token
../common/database.h:100: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../common/database.h:100: error: expected ‘;’ before ‘*’ token
../common/database.h:106: error: ‘MYSQL_ERRMSG_SIZE’ was not declared in this scope
../common/database.h:107: error: ISO C++ forbids declaration of ‘MYSQL_RES’ with no type
../common/database.h:107: error: expected ‘;’ before ‘*’ token
../common/database.h:112: error: ISO C++ forbids declaration of ‘MYSQL_ROW’ with no type
../common/database.h:112: error: expected ‘;’ before ‘*’ token
../common/database.h:113: error: ‘MYSQL’ does not name a type
../common/database.h: In constructor ‘Query::Query()’:
../common/database.h:61: error: ‘result’ was not declared in this scope
../common/database.h:65: error: ‘row’ was not declared in this scope
../common/database.h: In destructor ‘Query::~Query()’:
../common/database.h:72: error: ‘result’ was not declared in this scope
../common/database.h:73: error: ‘mysql_free_result’ was not declared in this scope
../common/database.h:74: error: ‘result’ was not declared in this scope
../common/database.h: In member function ‘char* Query::GetError()’:
../common/database.h:85: error: ‘errbuf’ was not declared in this scope
../common/database.h: In member function ‘char* Query::GetQuery()’:
../common/database.h:87: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/database.h: In member function ‘char* Query::GetField(int8)’:
../common/database.h:89: error: ‘row’ was not declared in this scope
../common/database.h:89: error: ‘result’ was not declared in this scope
../common/database.h:90: error: ‘mysql_fetch_row’ was not declared in this scope
../common/database.h:91: error: ‘row’ was not declared in this scope
../common/database.h:91: error: ‘result’ was not declared in this scope
../common/database.h:91: error: ‘mysql_num_fields’ was not declared in this scope
../common/database.h: In member function ‘void Query::NextRow()’:
../common/database.h:97: error: ‘result’ was not declared in this scope
../common/database.h:98: error: ‘row’ was not declared in this scope
../common/database.h:98: error: ‘mysql_fetch_row’ was not declared in this scope
net.h: In member function ‘char* ZoneAuthRequest::GetCharacterName()’:
net.h:104: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/PacketStruct.h: In member function ‘void PacketStruct::setArrayAddToPacketByName(char*, bool, int16, int16)’:
../common/PacketStruct.h:159: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
../common/PacketStruct.h: In member function ‘char* PacketStruct::GetName()’:
../common/PacketStruct.h:352: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
zoneserver.h: At global scope:
zoneserver.h:66: warning: ‘class ZoneServer’ has virtual functions but non-virtual destructor
WorldDatabase.h:116: error: ‘MYSQL_ROW’ has not been declared
Commands.cpp: In member function ‘void Commands::Process(int32, EQ2_16BitString*, Client*)’:
Commands.cpp:348: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:367: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:369: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:370: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:371: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:372: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:381: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:384: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:385: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:386: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:427: warning: comparison between signed and unsigned integer expressions
Commands.cpp:442: warning: comparison between signed and unsigned integer expressions
Commands.cpp:466: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:473: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:481: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:488: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:496: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:503: warning: cast from type ‘const char*’ to type ‘char*’ casts away constness
Commands.cpp:732: warning: large integer implicitly truncated to unsigned type
Commands.cpp:1000: warning: large integer implicitly truncated to unsigned type
Commands.cpp:1069: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1071: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1094: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1095: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1098: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1138: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1140: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1156: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1159: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1161: warning: deprecated conversion from string constant to ‘char*’'
Commands.cpp:1163: warning: deprecated conversion from string constant to ‘char*’'
Spawn.h: In member function ‘void Spawn::Set(Field*, Value) [with Field = sint16, Value = float]’:
Spawn.h:241: instantiated from ‘void Spawn::SetPos(Field*, Value, bool) [with Field = sint16, Value = float]’
Spawn.h:310: instantiated from here
Spawn.h:230: warning: converting to ‘short int’ from ‘float’
make: *** [Commands.o] Error 1