Author Topic: Compile Error PtokaX 0.4.2.0  (Read 2718 times)

0 Members and 1 Guest are viewing this topic.

Offline TippyToes

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Compile Error PtokaX 0.4.2.0
« on: 20 January, 2012, 04:49:29 »
I am having trouble compiling PtokaX on Ubuntu 11.10. I was wondering if anyone had an idea were to start. Here is part of the error I get after I use make.

Code: [Select]
/home/jack/PtokaX/core/LuaSetManLib.cpp:389: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:390: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:391: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:395: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:408: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:408: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:409: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:416: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:384: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:385: undefined reference to `lua_tonumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `GetMaxShare':
/home/jack/PtokaX/core/LuaSetManLib.cpp:358: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:359: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:359: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:360: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:361: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaSetManLib.cpp:365: undefined reference to `lua_pushnumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `GetMinShare':
/home/jack/PtokaX/core/LuaSetManLib.cpp:294: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:295: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:295: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:296: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:297: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaSetManLib.cpp:301: undefined reference to `lua_pushnumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `GetNumber':
/home/jack/PtokaX/core/LuaSetManLib.cpp:166: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:167: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:167: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:168: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:169: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaSetManLib.cpp:173: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:174: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:175: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:176: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaSetManLib.cpp:180: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:182: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:185: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:186: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaSetManLib.cpp:190: undefined reference to `lua_pushnumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `SetMinShare':
/home/jack/PtokaX/core/LuaSetManLib.cpp:308: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:311: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:311: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:312: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:313: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:314: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:325: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:326: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:327: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:331: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:344: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:344: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:345: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:352: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:320: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:321: undefined reference to `lua_tonumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `SetString':
/home/jack/PtokaX/core/LuaSetManLib.cpp:262: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:263: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:263: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:264: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:268: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:268: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:269: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:270: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:271: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:278: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:279: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:284: undefined reference to `lua_tolstring'
/home/jack/PtokaX/core/LuaSetManLib.cpp:288: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:275: undefined reference to `lua_tonumber'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `SetBool':
/home/jack/PtokaX/core/LuaSetManLib.cpp:131: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:132: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:132: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:133: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:137: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:137: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:138: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:139: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:140: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:150: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:144: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaSetManLib.cpp:145: undefined reference to `lua_toboolean'
/home/jack/PtokaX/core/LuaSetManLib.cpp:147: undefined reference to `lua_settop'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `SetMOTD':
/home/jack/PtokaX/core/LuaSetManLib.cpp:75: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:76: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:76: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:77: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:81: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaSetManLib.cpp:82: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaSetManLib.cpp:83: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:88: undefined reference to `lua_tolstring'
/home/jack/PtokaX/core/LuaSetManLib.cpp:94: undefined reference to `lua_settop'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `Save':
/home/jack/PtokaX/core/LuaSetManLib.cpp:42: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:43: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaSetManLib.cpp:43: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaSetManLib.cpp:44: undefined reference to `lua_settop'
/home/jack/PtokaX/obj/LuaSetManLib.o: In function `RegSetMan(lua_State*)':
/home/jack/PtokaX/core/LuaSetManLib.cpp:714: undefined reference to `luaL_register'
/home/jack/PtokaX/obj/LuaTmrManLib.o: In function `RemoveTimer':
/home/jack/PtokaX/core/LuaTmrManLib.cpp:191: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:192: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:192: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:193: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:201: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:202: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:204: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:210: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:217: undefined reference to `lua_touserdata'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:231: undefined reference to `timer_delete'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:253: undefined reference to `lua_settop'
/home/jack/PtokaX/obj/LuaTmrManLib.o: In function `AddTimer':
/home/jack/PtokaX/core/LuaTmrManLib.cpp:49: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:50: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:54: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:60: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:60: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:61: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:62: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:63: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:64: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:71: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:72: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:76: undefined reference to `lua_getfield'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:77: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:78: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:79: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:80: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:84: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:85: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:86: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:87: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:91: undefined reference to `lua_getfield'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:92: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:93: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:94: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:95: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:99: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:99: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:100: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:101: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:125: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:137: undefined reference to `timer_create'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:140: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:141: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:147: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:158: undefined reference to `timer_settime'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:160: undefined reference to `timer_delete'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:161: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:162: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:167: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:172: undefined reference to `lua_pushlightuserdata'
/home/jack/PtokaX/core/LuaTmrManLib.cpp:68: undefined reference to `lua_tolstring'
/home/jack/PtokaX/obj/LuaTmrManLib.o: In function `RegTmrMan(lua_State*)':
/home/jack/PtokaX/core/LuaTmrManLib.cpp:266: undefined reference to `luaL_register'
/home/jack/PtokaX/obj/LuaUDPDbgLib.o: In function `Send':
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:118: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:119: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:119: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:120: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:121: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:125: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:126: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:128: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:129: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:134: undefined reference to `lua_tolstring'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:137: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:138: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:145: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:146: undefined reference to `lua_pushboolean'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:152: undefined reference to `lua_pushboolean'
/home/jack/PtokaX/obj/LuaUDPDbgLib.o: In function `Unreg':
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:97: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:98: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:98: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:99: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:105: undefined reference to `lua_settop'
/home/jack/PtokaX/obj/LuaUDPDbgLib.o: In function `Reg':
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:45: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:46: undefined reference to `lua_gettop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:46: undefined reference to `luaL_error'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:47: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:48: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:52: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:52: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:52: undefined reference to `lua_type'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:53: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:54: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:55: undefined reference to `luaL_checktype'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:57: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:58: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:64: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:65: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:70: undefined reference to `lua_tolstring'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:73: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:74: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:83: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:84: undefined reference to `lua_pushnil'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:90: undefined reference to `lua_settop'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:91: undefined reference to `lua_pushboolean'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:78: undefined reference to `lua_tonumber'
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:80: undefined reference to `lua_toboolean'
/home/jack/PtokaX/obj/LuaUDPDbgLib.o: In function `RegUDPDbg(lua_State*)':
/home/jack/PtokaX/core/LuaUDPDbgLib.cpp:166: undefined reference to `luaL_register'
/home/jack/PtokaX/obj/PtokaX.o: In function `main':
/home/jack/PtokaX/core/PtokaX-nix.cpp:191: undefined reference to `pthread_sigmask'
/home/jack/PtokaX/obj/RegThread.o: In function `RegThread::Resume()':
/home/jack/PtokaX/core/RegThread.cpp:318: undefined reference to `pthread_create'
/home/jack/PtokaX/obj/RegThread.o: In function `RegThread::WaitFor()':
/home/jack/PtokaX/core/RegThread.cpp:481: undefined reference to `pthread_join'
/home/jack/PtokaX/obj/ServerManager.o: In function `ServerInitialize()':
/home/jack/PtokaX/core/ServerManager.cpp:473: undefined reference to `timer_create'
/home/jack/PtokaX/core/ServerManager.cpp:485: undefined reference to `timer_create'
/home/jack/PtokaX/obj/ServerManager.o: In function `ServerStart()':
/home/jack/PtokaX/core/ServerManager.cpp:506: undefined reference to `timer_settime'
/home/jack/PtokaX/core/ServerManager.cpp:784: undefined reference to `timer_settime'
/home/jack/PtokaX/obj/ServerManager.o: In function `ServerFinalClose()':
/home/jack/PtokaX/core/ServerManager.cpp:972: undefined reference to `timer_delete'
/home/jack/PtokaX/core/ServerManager.cpp:973: undefined reference to `timer_delete'
/home/jack/PtokaX/obj/ServerManager.o: In function `ServerStop()':
/home/jack/PtokaX/core/ServerManager.cpp:809: undefined reference to `timer_settime'
/home/jack/PtokaX/core/ServerManager.cpp:839: undefined reference to `timer_settime'
/home/jack/PtokaX/obj/ServerManager.o: In function `ServerUpdateAutoRegState()':
/home/jack/PtokaX/core/ServerManager.cpp:1175: undefined reference to `timer_settime'
/home/jack/PtokaX/core/ServerManager.cpp:1192: undefined reference to `timer_settime'
/home/jack/PtokaX/obj/ServerThread.o: In function `ServerThread::Resume()':
/home/jack/PtokaX/core/ServerThread.cpp:117: undefined reference to `pthread_create'
/home/jack/PtokaX/obj/ServerThread.o: In function `ServerThread::WaitFor()':
/home/jack/PtokaX/core/ServerThread.cpp:256: undefined reference to `pthread_join'
/home/jack/PtokaX/obj/UDPThread.o: In function `UDPRecvThread::Resume()':
/home/jack/PtokaX/core/UDPThread.cpp:139: undefined reference to `pthread_create'
/home/jack/PtokaX/obj/UDPThread.o: In function `UDPRecvThread::WaitFor()':
/home/jack/PtokaX/core/UDPThread.cpp:195: undefined reference to `pthread_join'
/home/jack/PtokaX/obj/ZlibUtility.o: In function `clsZlibUtility::CreateZPipe(char const*, unsigned int const&, unsigned int&)':
/home/jack/PtokaX/core/ZlibUtility.cpp:120: undefined reference to `deflateInit_'
/home/jack/PtokaX/core/ZlibUtility.cpp:129: undefined reference to `deflate'
/home/jack/PtokaX/core/ZlibUtility.cpp:130: undefined reference to `deflateEnd'
/home/jack/PtokaX/core/ZlibUtility.cpp:139: undefined reference to `deflateEnd'
/home/jack/PtokaX/obj/ZlibUtility.o: In function `clsZlibUtility::CreateZPipe(char*, unsigned int const&, char*, unsigned int&, unsigned int&)':
/home/jack/PtokaX/core/ZlibUtility.cpp:192: undefined reference to `deflateInit_'
/home/jack/PtokaX/core/ZlibUtility.cpp:201: undefined reference to `deflate'
/home/jack/PtokaX/core/ZlibUtility.cpp:202: undefined reference to `deflateEnd'
/home/jack/PtokaX/core/ZlibUtility.cpp:210: undefined reference to `deflateEnd'
/home/jack/PtokaX/obj/ZlibUtility.o: In function `clsZlibUtility::CreateZPipe(char*, unsigned int const&, char*, unsigned int&, unsigned int&, unsigned int)':
/home/jack/PtokaX/core/ZlibUtility.cpp:288: undefined reference to `deflateInit_'
/home/jack/PtokaX/core/ZlibUtility.cpp:297: undefined reference to `deflate'
/home/jack/PtokaX/core/ZlibUtility.cpp:298: undefined reference to `deflateEnd'
/home/jack/PtokaX/core/ZlibUtility.cpp:306: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status
make: *** [PtokaX] Error 1

PtokaX forum

Compile Error PtokaX 0.4.2.0
« on: 20 January, 2012, 04:49:29 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: Compile Error PtokaX 0.4.2.0
« Reply #1 on: 20 January, 2012, 05:11:50 »
That looks like you are missing Lua. Try to follow compile guide http://wiki.ptokax.org/doku.php/settingup/compile_and_setting_debian_bugbuntu  ;)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline TippyToes

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Compile Error PtokaX 0.4.2.0
« Reply #2 on: 21 January, 2012, 03:35:44 »
I figured that was the problem but I already installed Lua. Could it be a path issue? The compile guides says they used 9.04 and I used 11.10 I don't know if that makes a difference.
Code: [Select]
jack@pirate:~$ sudo apt-get install liblua5.1-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'liblua5.1-0-dev' instead of 'liblua5.1-dev'
liblua5.1-0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
jack@pirate:~$

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
Re: Compile Error PtokaX 0.4.2.0
« Reply #3 on: 22 January, 2012, 06:14:10 »
Try it with this makefile http://www.PtokaX.org/files/makefile ;)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline Vox

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Compile Error PtokaX 0.4.2.0
« Reply #4 on: 20 July, 2014, 03:20:45 »
I'm having the same issue. Unable to make on Ubuntu12.04-64bit. BTW the links are dead.

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 478
  • Karma: +209/-22
  • PtokaX developer
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

Re: Compile Error PtokaX 0.4.2.0
« Reply #5 on: 20 July, 2014, 03:41:53 »