При компиляции стг 2.404.97, наложен только лишь патч mysql-0.67_stg-2.404.9.7.patch
mysql_store.cpp:311: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:314: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp: At global scope:
mysql_store.cpp:319: error: ‘int MYSQL_STORE::CheckAllTables’ is not a static member of ‘class MYSQL_STORE’
mysql_store.cpp:319: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:319: error: ‘sock’ was not declared in this scope
mysql_store.cpp:320: error: expected ‘,’ or ‘;’ before ‘{’ token
mysql_store.cpp: In member function ‘int MYSQL_STORE::GetAllParams(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> > > >*, const std::string&, const std::string&) const’:
mysql_store.cpp:625: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:625: error: ‘res’ was not declared in this scope
mysql_store.cpp:626: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:626: error: expected `;' before ‘row’
mysql_store.cpp:627: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:627: error: ‘sock’ was not declared in this scope
mysql_store.cpp:638: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:639: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:643: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:647: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:651: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:655: error: ‘row’ was not declared in this scope
mysql_store.cpp:655: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:659: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:660: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreUserConf(USER_CONF*, const std::string&) const’:
mysql_store.cpp:720: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:720: error: ‘res’ was not declared in this scope
mysql_store.cpp:721: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:721: error: expected `;' before ‘row’
mysql_store.cpp:722: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:722: error: ‘sock’ was not declared in this scope
mysql_store.cpp:728: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:729: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:733: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:736: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:737: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:741: error: ‘row’ was not declared in this scope
mysql_store.cpp:741: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:749: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:751: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:757: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:759: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:765: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:767: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:773: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:775: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:783: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:785: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:798: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:800: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:821: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:823: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:828: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:829: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreUserStat(USER_STAT*, const std::string&) const’:
mysql_store.cpp:836: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:836: error: ‘res’ was not declared in this scope
mysql_store.cpp:837: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:837: error: expected `;' before ‘row’
mysql_store.cpp:838: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:838: error: ‘sock’ was not declared in this scope
mysql_store.cpp:844: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:845: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:849: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:852: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:853: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:857: error: ‘row’ was not declared in this scope
mysql_store.cpp:857: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:870: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:872: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:880: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:882: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:892: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:894: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:900: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:902: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:908: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:910: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:916: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:918: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:924: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:926: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:932: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:934: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:938: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:939: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::WriteLogString(const std::string&, const std::string&, const std::string&) const’:
mysql_store.cpp:1048: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1048: error: ‘result’ was not declared in this scope
mysql_store.cpp:1049: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1049: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1051: error: ‘MysqlConnect’ was not declared in this scope
mysql_store.cpp:1055: error: ‘mysql_list_tables’ was not declared in this scope
mysql_store.cpp:1058: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1059: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1063: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:1065: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1075: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1076: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1093: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1094: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1097: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreAdmin(ADMIN_CONF*, const std::string&) const’:
mysql_store.cpp:1286: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1286: error: ‘res’ was not declared in this scope
mysql_store.cpp:1287: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:1287: error: expected `;' before ‘row’
mysql_store.cpp:1288: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1288: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1294: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1295: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1299: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:1302: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1303: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1307: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:1309: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1311: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1315: error: ‘row’ was not declared in this scope
mysql_store.cpp:1315: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:1322: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1324: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1354: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1356: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1364: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1366: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1374: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1376: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1384: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1386: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1394: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1396: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1404: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1406: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1414: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1416: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1420: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1421: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::RestoreTariff(TARIFF_DATA*, const std::string&) const’:
mysql_store.cpp:1455: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1455: error: ‘res’ was not declared in this scope
mysql_store.cpp:1456: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:1456: error: expected `;' before ‘row’
mysql_store.cpp:1457: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1457: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1463: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1464: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1468: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:1471: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1472: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1479: error: ‘row’ was not declared in this scope
mysql_store.cpp:1479: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:1488: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1490: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1503: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1505: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1513: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1515: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1523: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1525: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1533: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1535: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1543: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1545: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1552: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1554: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1561: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1563: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1570: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1572: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1578: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1580: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1586: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1588: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1597: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1599: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1616: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1618: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1622: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1623: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::WriteDetailedStat(const std::map<IP_DIR_PAIR, STAT_NODE, std::less<IP_DIR_PAIR>, std::allocator<std::pair<const IP_DIR_PAIR, STAT_NODE> > >*, time_t, const std::string&, const std::string&) const’:
mysql_store.cpp:1729: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1729: error: ‘result’ was not declared in this scope
mysql_store.cpp:1730: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1730: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1733: error: ‘MysqlConnect’ was not declared in this scope
mysql_store.cpp:1734: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1738: error: ‘mysql_list_tables’ was not declared in this scope
mysql_store.cpp:1741: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1742: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1746: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:1748: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1761: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1762: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1815: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1816: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1820: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:1826: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::GetMessage(uint64_t, STG_MSG*, const std::string&) const’:
mysql_store.cpp:1887: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1887: error: ‘res’ was not declared in this scope
mysql_store.cpp:1888: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:1888: error: expected `;' before ‘row’
mysql_store.cpp:1889: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1889: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1898: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1899: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1903: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:1906: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1907: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1911: error: ‘row’ was not declared in this scope
mysql_store.cpp:1911: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:1915: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1917: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1923: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1925: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1931: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1933: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1939: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1941: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1947: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1949: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1955: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1957: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1964: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:1965: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘virtual int MYSQL_STORE::GetMessageHdrs(std::vector<STG_MSG_HDR, std::allocator<STG_MSG_HDR> >*, const std::string&) const’:
mysql_store.cpp:1986: error: ‘MYSQL_RES’ was not declared in this scope
mysql_store.cpp:1986: error: ‘res’ was not declared in this scope
mysql_store.cpp:1987: error: ‘MYSQL_ROW’ was not declared in this scope
mysql_store.cpp:1987: error: expected `;' before ‘row’
mysql_store.cpp:1988: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:1988: error: ‘sock’ was not declared in this scope
mysql_store.cpp:1994: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:1995: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:1999: error: ‘mysql_store_result’ was not declared in this scope
mysql_store.cpp:2002: error: ‘mysql_error’ was not declared in this scope
mysql_store.cpp:2003: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp:2007: error: ‘mysql_num_rows’ was not declared in this scope
mysql_store.cpp:2012: error: ‘row’ was not declared in this scope
mysql_store.cpp:2012: error: ‘mysql_fetch_row’ was not declared in this scope
mysql_store.cpp:2045: error: ‘mysql_free_result’ was not declared in this scope
mysql_store.cpp:2046: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: In member function ‘int MYSQL_STORE::MysqlSetQuery(const char*) const’:
mysql_store.cpp:2053: error: ‘MYSQL’ was not declared in this scope
mysql_store.cpp:2053: error: ‘sock’ was not declared in this scope
mysql_store.cpp:2055: error: ‘mysql_close’ was not declared in this scope
mysql_store.cpp: At global scope:
mysql_store.cpp:2059: error: ‘MYSQL’ has not been declared
mysql_store.cpp: In member function ‘int MYSQL_STORE::MysqlGetQuery(const char*, int*&) const’:
mysql_store.cpp:2060: error: ‘MysqlConnect’ was not declared in this scope
mysql_store.cpp: At global scope:
mysql_store.cpp:2066: error: expected constructor, destructor, or type conversion before ‘*’ token
gmake[2]: *** [mysql_store.o] Error 1
gmake[2]: Leaving directory `/usr/src/stg-2.404.9.7/projects/stargazer/plugins/store/mysql'
gmake[1]: *** [store/mysql] Error 2
gmake[1]: Leaving directory `/usr/src/stg-2.404.9.7/projects/stargazer/plugins'
gmake: *** [plugins] Error 2