svn co https://eq2emulator.svn.sourceforge.net ... q2emulator gives me rev 370
Any ideas?
Code: Select all
[dsr@wolverine World]$ make
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/timer.cpp -o ../common/timer.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/packet_dump.cpp -o ../common/packet_dump.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include races.cpp -o races.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/unix.cpp -o ../common/unix.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/Mutex.cpp -o ../common/Mutex.o
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/include ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
../common/MiscFunctions.cpp: In function âstd::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >* SplitString(std::string, char)â:
../common/MiscFunctions.cpp:394: warning: comparison is always true due to limited range of data type
g++ -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wcomment -Wcast-align -Wno-deprecated -g -march=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/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=opteron -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DEQ2 -DWORLD -I/usr/include/mysql -I/usr/mysql/include -I./LUA/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/dbcore.h:53: error: âMYSQL_RESâ has not been declared
../common/dbcore.h:66: error: âMYSQLâ does not name a type
../common/database.h:91: error: ISO C++ forbids declaration of âMYSQL_RESâ with no type
../common/database.h:91: error: expected â;â before â*â token
../common/database.h:92: error: expected `;' before âMYSQL_RESâ
../common/database.h:92: error: ISO C++ forbids declaration of âMYSQL_RESâ with no type
../common/database.h:92: error: expected â;â before â*â token
../common/database.h:108: error: ISO C++ forbids declaration of âMYSQL_RESâ with no type
../common/database.h:108: error: expected â;â before â*â token
../common/database.h:114: error: âMYSQL_ERRMSG_SIZEâ was not declared in this scope
../common/database.h:115: error: ISO C++ forbids declaration of âMYSQL_RESâ with no type
../common/database.h:115: error: expected â;â before â*â token
../common/database.h:116: error: âMYSQL_RESâ was not declared in this scope
../common/database.h:116: error: template argument 1 is invalid
../common/database.h:116: error: template argument 2 is invalid
../common/database.h:121: error: ISO C++ forbids declaration of âMYSQL_ROWâ with no type
../common/database.h:121: error: expected â;â before â*â token
../common/database.h:122: 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:73: error: âresultâ was not declared in this scope
../common/database.h:74: error: âmysql_free_resultâ was not declared in this scope
../common/database.h:75: error: âresultâ was not declared in this scope
../common/database.h:82: error: âMYSQL_RESâ was not declared in this scope
../common/database.h:82: error: template argument 1 is invalid
../common/database.h:82: error: template argument 2 is invalid
../common/database.h:82: error: expected initializer before âitrâ
../common/database.h:83: error: âitrâ was not declared in this scope
../common/database.h:83: error: request for member âbeginâ in â*((Query*)this)->Query::multiple_resultsâ, which is of non-class type âintâ
../common/database.h:83: error: request for member âendâ in â*((Query*)this)->Query::multiple_resultsâ, which is of non-class type âintâ
../common/database.h:84: error: âmysql_free_resultâ was not declared in this scope
../common/database.h: In member function âchar* Query::GetError()â:
../common/database.h:93: error: âerrbufâ was not declared in this scope
../common/database.h: In member function âchar* Query::GetField(int8)â:
../common/database.h:97: error: ârowâ was not declared in this scope
../common/database.h:97: error: âresultâ was not declared in this scope
../common/database.h:98: error: âmysql_fetch_rowâ was not declared in this scope
../common/database.h:99: error: ârowâ was not declared in this scope
../common/database.h:99: error: âresultâ was not declared in this scope
../common/database.h:99: error: âmysql_num_fieldsâ was not declared in this scope
../common/database.h: In member function âvoid Query::NextRow()â:
../common/database.h:105: error: âresultâ was not declared in this scope
../common/database.h:106: error: ârowâ was not declared in this scope
../common/database.h:106: error: âmysql_fetch_rowâ was not declared in this scope
WorldDatabase.h: At global scope:
WorldDatabase.h:237: error: âMYSQL_ROWâ has not been declared
make: *** [Commands.o] Error 1