dexoluss 0 Posted June 12 Share Posted June 12 Hey, im trying to compile server source but i get this error ---> would someone please help me? Thanks Spoiler root@m2compiler:/home # cd /home/m2server_source/Srcs/Server root@m2compiler:/home/m2server_source/Srcs/Server # gmake all -j4 -------------------------------------- Update Revision -------------------------------------- 40319 -------------------------------------- Full Build Start -------------------------------------- gmake -C liblua/5.0 clean gmake[1]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0' cd include; gmake clean gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/inclu de' gmake[2]: Nothing to be done for 'clean'. gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/includ e' cd src; gmake clean gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/src' rm -f lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject. o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm.o lundump.o lvm. o lzio.o ../lib/liblua.a gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/src' cd src/lib; gmake clean gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/src/l ib' rm -f lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o load lib.o ../../lib/liblualib.a gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/src/li b' gmake[1]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0' gmake -C liblua/5.0 gmake[1]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0' cd include; gmake all gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/inclu de' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/includ e' cd src; gmake all gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/src' gcc -O2 -g -m32 -Wall -I../include -c -o lapi.o lapi.c gcc -O2 -g -m32 -Wall -I../include -c -o lcode.o lcode.c gcc -O2 -g -m32 -Wall -I../include -c -o ldebug.o ldebug.c gcc -O2 -g -m32 -Wall -I../include -c -o ldo.o ldo.c gcc -O2 -g -m32 -Wall -I../include -c -o ldump.o ldump.c gcc -O2 -g -m32 -Wall -I../include -c -o lfunc.o lfunc.c gcc -O2 -g -m32 -Wall -I../include -c -o lgc.o lgc.c gcc -O2 -g -m32 -Wall -I../include -c -o llex.o llex.c llex.c: In function 'read_string': llex.c:285: warning: case label value is less than minimum value for type gcc -O2 -g -m32 -Wall -I../include -c -o lmem.o lmem.c gcc -O2 -g -m32 -Wall -I../include -c -o lobject.o lobject.c gcc -O2 -g -m32 -Wall -I../include -c -o lopcodes.o lopcodes.c gcc -O2 -g -m32 -Wall -I../include -c -o lparser.o lparser.c gcc -O2 -g -m32 -Wall -I../include -c -o lstate.o lstate.c gcc -O2 -g -m32 -Wall -I../include -c -o lstring.o lstring.c gcc -O2 -g -m32 -Wall -I../include -c -o ltable.o ltable.c gcc -O2 -g -m32 -Wall -I../include -c -o ltests.o ltests.c gcc -O2 -g -m32 -Wall -I../include -c -o ltm.o ltm.c gcc -O2 -g -m32 -Wall -I../include -c -o lundump.o lundump.c gcc -O2 -g -m32 -Wall -I../include -c -o lvm.o lvm.c gcc -O2 -g -m32 -Wall -I../include -c -o lzio.o lzio.c if [ ! -d ../lib ]; then mkdir ; fi ar rcu ../lib/liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex. o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o ltm .o lundump.o lvm.o lzio.o ranlib ../lib/liblua.a gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/src' cd src/lib; gmake all gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/liblua/5.0/src/l ib' gcc -O2 -g -m32 -Wall -I../../include -c -o lauxlib.o lauxlib.c gcc -O2 -g -m32 -Wall -I../../include -c -o lbaselib.o lbaselib.c gcc -O2 -g -m32 -Wall -I../../include -c -o ldblib.o ldblib.c gcc -O2 -g -m32 -Wall -I../../include -c -o liolib.o liolib.c liolib.c: In function 'g_iofile': liolib.c:251: warning: value computed is not used liolib.c: In function 'f_lines': liolib.c:286: warning: value computed is not used gcc -O2 -g -m32 -Wall -I../../include -c -o lmathlib.o lmathlib.c gcc -O2 -g -m32 -Wall -I../../include -c -o ltablib.o ltablib.c gcc -O2 -g -m32 -Wall -I../../include -c -o lstrlib.o lstrlib.c gcc -O2 -g -m32 -Wall -I../../include -c -o loadlib.o loadlib.c ar rcu ../../lib/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o l tablib.o lstrlib.o loadlib.o ranlib ../../lib/liblualib.a gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0/src/li b' gmake[1]: Leaving directory '/home/m2server_source/Srcs/Server/liblua/5.0' # gmake -C liblua/5.2 clean # gmake -C liblua/5.2 freebsd # gmake -C liblua/5.2 local gmake -C libsql dep gmake[1]: Entering directory '/home/m2server_source/Srcs/Server/libsql' touch Depend g++ -I/usr/local/include/ -m32 -Wall -O2 -pipe -D_THREAD_SAFE -fno-exceptions - MM *.cpp > Depend gmake[1]: Leaving directory '/home/m2server_source/Srcs/Server/libsql' gmake -C libsql clean gmake[1]: Entering directory '/home/m2server_source/Srcs/Server/libsql' rm -f *.o rm -f ./libsql.a gmake[1]: Leaving directory '/home/m2server_source/Srcs/Server/libsql' gmake -C libsql gmake[1]: Entering directory '/home/m2server_source/Srcs/Server/libsql' gmake ./libsql.a gmake[2]: Entering directory '/home/m2server_source/Srcs/Server/libsql' g++ -I/usr/local/include/ -m32 -Wall -O2 -pipe -D_THREAD_SAFE -fno-exceptions - c AsyncSQL.cpp g++ -I/usr/local/include/ -m32 -Wall -O2 -pipe -D_THREAD_SAFE -fno-exceptions - c Semaphore.cpp g++ -I/usr/local/include/ -m32 -Wall -O2 -pipe -D_THREAD_SAFE -fno-exceptions - c Tellwait.cpp g++ -I/usr/local/include/ -m32 -Wall -O2 -pipe -D_THREAD_SAFE -fno-exceptions - c Statement.cpp In file included from AsyncSQL.cpp:8: AsyncSQL.h:11:25: error: mysql/mysql.h: No such file or directory AsyncSQL.h:12:26: error: mysql/errmsg.h: No such file or directory AsyncSQL.h:13:32: error: mysql/mysqld_error.h: No such file or directory In file included from Statement.h:4, from Statement.cpp:1: AsyncSQL.h:11:25: error: mysql/mysql.h: No such file or directory AsyncSQL.h:12:26: error: mysql/errmsg.h: No such file or directory AsyncSQL.h:13:32: error: mysql/mysqld_error.h: No such file or directory In file included from stdafx.h:2, from Semaphore.cpp:1: AsyncSQL.h:11:25: error: mysql/mysql.h: No such file or directory AsyncSQL.h:12:26: error: mysql/errmsg.h: No such file or directory AsyncSQL.h:13:32: error: mysql/mysqld_error.h: No such file or directory In file included from AsyncSQL.cpp:8: AsyncSQL.h:35: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type AsyncSQL.h:35: error: expected ';' before '*' token AsyncSQL.h: In constructor '_SQLResult::_SQLResult()': AsyncSQL.h:22: error: class '_SQLResult' does not have any field named 'pSQLResu lt' AsyncSQL.h: In destructor '_SQLResult::~_SQLResult()': AsyncSQL.h:28: error: 'pSQLResult' was not declared in this scope AsyncSQL.h:30: error: 'mysql_free_result' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:98: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:98: error: expected ';' before '*' token AsyncSQL.h: In constructor '_SQLMsg::_SQLMsg()': AsyncSQL.h:43: error: class '_SQLMsg' does not have any field named 'm_pkSQL' AsyncSQL.h: In member function 'void _SQLMsg::Store()': AsyncSQL.h:64: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:64: error: 'm_pkSQL' was not declared in this scope AsyncSQL.h:64: error: 'mysql_store_result' was not declared in this scope AsyncSQL.h:65: error: 'mysql_insert_id' was not declared in this scope AsyncSQL.h:66: error: 'mysql_affected_rows' was not declared in this scope AsyncSQL.h:68: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'mysql_num_rows' was not declared in this scope AsyncSQL.h:78: error: 'm_pkSQL' was not declared in this scope AsyncSQL.h:78: error: 'mysql_next_result' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:139: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:139: error: expected ';' before '*' token AsyncSQL.h:165: error: 'MYSQL' does not name a type In file included from stdafx.h:2, from Semaphore.cpp:1: AsyncSQL.h:35: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type AsyncSQL.h:35: error: expected ';' before '*' token AsyncSQL.h: In constructor '_SQLResult::_SQLResult()': AsyncSQL.h:22: error: class '_SQLResult' does not have any field named 'pSQLResu lt' AsyncSQL.h: In destructor '_SQLResult::~_SQLResult()': AsyncSQL.h:28: error: 'pSQLResult' was not declared in this scope AsyncSQL.h:30: error: 'mysql_free_result' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:98: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:98: error: expected ';' before '*' token AsyncSQL.cpp: In constructor 'CAsyncSQL::CAsyncSQL()': AsyncSQL.cpp:30: error: 'm_hDB' was not declared in this scope AsyncSQL.h: In constructor '_SQLMsg::_SQLMsg()': AsyncSQL.h:43: error: class '_SQLMsg' does not have any field named 'm_pkSQL' In file included from Statement.h:4, from Statement.cpp:1: AsyncSQL.h:35: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type AsyncSQL.h:35: error: expected ';' before '*' token AsyncSQL.h: In constructor '_SQLResult::_SQLResult()': AsyncSQL.h:22: error: class '_SQLResult' does not have any field named 'pSQLResu lt' AsyncSQL.h: In destructor '_SQLResult::~_SQLResult()': AsyncSQL.h:28: error: 'pSQLResult' was not declared in this scope AsyncSQL.h:30: error: 'mysql_free_result' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:98: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:98: error: expected ';' before '*' token AsyncSQL.cpp: In member function 'void CAsyncSQL::Destroy()': AsyncSQL.cpp:44: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:47: error: 'mysql_close' was not declared in this scope AsyncSQL.h: In member function 'void _SQLMsg::Store()': AsyncSQL.h:64: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:64: error: 'm_pkSQL' was not declared in this scope AsyncSQL.h:64: error: 'mysql_store_result' was not declared in this scope AsyncSQL.h:65: error: 'mysql_insert_id' was not declared in this scope AsyncSQL.h:66: error: 'mysql_affected_rows' was not declared in this scope AsyncSQL.h:68: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'mysql_num_rows' was not declared in this scope AsyncSQL.h:78: error: 'm_pkSQL' was not declared in this scope AsyncSQL.cpp: In member function 'bool CAsyncSQL::QueryLocaleSet()': AsyncSQL.cpp:103: error: 'm_hDB' was not declared in this scopeAsyncSQL.h:78: er ror: 'mysql_next_result' was not declared in this scope AsyncSQL.cpp:103: error: 'mysql_set_character_set' was not declared in this scop e AsyncSQL.cpp:105: error: 'mysql_errno' was not declared in this scope AsyncSQL.cpp:105: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp: In member function 'bool CAsyncSQL::Connect()': AsyncSQL.cpp:116: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:116: error: 'mysql_init' was not declared in this scope AsyncSQL.cpp:128: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:128: error: 'MYSQL_SET_CHARSET_NAME' was not declared in this scope AsyncSQL.cpp:128: error: 'mysql_options' was not declared in this scope AsyncSQL.cpp:130: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp:134: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:134: error: 'CLIENT_MULTI_STATEMENTS' was not declared in this scop e AsyncSQL.cpp:134: error: 'mysql_real_connect' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:139: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:139: error: expected ';' before '*' token AsyncSQL.cpp:136: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp:140: error: 'my_bool' was not declared in this scope AsyncSQL.cpp:140: error: expected `;' before 'reconnect' AsyncSQL.cpp:142: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:142: error: 'MYSQL_OPT_RECONNECT' was not declared in this scope AsyncSQL.cpp:142: error: 'reconnect' was not declared in this scope AsyncSQL.cpp:142: error: 'mysql_options' was not declared in this scope AsyncSQL.cpp:143: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp:145: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:152: error: 'mysql_thread_id' was not declared in this scope AsyncSQL.h:165: error: 'MYSQL' does not name a type AsyncSQL.h: In constructor '_SQLMsg::_SQLMsg()': AsyncSQL.h:43: error: class '_SQLMsg' does not have any field named 'm_pkSQL' AsyncSQL.cpp: In member function 'SQLMsg* CAsyncSQL::DirectQuery(const char*)': AsyncSQL.cpp:250: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:250: error: 'mysql_thread_id' was not declared in this scope AsyncSQL.cpp:259: error: 'struct _SQLMsg' has no member named 'm_pkSQL' AsyncSQL.cpp:259: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:263: error: 'mysql_real_query' was not declared in this scope AsyncSQL.cpp:269: error: 'mysql_error' was not declared in this scope AsyncSQL.h: In member function 'void _SQLMsg::Store()': AsyncSQL.h:64: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:64: error: 'm_pkSQL' was not declared in this scope AsyncSQL.h:64: error: 'mysql_store_result' was not declared in this scope AsyncSQL.cpp:272: error: 'mysql_errno' was not declared in this scope AsyncSQL.h:65: error: 'mysql_insert_id' was not declared in this scope AsyncSQL.h:66: error: 'mysql_affected_rows' was not declared in this scope AsyncSQL.h:68: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'struct _SQLResult' has no member named 'pSQLResult' AsyncSQL.h:70: error: 'mysql_num_rows' was not declared in this scope AsyncSQL.h:78: error: 'm_pkSQL' was not declared in this scope AsyncSQL.h:78: error: 'mysql_next_result' was not declared in this scope AsyncSQL.cpp: In member function 'void CAsyncSQL::AsyncQuery(const char*)': AsyncSQL.cpp:283: error: 'struct _SQLMsg' has no member named 'm_pkSQL' AsyncSQL.cpp:283: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp: In member function 'void CAsyncSQL::ReturnQuery(const char*, void* )': AsyncSQL.cpp:294: error: 'struct _SQLMsg' has no member named 'm_pkSQL' AsyncSQL.cpp:294: error: 'm_hDB' was not declared in this scope AsyncSQL.h: At global scope: AsyncSQL.h:139: error: ISO C++ forbids declaration of 'MYSQL' with no type AsyncSQL.h:139: error: expected ';' before '*' token AsyncSQL.h:165: error: 'MYSQL' does not name a type AsyncSQL.cpp: In member function 'void CAsyncSQL::ChildLoop()': AsyncSQL.cpp:554: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:554: error: 'mysql_thread_id' was not declared in this scope AsyncSQL.cpp:561: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:561: error: 'mysql_real_query' was not declared in this scope AsyncSQL.cpp:563: error: 'mysql_errno' was not declared in this scope AsyncSQL.cpp:565: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp:570: error: 'CR_SOCKET_CREATE_ERROR' was not declared in this scope AsyncSQL.cpp:571: error: 'CR_CONNECTION_ERROR' was not declared in this scope AsyncSQL.cpp:572: error: 'CR_IPSOCK_ERROR' was not declared in this scope AsyncSQL.cpp:573: error: 'CR_UNKNOWN_HOST' was not declared in this scope In file included from Statement.cpp:1: Statement.h:16: error: 'enum_field_types' has not been declared AsyncSQL.cpp:574: error: 'CR_SERVER_GONE_ERROR' was not declared in this scope Statement.h:17: error: 'enum_field_types' has not been declared AsyncSQL.cpp:575: error: 'CR_CONN_HOST_ERROR' was not declared in this scope AsyncSQL.cpp:576: error: 'ER_NOT_KEYFILE' was not declared in this scope AsyncSQL.cpp:577: error: 'ER_CRASHED_ON_USAGE' was not declared in this scope AsyncSQL.cpp:578: error: 'ER_CANT_OPEN_FILE' was not declared in this scope AsyncSQL.cpp:579: error: 'ER_HOST_NOT_PRIVILEGED' was not declared in this scope AsyncSQL.cpp:580: error: 'ER_HOST_IS_BLOCKED' was not declared in this scope AsyncSQL.cpp:581: error: 'ER_PASSWORD_NOT_ALLOWED' was not declared in this scop e AsyncSQL.cpp:582: error: 'ER_PASSWORD_NO_MATCH' was not declared in this scope AsyncSQL.cpp:583: error: 'ER_CANT_CREATE_THREAD' was not declared in this scope AsyncSQL.cpp:584: error: 'ER_INVALID_USE_OF_NULL' was not declared in this scope Statement.h:29: error: ISO C++ forbids declaration of 'MYSQL_STMT' with no type Statement.h:29: error: expected ';' before '*' token Statement.h:33: error: 'MYSQL_BIND' was not declared in this scope Statement.h:33: error: template argument 1 is invalid Statement.h:33: error: template argument 2 is invalid Statement.h:37: error: 'MYSQL_BIND' was not declared in this scope Statement.h:37: error: template argument 1 is invalid Statement.h:37: error: template argument 2 is invalid Statement.cpp: In constructor 'CStmt::CStmt()': Statement.cpp:8: error: 'm_pkStmt' was not declared in this scope AsyncSQL.cpp:616: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:616: error: 'mysql_thread_id' was not declared in this scope AsyncSQL.cpp:623: error: 'm_hDB' was not declared in this scope AsyncSQL.cpp:623: error: 'mysql_real_query' was not declared in this scope AsyncSQL.cpp:625: error: 'mysql_errno' was not declared in this scope AsyncSQL.cpp:627: error: 'mysql_error' was not declared in this scope AsyncSQL.cpp:632: error: 'CR_SOCKET_CREATE_ERROR' was not declared in this scope AsyncSQL.cpp:633: error: 'CR_CONNECTION_ERROR' was not declared in this scope AsyncSQL.cpp:634: error: 'CR_IPSOCK_ERROR' was not declared in this scope AsyncSQL.cpp:635: error: 'CR_UNKNOWN_HOST' was not declared in this scope AsyncSQL.cpp:636: error: 'CR_SERVER_GONE_ERROR' was not declared in this scope AsyncSQL.cpp:637: error: 'CR_CONN_HOST_ERROR' was not declared in this scope AsyncSQL.cpp:638: error: 'ER_NOT_KEYFILE' was not declared in this scope AsyncSQL.cpp:639: error: 'ER_CRASHED_ON_USAGE' was not declared in this scope AsyncSQL.cpp:640: error: 'ER_CANT_OPEN_FILE' was not declared in this scope AsyncSQL.cpp:641: error: 'ER_HOST_NOT_PRIVILEGED' was not declared in this scope AsyncSQL.cpp:642: error: 'ER_HOST_IS_BLOCKED' was not declared in this scope AsyncSQL.cpp:643: error: 'ER_PASSWORD_NOT_ALLOWED' was not declared in this scop e AsyncSQL.cpp:644: error: 'ER_PASSWORD_NO_MATCH' was not declared in this scope AsyncSQL.cpp:645: error: 'ER_CANT_CREATE_THREAD' was not declared in this scope AsyncSQL.cpp:646: error: 'ER_INVALID_USE_OF_NULL' was not declared in this scope Statement.cpp: In member function 'void CStmt::Destroy()': Statement.cpp:22: error: 'm_pkStmt' was not declared in this scope Statement.cpp:24: error: 'mysql_stmt_close' was not declared in this scope Statement.cpp: In member function 'void CStmt::Error(const char*)': Statement.cpp:37: error: 'm_pkStmt' was not declared in this scope Statement.cpp:37: error: 'mysql_stmt_errno' was not declared in this scope Statement.cpp:37: error: 'mysql_stmt_error' was not declared in this scope AsyncSQL.cpp: At global scope: AsyncSQL.cpp:677: error: expected constructor, destructor, or type conversion be fore '*' token Statement.cpp: In member function 'bool CStmt::Prepare(CAsyncSQL*, const char*)' : Statement.cpp:42: error: 'm_pkStmt' was not declared in this scope Statement.cpp:42: error: 'class CAsyncSQL' has no member named 'GetSQLHandle' Statement.cpp:42: error: 'mysql_stmt_init' was not declared in this scope AsyncSQL.cpp: In member function 'size_t CAsyncSQL::EscapeString(char*, size_t, const char*, size_t)': AsyncSQL.cpp:707: error: 'GetSQLHandle' was not declared in this scope AsyncSQL.cpp:707: error: 'mysql_real_escape_string' was not declared in this sco pe Statement.cpp:45: error: 'mysql_stmt_prepare' was not declared in this scope Statement.cpp:59: error: request for member 'resize' in '((CStmt*)this)->CStmt:: m_vec_param', which is of non-class type 'int' Statement.cpp:60: error: invalid types 'int[int]' for array subscript Statement.cpp:60: error: 'MYSQL_BIND' was not declared in this scope Statement.cpp:65: error: request for member 'resize' in '((CStmt*)this)->CStmt:: m_vec_result', which is of non-class type 'int' Statement.cpp:66: error: invalid types 'int[int]' for array subscript Statement.cpp:66: error: 'MYSQL_BIND' was not declared in this scope Statement.cpp:68: error: invalid types 'int[int]' for array subscript Statement.cpp:68: error: 'mysql_stmt_bind_result' was not declared in this scope Statement.cpp: At global scope: Statement.cpp:77: error: 'bool CStmt::BindParam' is not a static member of 'clas s CStmt' Statement.cpp:77: error: 'enum_field_types' was not declared in this scope Statement.cpp:77: error: expected primary-expression before 'void' Statement.cpp:77: error: expected primary-expression before 'int' Statement.cpp:77: error: initializer expression list treated as compound express ion Statement.cpp:78: error: expected ',' or ';' before '{' token gmake[2]: *** [Makefile:37: Semaphore.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:37: Statement.o] Error 1 gmake[2]: *** [Makefile:37: AsyncSQL.o] Error 1 gmake[2]: Leaving directory '/home/m2server_source/Srcs/Server/libsql' gmake[1]: *** [Makefile:21: default] Error 2 gmake[1]: Leaving directory '/home/m2server_source/Srcs/Server/libsql' gmake: *** [Makefile:90: all] Error 2 root@m2compiler:/home/m2server_source/Srcs/Server # Oh and it worked like 2 years ago. This is the same files i saved 2 years ago. I didnt change anything and i just cant compile it Link to comment Share on other sites More sharing options...
Active+ Member m2Ciaran 409 Posted June 12 Active+ Member Share Posted June 12 You're missing mysql includes. Make sure you have installed mysql on your server Link to comment Share on other sites More sharing options...
dexoluss 0 Posted June 12 Author Share Posted June 12 Im sorry i dont know how can i put them in there, would you be able tohelp please? My server is normally running online right now Link to comment Share on other sites More sharing options...
Active+ Member m2Ciaran 409 Posted June 12 Active+ Member Share Posted June 12 type locate mysql.h in terminal and show us the results Link to comment Share on other sites More sharing options...
dexoluss 0 Posted June 12 Author Share Posted June 12 After typing locate mysql.h it says locate: database too small: /var/db/locate.database I dunno thankls Link to comment Share on other sites More sharing options...
ARISE 2 Posted June 13 Share Posted June 13 12 hours ago, dexoluss said: Oh and it worked like 2 years ago. This is the same files i saved 2 years ago. I didnt change anything and i just cant compile it Are you also using the same VDI? Because you might have some libs missing... Link to comment Share on other sites More sharing options...
dexoluss 0 Posted June 13 Author Share Posted June 13 (edited) Im using same version of VDI but i created new virtual pc because i deleted it with windows reinstall last time.. Anyone have any idea or any insturction how to solve this ? thanks I am following this guys setup Edited June 13 by dexoluss Just better answer Link to comment Share on other sites More sharing options...
ARISE 2 Posted June 15 Share Posted June 15 On 6/13/2024 at 6:06 AM, dexoluss said: Im using same version of VDI but i created new virtual pc because i deleted it with windows reinstall last time.. Anyone have any idea or any insturction how to solve this ? thanks I am following this guys setup Well then it’s the missing libs, if you have the old vdi I suggest you get the libs from there, or install new ones, the ones ur source needs Link to comment Share on other sites More sharing options...
dexolus 12 Posted June 15 Share Posted June 15 Sadly i dont have old vdi.. Can you help or help me find some video how to install libs for the source please? thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now