1. Соблюдайте Правила форума и проявляйте уважение к другим участникам беседы.

GhostBRT Linux

Тема в разделе 'Запуск и Поддержка', создана пользователем anton, 20 ноя 2013.

  1. anton Ньюфаг

    Сообщения:
    6
    Спасибы:
    0
    Дата начала использования бота:
    21.12.2001
    В общем история такая:
    Год назад на виртуалку с линуксом был установлен ghostone, всё работало и работает на ура. Т.к мир идет в ногу со временем, мне захотелось установить brt. Но тут меня постигла не удача и он отказался компилироваться, вот с это ошибкой:
    make
    g++ -o ./ghost++ bncsutilinterface.o bnet.o bnetprotocol.o bnlsclient.o bnlsprotocol.o commandpacket.o config.o crc32.o csvparser.o game.o game_admin.o game_base.o gameplayer.o gameprotocol.o gameslot.o ghost.o ghostdb.o ghostdbmysql.o ghostdbsqlite.o gpsprotocol.o language.o map.o packed.o replay.o savegame.o sha1.o socket.o stats.o statsdota.o statsw3mmd.o util.o items.o sqlite3.o -L. -L../bncsutil/src/bncsutil/ -L../StormLib/stormlib/ -L/usr/local/lib/mysql -L/usr/local/include/ -L/usr/local/lib -lbncsutil -lpthread -ldl -lz -lStorm -lmysqlclient_r -lboost_date_time-mt -lboost_thread-mt -lboost_system-mt -lboost_filesystem-mt -lrt
    ghostdbmysql.o: In function `CGHostDBMySQL::ThreadedDotAPlayerSummaryCheck(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    ghostdbmysql.cpp:(.text+0x78f6): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLDotAPlayerAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int, unsigned int, unsigned int)':
    ghostdbmysql.cpp:(.text+0xab17): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0xab28): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0xab3c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0xab50): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o:ghostdbmysql.cpp:(.text+0xab64): more undefined references to `UTIL_ToString(unsigned int)' follow
    ghostdbmysql.o: In function `CGHostDBMySQL::GetIdleConnection()':
    ghostdbmysql.cpp:(.text+0x1474b): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.cpp:(.text+0x14795): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.o: In function `MySQLWarnReasonsCheck(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
    ghostdbmysql.cpp:(.text+0x14a73): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLBanRemove(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
    ghostdbmysql.cpp:(.text+0x15098): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLBanCheck(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
    ghostdbmysql.cpp:(.text+0x15a0c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLWarnUpdate(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int)':
    ghostdbmysql.cpp:(.text+0x17fc6): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x17ff3): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o:ghostdbmysql.cpp:(.text+0x18dd8): more undefined references to `UTIL_ToString(unsigned int)' follow
    ghostdbmysql.o: In function `MySQLRanks(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    ghostdbmysql.cpp:(.text+0x1ee63): undefined reference to `UTIL_ToString(double)'
    ghostdbmysql.cpp:(.text+0x1ee79): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLCalculateScores(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
    ghostdbmysql.cpp:(.text+0x1f9b7): undefined reference to `UTIL_ToString(double, int)'
    ghostdbmysql.o: In function `MySQLW3MMDVarAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, unsigned int, std::map<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, int, std::less<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::pair<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const, int> > >)':
    ghostdbmysql.cpp:(.text+0x2001c): undefined reference to `UTIL_ToString(int)'
    ghostdbmysql.cpp:(.text+0x2002c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2003d): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2004e): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2032b): undefined reference to `UTIL_ToString(int)'
    ghostdbmysql.cpp:(.text+0x2033b): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2034c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2035d): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLW3MMDVarAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, unsigned int, std::map<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::pair<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >)':
    ghostdbmysql.cpp:(.text+0x20a1c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x20a2d): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o:ghostdbmysql.cpp:(.text+0x20a3e): more undefined references to `UTIL_ToString(unsigned int)' follow
    ghostdbmysql.o: In function `MySQLW3MMDVarAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, unsigned int, std::map<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, double, std::less<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::pair<std::pair<unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const, double> > >)':
    ghostdbmysql.cpp:(.text+0x21423): undefined reference to `UTIL_ToString(double, int)'
    ghostdbmysql.cpp:(.text+0x21433): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x21444): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x21455): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x21739): undefined reference to `UTIL_ToString(double, int)'
    ghostdbmysql.cpp:(.text+0x21749): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2175a): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2176b): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLDotAGameAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
    ghostdbmysql.cpp:(.text+0x22962): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x2296f): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o:ghostdbmysql.cpp:(.text+0x2297e): more undefined references to `UTIL_ToString(unsigned int)' follow
    ghostdbmysql.o: In function `CGHostDBMySQL::~CGHostDBMySQL()':
    ghostdbmysql.cpp:(.text+0x238f3): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.cpp:(.text+0x23a67): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `CGHostDBMySQL::~CGHostDBMySQL()':
    ghostdbmysql.cpp:(.text+0x2412a): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x24173): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.cpp:(.text+0x242e7): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `CGHostDBMySQL::~CGHostDBMySQL()':
    ghostdbmysql.cpp:(.text+0x2457a): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x245c3): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.cpp:(.text+0x24737): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLRemoveBanListDay(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
    ghostdbmysql.cpp:(.text+0x24a08): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x24ad1): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `CGHostDBMySQL::GetStatus()':
    ghostdbmysql.cpp:(.text+0x25465): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x25475): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x254be): undefined reference to `UTIL_ToString(unsigned long)'
    ghostdbmysql.o: In function `MySQLBanCount(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)':
    ghostdbmysql.cpp:(.text+0x2571c): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o: In function `MySQLAdminAdd(void*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned int)':
    ghostdbmysql.cpp:(.text+0x26025): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x26036): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.cpp:(.text+0x26046): undefined reference to `UTIL_ToString(unsigned int)'
    ghostdbmysql.o:(.rodata._ZTV13CGHostDBMySQL[vtable for CGHostDBMySQL]+0xb0): undefined reference to `CGHostDB::AdminAdd(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int)'
    ghostdbmysql.o:(.rodata._ZTV13CGHostDBMySQL[vtable for CGHostDBMySQL]+0x1f8): undefined reference to `CGHostDB::CreateThreadReal(CBaseCallable*)'
    collect2: ld returned 1 exit status
    make: *** [ghost++] Error 1

    Бусты установлены 38, one компилируется отлично.
    Тему создал, потому-что про брт очень мало информации и об этом ничего нет.
    ОС debian
    Прошу помощи в установке новых бустов и удалением старых.
  2. Guard Старожила

    Сообщения:
    473
    Спасибы:
    47
    Сборка бота GHost:
    Ghost++ RAKAL Edition
    Дата начала использования бота:
    00.00.2009
    Skype:
    Мой статус
    Очень огорчили грустные смайлики в логе =\
    Suicider нравится это.
  3. anton Ньюфаг

    Сообщения:
    6
    Спасибы:
    0
    Дата начала использования бота:
    21.12.2001
    up
    Ну у кого то же стоит брт на дебиане, люди добрые помогите
  4. Sparko_Dima Старожила

    Сообщения:
    744
    Спасибы:
    104
    Сборка бота GHost:
    Ghost Sparko
    Дата начала использования бота:
    10.10.09
    юзал тока люникс на нем норм была