Hello fellow OTlanders!
Today I was going to compile my 8.6 to Linux and getting lots of errors!
When I do this command I get all the errors while compiling when Im dont I dont get any errors but then MYSQL dont work..
Command:
Errors:
Today I was going to compile my 8.6 to Linux and getting lots of errors!
When I do this command I get all the errors while compiling when Im dont I dont get any errors but then MYSQL dont work..
Command:
Code:
./configure --enable-mysql
after that Im going to build.
./build.sh
Errors:
Code:
:free()'
iologindata.o: In function `IOLoginData::updateOnlineStatus(unsigned int, bool)':
/home/stoffe/srcorgi/iologindata.cpp:1822: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iologindata.cpp:1825: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iologindata.cpp:1826: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iologindata.cpp:1837: undefined reference to `DatabaseSQLite::query(std::string)'
iologindata.o: In function `IOLoginData::resetGuildInformation(unsigned int)':
/home/stoffe/srcorgi/iologindata.cpp:1845: undefined reference to `DatabaseSQLite::query(std::string)'
iologindata.o: In function `IOLoginData::increaseBankBalance(unsigned int, unsigned long)':
/home/stoffe/srcorgi/iologindata.cpp:1852: undefined reference to `DatabaseSQLite::query(std::string)'
iologindata.o: In function `DatabaseSQLite::getLastInsertId()':
/home/stoffe/srcorgi/databasesqlite.h:48: undefined reference to `sqlite3_last_insert_rowid'
iomapserialize.o: In function `IOMapSerialize::updateAuctions()':
/home/stoffe/srcorgi/iomapserialize.cpp:75: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:83: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:85: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:85: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:91: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:92: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:95: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::loadHouses()':
/home/stoffe/srcorgi/iomapserialize.cpp:106: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:112: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:115: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:116: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:118: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:119: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
iomapserialize.o:/home/stoffe/srcorgi/iomapserialize.cpp:122: more undefined references to `SQLiteResult::getDataInt(std::string const&)' follow
iomapserialize.o: In function `IOMapSerialize::loadHouses()':
/home/stoffe/srcorgi/iomapserialize.cpp:127: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iomapserialize.cpp:137: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:141: undefined reference to `SQLiteResult::getDataString(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:141: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:143: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::updateHouses()':
/home/stoffe/srcorgi/iomapserialize.cpp:162: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:164: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:167: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iomapserialize.cpp:172: undefined reference to `DatabaseSQLite::escapeString(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:200: undefined reference to `DatabaseSQLite::escapeString(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:206: undefined reference to `DatabaseSQLite::query(std::string)'
iomapserialize.o: In function `IOMapSerialize::saveHouse(DatabaseSQLite*, House*)':
/home/stoffe/srcorgi/iomapserialize.cpp:235: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:241: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:252: undefined reference to `DatabaseSQLite::escapeString(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:261: undefined reference to `DatabaseSQLite::escapeString(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:274: undefined reference to `DatabaseSQLite::escapeString(std::string)'
iomapserialize.o: In function `IOMapSerialize::saveHouseItems(DatabaseSQLite*, House*)':
/home/stoffe/srcorgi/iomapserialize.cpp:290: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:302: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:314: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:320: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:327: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:330: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:331: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::loadMapRelational(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:349: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:354: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:356: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:373: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:373: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:373: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:381: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iomapserialize.cpp:385: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iomapserialize.cpp:395: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:398: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:400: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:418: undefined reference to `SQLiteResult::free()'
/home/stoffe/srcorgi/iomapserialize.cpp:421: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::saveMapRelational(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:441: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:446: undefined reference to `DatabaseSQLite::query(std::string)'
iomapserialize.o: In function `IOMapSerialize::loadMapBinary(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:464: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:470: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:474: undefined reference to `SQLiteResult::getDataStream(std::string const&, unsigned long&)'
/home/stoffe/srcorgi/iomapserialize.cpp:520: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::saveMapBinary(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:534: undefined reference to `DatabaseSQLite::query(std::string)'
iomapserialize.o: In function `IOMapSerialize::loadMapBinaryTileBased(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:557: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:563: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:567: undefined reference to `SQLiteResult::getDataStream(std::string const&, unsigned long&)'
/home/stoffe/srcorgi/iomapserialize.cpp:613: undefined reference to `SQLiteResult::free()'
iomapserialize.o: In function `IOMapSerialize::saveMapBinaryTileBased(Map*)':
/home/stoffe/srcorgi/iomapserialize.cpp:627: undefined reference to `DatabaseSQLite::query(std::string)'
iomapserialize.o: In function `IOMapSerialize::saveHouseBinary(DatabaseSQLite*, DBInsert&, House*)':
/home/stoffe/srcorgi/iomapserialize.cpp:667: undefined reference to `DatabaseSQLite::escapeBlob(char const*, unsigned int)'
iomapserialize.o: In function `IOMapSerialize::saveHouseBinaryTileBased(DatabaseSQLite*, DBInsert&, House*)':
/home/stoffe/srcorgi/iomapserialize.cpp:686: undefined reference to `DatabaseSQLite::escapeBlob(char const*, unsigned int)'
iomapserialize.o: In function `IOMapSerialize::loadItems(SQLiteResult*, Cylinder*, bool)':
/home/stoffe/srcorgi/iomapserialize.cpp:705: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:706: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:707: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:708: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
/home/stoffe/srcorgi/iomapserialize.cpp:712: undefined reference to `SQLiteResult::getDataStream(std::string const&, unsigned long&)'
iomapserialize.o: In function `IOMapSerialize::saveItems(DatabaseSQLite*, unsigned int&, unsigned int, Tile const*)':
/home/stoffe/srcorgi/iomapserialize.cpp:838: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/iomapserialize.cpp:852: undefined reference to `DatabaseSQLite::escapeBlob(char const*, unsigned int)'
/home/stoffe/srcorgi/iomapserialize.cpp:878: undefined reference to `DatabaseSQLite::escapeBlob(char const*, unsigned int)'
luascript.o: In function `ScriptEnviroment::reset()':
/home/stoffe/srcorgi/luascript.cpp:133: undefined reference to `SQLiteResult::free()'
luascript.o: In function `ScriptEnviroment::saveGameState()':
/home/stoffe/srcorgi/luascript.cpp:153: undefined reference to `DatabaseSQLite::query(std::string)'
/home/stoffe/srcorgi/luascript.cpp:161: undefined reference to `DatabaseSQLite::escapeString(std::string)'
/home/stoffe/srcorgi/luascript.cpp:161: undefined reference to `DatabaseSQLite::escapeString(std::string)'
luascript.o: In function `ScriptEnviroment::loadGameState()':
/home/stoffe/srcorgi/luascript.cpp:176: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
/home/stoffe/srcorgi/luascript.cpp:179: undefined reference to `SQLiteResult::getDataString(std::string const&)'
/home/stoffe/srcorgi/luascript.cpp:179: undefined reference to `SQLiteResult::getDataString(std::string const&)'
/home/stoffe/srcorgi/luascript.cpp:181: undefined reference to `SQLiteResult::free()'
luascript.o: In function `ScriptEnviroment::removeResult(unsigned int)':
/home/stoffe/srcorgi/luascript.cpp:467: undefined reference to `SQLiteResult::free()'
luascript.o: In function `LuaInterface::luaDatabaseExecute(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11190: undefined reference to `DatabaseSQLite::query(std::string)'
luascript.o: In function `LuaInterface::luaDatabaseStoreQuery(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11201: undefined reference to `DatabaseSQLite::storeQuery(std::string)'
luascript.o: In function `LuaInterface::luaDatabaseEscapeString(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11212: undefined reference to `DatabaseSQLite::escapeString(std::string)'
luascript.o: In function `LuaInterface::luaDatabaseEscapeBlob(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11220: undefined reference to `DatabaseSQLite::escapeBlob(char const*, unsigned int)'
luascript.o: In function `LuaInterface::luaResultGetDataInt(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11296: undefined reference to `SQLiteResult::getDataInt(std::string const&)'
luascript.o: In function `LuaInterface::luaResultGetDataLong(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11309: undefined reference to `SQLiteResult::getDataLong(std::string const&)'
luascript.o: In function `LuaInterface::luaResultGetDataString(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11322: undefined reference to `SQLiteResult::getDataString(std::string const&)'
luascript.o: In function `LuaInterface::luaResultGetDataStream(lua_State*)':
/home/stoffe/srcorgi/luascript.cpp:11336: undefined reference to `SQLiteResult::getDataStream(std::string const&, unsigned long&)'
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/stoffe/srcorgi'
make: *** [all] Error 2