Hello PtokaX users,
This is my first time using PtokaX and I've encountered a headbusting error while trying to install PtokaX on a CentOS server.
I've followed the CentOS tutorial on the PtokaX wiki, but it doesn't work for me, also I tried some vaguely similar solutions provided on this forum which didn't help either (even not with makefile's provided by some admin (sorry forgot the name)).
The error happens while I try to compile PtokaX:
/home/name/PtokaX/core/LuaBanManLib.cpp:1063: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1064: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1070: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1071: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1072: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1073: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearPermBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1085: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1086: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1087: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1088: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearTempBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1099: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1100: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1101: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1102: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearRangeBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1113: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1114: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1115: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1116: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearRangePermBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1127: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1128: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1129: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1130: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int ClearRangeTempBans(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1141: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1142: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1143: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1144: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int Ban(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1155: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1156: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1157: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1158: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1162: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1162: error: ?LUA_TTABLE? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1162: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1162: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1163: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1167: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1168: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1175: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1176: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1181: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1192: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1203: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1204: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int BanIP(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1210: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1211: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1212: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1213: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1217: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1217: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1217: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1218: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1222: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1223: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1228: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1230: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1231: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1247: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1250: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1251: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1253: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1254: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int BanNick(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1262: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1263: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1264: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1265: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1269: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1269: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1270: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1273: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1274: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1279: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1281: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1282: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1306: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1309: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1317: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1319: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int TempBan(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1328: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1329: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1330: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1331: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1335: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1335: error: ?LUA_TTABLE? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1335: error: ?LUA_TNUMBER? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1335: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1336: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1337: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1342: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1343: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1350: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1351: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1355: error: ?lua_tonumber? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1358: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1369: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1380: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1381: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int TempBanIP(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1387: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1388: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1389: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1390: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1394: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1394: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1394: error: ?LUA_TNUMBER? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1395: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1396: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1401: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1402: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1407: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1409: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1410: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1414: error: ?lua_tonumber? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1428: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1431: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1432: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1434: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1435: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int TempBanNick(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1443: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1444: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1445: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1446: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1450: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1450: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1450: error: ?LUA_TNUMBER? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1451: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1455: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1456: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1461: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1463: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1464: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1468: error: ?lua_tonumber? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1490: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1493: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1501: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1503: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int RangeBan(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1512: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1513: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1514: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1515: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1519: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1519: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1520: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1521: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1526: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1527: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1532: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1549: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1555: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1556: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1560: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1561: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?int RangeTempBan(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1567: error: ?lua_gettop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1568: error: ?luaL_error? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1569: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1570: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1574: error: ?lua_type? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1574: error: ?LUA_TSTRING? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1574: error: ?LUA_TNUMBER? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1575: error: ?LUA_TBOOLEAN? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1576: error: ?luaL_checktype? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1582: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1583: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1588: error: ?lua_tolstring? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1593: error: ?lua_tonumber? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1607: error: ?lua_toboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1613: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1614: error: ?lua_pushboolean? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1618: error: ?lua_settop? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1619: error: ?lua_pushnil? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: At global scope:
/home/name/PtokaX/core/LuaBanManLib.cpp:1624: error: ?luaL_reg? does not name a type
/home/name/PtokaX/core/LuaBanManLib.cpp: In function ?void RegBanMan(lua_State*)?:
/home/name/PtokaX/core/LuaBanManLib.cpp:1666: error: ?banman_funcs? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp:1666: error: ?luaL_register? was not declared in this scope
/home/name/PtokaX/core/LuaBanManLib.cpp: At global scope:
/home/name/PtokaX/core/LuaBanManLib.cpp:143: warning: ?int Save(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:156: warning: ?int GetBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:203: warning: ?int GetTempBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:239: warning: ?int GetPermBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:265: warning: ?int GetBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:341: warning: ?int GetPermBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:411: warning: ?int GetTempBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:489: warning: ?int GetRangeBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:525: warning: ?int GetTempRangeBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:565: warning: ?int GetPermRangeBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:595: warning: ?int GetRangeBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:654: warning: ?int GetRangePermBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:703: warning: ?int GetRangeTempBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:763: warning: ?int Unban(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:799: warning: ?int UnbanPerm(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:835: warning: ?int UnbanTemp(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:871: warning: ?int UnbanAll(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:902: warning: ?int UnbanPermAll(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:933: warning: ?int UnbanTempAll(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:964: warning: ?int RangeUnban(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:999: warning: ?int RangeUnbanPerm(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1034: warning: ?int RangeUnbanTemp(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1069: warning: ?int ClearBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1084: warning: ?int ClearPermBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1098: warning: ?int ClearTempBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1112: warning: ?int ClearRangeBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1126: warning: ?int ClearRangePermBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1140: warning: ?int ClearRangeTempBans(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1154: warning: ?int Ban(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1209: warning: ?int BanIP(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1261: warning: ?int BanNick(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1327: warning: ?int TempBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1386: warning: ?int TempBanIP(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1442: warning: ?int TempBanNick(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1511: warning: ?int RangeBan(lua_State*)? defined but not used
/home/name/PtokaX/core/LuaBanManLib.cpp:1566: warning: ?int RangeTempBan(lua_State*)? defined but not used
make: *** [/home/name/PtokaX/obj/LuaBanManLib.o] Error 1
name@name [~/PtokaX]#
note: I used putty and I hid the actual username ;)
So I tried several solutions provided by the tutorial and some random pages on the interwebs, all were changes to the makefile, which didn't work.
The current makefile I use is looks like this: http://paste2.org/p/2088072 (Updated 30-07-'12 16:01)
I've tried a few fresh reinstalls, but the same error kept popping up over and over again.
Can someone help me figure out what the problem is?
Thanks in advance
It's all Lua giving error, are you sure you got that part working?
See wiki Prerequisites section d
Wiki was updated with changes needed to get PtokaX working on CentOS 6.x :P
Thanks for replying guys
@PPK
When you have CentOS 6.x:
Search for this line $(CXX) -lpthread -lz -llua5.1 -lrt -o PtokaX \ and change it to $(CXX) -lpthread -lz -llua-5.1 -lrt -o PtokaX \
This doesn't make much sense hehe, mistake?
I don't see any mistake, you need to change -llua5.1 to -llua-5.1 ::)
Oh yes excuse me.
But unfortunately it still throws the same errors =(
Then i don't know what you do wrong. Error is related to Lua, probably because Lua source is missing ::)
Quote from: CityBiker on 29 July, 2012, 21:17:58
Oh yes excuse me.
But unfortunately it still throws the same errors =(
Compile Lua from source (http://www.lua.org/ftp/), and then:
Quote# In case when you don't have Lua as dynamic library (in debian liblua5.1.so)
# but as static library (liblua.a default when you compile Lua from sources)
# then remove -llua5.1 and after tinyxml/tinyxml.a add /usr/local/lib/liblua.a (default path when is Lua compiled from sources).