• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Compiling on linux!

keccish

New Member
Joined
Sep 16, 2010
Messages
33
Reaction score
1
I recently tried to compile trunk 3884 on debian 7 but I keep this error

Code:
luascript.cpp:(.text+0x1f2be): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1f2e8): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1f348): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDoCreateNpc(lua_State*)':
luascript.cpp:(.text+0x1f3a4): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x1f480): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x1f4ea): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1f546): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDoCreateMonster(lua_State*)':
luascript.cpp:(.text+0x1f629): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x1f72c): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x1f7ba): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1f81e): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDoCreateTeleport(lua_State*)':
luascript.cpp:(.text+0x1fa06): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x1fa5e): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1faa6): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x1fabe): undefined reference to `lua_pushnil'
luascript.o: In function `LuaInterface::luaDoCreateItem(lua_State*)':
luascript.cpp:(.text+0x1fb2a): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x1fc93): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x1fd38): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x1fd4c): undefined reference to `lua_pushnil'
luascript.cpp:(.text+0x1fe0f): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDoPlayerAddItem(lua_State*)':
luascript.cpp:(.text+0x1fe66): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x1ffc0): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x20086): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x2013a): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x20174): undefined reference to `lua_pushnil'
luascript.o: In function `LuaInterface::pushThing(lua_State*, Thing*, unsigned int)':
luascript.cpp:(.text+0x20256): undefined reference to `lua_createtable'
luascript.o: In function `LuaInterface::luaGetItemParent(lua_State*)':
luascript.cpp:(.text+0x205c6): undefined reference to `lua_pushnil'
luascript.o: In function `LuaInterface::luaGetContainerItems(lua_State*)':
luascript.cpp:(.text+0x2075f): undefined reference to `lua_createtable'
luascript.cpp:(.text+0x207ba): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x207f8): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaGetPlayerItemById(lua_State*)':
luascript.cpp:(.text+0x20888): undefined reference to `lua_gettop'
luascript.o: In function `LuaInterface::luaGetPlayerWeapon(lua_State*)':
luascript.cpp:(.text+0x209be): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x20a7b): undefined reference to `lua_pushnil'
luascript.o: In function `LuaInterface::luaGetTileInfo(lua_State*)':
luascript.cpp:(.text+0x20dbe): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaGetTileThingByPos(lua_State*)':
luascript.cpp:(.text+0x20fac): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x20ff4): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaGetTileItemById(lua_State*)':
luascript.cpp:(.text+0x212a2): undefined reference to `lua_gettop'
luascript.o: In function `LuaInterface::luaGetThingFromPos(lua_State*)':
luascript.cpp:(.text+0x213bc): undefined reference to `lua_gettop'
luascript.o: In function `LuaInterface::luaGetChannelUsers(lua_State*)':
luascript.cpp:(.text+0x21a22): undefined reference to `lua_createtable'
luascript.cpp:(.text+0x21a5a): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x21a83): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x21abd): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaCreateCombatArea(lua_State*)':
luascript.cpp:(.text+0x21c6b): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x21cd9): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x21d58): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaCreateCombatObject(lua_State*)':
luascript.cpp:(.text+0x21e6a): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x21ead): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaCreateConditionObject(lua_State*)':
luascript.cpp:(.text+0x21fc1): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x22049): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x220b0): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x220e8): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDoCreateItemEx(lua_State*)':
luascript.cpp:(.text+0x2221e): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x222bd): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x22308): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaDatabaseStoreQuery(lua_State*)':
luascript.cpp:(.text+0x22436): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x2247e): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::getEvent(std::string const&)':
luascript.cpp:(.text+0x224eb): undefined reference to `lua_getfield'
luascript.cpp:(.text+0x224f9): undefined reference to `lua_type'
luascript.cpp:(.text+0x22514): undefined reference to `lua_getfield'
luascript.cpp:(.text+0x22522): undefined reference to `lua_type'
luascript.cpp:(.text+0x22539): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x22547): undefined reference to `lua_pushvalue'
luascript.cpp:(.text+0x22555): undefined reference to `lua_rawset'
luascript.cpp:(.text+0x22563): undefined reference to `lua_settop'
luascript.cpp:(.text+0x2256c): undefined reference to `lua_pushnil'
luascript.cpp:(.text+0x2257e): undefined reference to `lua_setfield'
luascript.cpp:(.text+0x2261a): undefined reference to `lua_settop'
luascript.o: In function `LuaInterface::luaDoItemSetAttribute(lua_State*)':
luascript.cpp:(.text+0x226ad): undefined reference to `lua_isnumber'
luascript.cpp:(.text+0x227d3): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x22819): undefined reference to `lua_type'
luascript.cpp:(.text+0x2282f): undefined reference to `lua_isstring'
luascript.cpp:(.text+0x22844): undefined reference to `lua_settop'
luascript.cpp:(.text+0x2287b): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x22904): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x22a0e): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaGetItemAttribute(lua_State*)':
luascript.cpp:(.text+0x22c1e): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x22c40): undefined reference to `lua_pushstring'
luascript.cpp:(.text+0x22c84): undefined reference to `lua_pushnil'
luascript.cpp:(.text+0x22ca4): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x22cc2): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x22cfc): undefined reference to `lua_pushnil'
luascript.o: In function `LuaInterface::luaIsInArray(lua_State*)':
luascript.cpp:(.text+0x22d98): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x22db7): undefined reference to `lua_isnumber'
luascript.cpp:(.text+0x22e12): undefined reference to `lua_type'
luascript.cpp:(.text+0x22e34): undefined reference to `lua_isnumber'
luascript.cpp:(.text+0x22eae): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x22ef9): undefined reference to `lua_type'
luascript.cpp:(.text+0x22f0f): undefined reference to `lua_isstring'
luascript.cpp:(.text+0x23011): undefined reference to `lua_type'
luascript.cpp:(.text+0x23027): undefined reference to `lua_isstring'
luascript.cpp:(.text+0x2309c): undefined reference to `lua_pushnil'
luascript.cpp:(.text+0x230a9): undefined reference to `lua_next'
luascript.cpp:(.text+0x230ca): undefined reference to `lua_isnumber'
luascript.cpp:(.text+0x23189): undefined reference to `lua_type'
luascript.cpp:(.text+0x2319f): undefined reference to `lua_isstring'
luascript.cpp:(.text+0x232cb): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x23419): undefined reference to `lua_settop'
luascript.cpp:(.text+0x23423): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x234e1): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x23511): undefined reference to `lua_settop'
luascript.cpp:(.text+0x2353f): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x235a1): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x2364f): undefined reference to `lua_settop'
luascript.cpp:(.text+0x23679): undefined reference to `lua_settop'
luascript.o: In function `LuaInterface::luaAddEvent(lua_State*)':
luascript.cpp:(.text+0x23835): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x23844): undefined reference to `lua_type'
luascript.cpp:(.text+0x2388d): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x238d9): undefined reference to `luaL_ref'
luascript.cpp:(.text+0x23a21): undefined reference to `luaL_ref'
luascript.cpp:(.text+0x23a71): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x23af2): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::luaStdCerr(lua_State*)':
luascript.cpp:(.text+0x23bbd): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x23cfa): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaStdClog(lua_State*)':
luascript.cpp:(.text+0x23dcd): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x23f0a): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaStdCout(lua_State*)':
luascript.cpp:(.text+0x23fdd): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x2411a): undefined reference to `lua_pushnumber'
luascript.o: In function `LuaInterface::luaL_dodirectory(lua_State*)':
luascript.cpp:(.text+0x248fc): undefined reference to `lua_gettop'
luascript.cpp:(.text+0x249b9): undefined reference to `lua_pushboolean'
luascript.cpp:(.text+0x249c9): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::initState()':
luascript.cpp:(.text+0x24a8c): undefined reference to `luaL_newstate'
luascript.cpp:(.text+0x24aa1): undefined reference to `luaL_openlibs'
luascript.cpp:(.text+0x24ba3): undefined reference to `lua_createtable'
luascript.cpp:(.text+0x24bb6): undefined reference to `lua_setfield'
luascript.o: In function `LuaInterface::luaGetPartyMembers(lua_State*)':
luascript.cpp:(.text+0x24d3d): undefined reference to `lua_createtable'
luascript.cpp:(.text+0x24d5c): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x24d72): undefined reference to `lua_pushnumber'
luascript.cpp:(.text+0x24db6): undefined reference to `lua_pushboolean'
luascript.o: In function `LuaInterface::registerFunctions()':
luascript.cpp:(.text+0x30bc): undefined reference to `luaL_register'
luascript.o: In function `LuaInterface::pushCallback(lua_State*, int)':
luascript.cpp:(.text+0x4aa8): undefined reference to `lua_rawgeti'
luascript.o: In function `LuaInterface::popFloatNumber(lua_State*)':
luascript.cpp:(.text+0x58a5): undefined reference to `lua_tonumber'
luascript.o: In function `LuaInterface::popCallback(lua_State*)':
luascript.cpp:(.text+0x8316): undefined reference to `luaL_ref'
luascript.o: In function `LuaInterface::createTable(lua_State*, char const*)':
luascript.cpp:(.text+0x8332): undefined reference to `lua_createtable'
luascript.o: In function `LuaInterface::createTable(lua_State*, char const*, int, int)':
luascript.cpp:(.text+0x837b): undefined reference to `lua_createtable'
luascript.o: In function `LuaInterface::createTable(lua_State*, int)':
luascript.cpp:(.text+0x8396): undefined reference to `lua_createtable'
luascript.o: In function `LuaInterface::createTable(lua_State*, int, int, int)':
luascript.cpp:(.text+0x83df): undefined reference to `lua_createtable'
luascript.o: In function `LuaInterface::pushTable(lua_State*)':
luascript.cpp:(.text+0x83f6): undefined reference to `lua_settable'
luascript.o: In function `LuaInterface::popPosition(lua_State*, Position&, unsigned int&)':
luascript.cpp:(.text+0xa1fe): undefined reference to `lua_settop'
luascript.o: In function `LuaInterface::popPosition(lua_State*, PositionEx&)':
luascript.cpp:(.text+0xa291): undefined reference to `lua_settop'
movement.o: In function `MoveEventScript::registerFunctions()':
movement.cpp:(.text+0xf5): undefined reference to `lua_pushcclosure'
movement.o: In function `MoveEvent::executeStep(Creature*, Creature*, Item*, Position const&, Position const&, Position const&)':
movement.cpp:(.text+0xbbd): undefined reference to `lua_pushnumber'
movement.cpp:(.text+0xc5a): undefined reference to `lua_pushnumber'
movement.o: In function `MoveEvent::executeEquip(Player*, Item*, slots_t, bool)':
movement.cpp:(.text+0x127a): undefined reference to `lua_pushnumber'
movement.cpp:(.text+0x12b8): undefined reference to `lua_pushnumber'
movement.cpp:(.text+0x12c4): undefined reference to `lua_pushboolean'
movement.o: In function `MoveEvent::executeAddRemItem(Creature*, Item*, Item*, Position const&)':
movement.cpp:(.text+0x17c9): undefined reference to `lua_pushnumber'
movement.o: In function `MoveEventScript::luaCallFunction(lua_State*)':
movement.cpp:(.text+0x28f0): undefined reference to `lua_pushboolean'
movement.cpp:(.text+0x29a5): undefined reference to `lua_pushboolean'
movement.cpp:(.text+0x2a17): undefined reference to `lua_pushboolean'
movement.cpp:(.text+0x2a8d): undefined reference to `lua_pushboolean'
movement.cpp:(.text+0x2adc): undefined reference to `lua_pushboolean'
movement.o: In function `MoveEventScript::registerFunctions()':
movement.cpp:(.text+0x109): undefined reference to `lua_setfield'
npc.o: In function `NpcScript::registerFunctions()':
npc.cpp:(.text+0x15): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0x28): undefined reference to `lua_setfield'
npc.cpp:(.text+0x38): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0x4b): undefined reference to `lua_setfield'
npc.cpp:(.text+0x5b): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0x6e): undefined reference to `lua_setfield'
npc.cpp:(.text+0x7e): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0x91): undefined reference to `lua_setfield'
npc.cpp:(.text+0xa1): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0xb4): undefined reference to `lua_setfield'
npc.cpp:(.text+0xc4): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0xd7): undefined reference to `lua_setfield'
npc.cpp:(.text+0xe7): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0xfa): undefined reference to `lua_setfield'
npc.cpp:(.text+0x10a): undefined reference to `lua_pushcclosure'
npc.cpp:(.text+0x11d): undefined reference to `lua_setfield'
npc.cpp:(.text+0x12d): undefined reference to `lua_pushcclosure'
npc.o: In function `NpcScript::luaGetNpcId(lua_State*)':
npc.cpp:(.text+0x3b2): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0x3c4): undefined reference to `lua_pushnil'
npc.o: In function `NpcScript::luaActionFollow(lua_State*)':
npc.cpp:(.text+0x43d): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x46a): undefined reference to `lua_pushboolean'
npc.o: In function `NpcScript::luaCloseShopWindow(lua_State*)':
npc.cpp:(.text+0x4e7): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x525): undefined reference to `lua_pushboolean'
npc.o: In function `NpcEvents::onPlayerEndTrade(Player const*)':
npc.cpp:(.text+0x7fc): undefined reference to `lua_pushnumber'
npc.o: In function `NpcEvents::onCreatureAppear(Creature const*)':
npc.cpp:(.text+0x99b): undefined reference to `lua_pushnumber'
npc.o: In function `NpcEvents::onPlayerTrade(Player const*, int, unsigned short, unsigned char, unsigned char, bool, bool)':
npc.cpp:(.text+0xb91): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0xb9d): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0xbaa): undefined reference to `lua_pushnumber'
npc.o:npc.cpp:(.text+0xbb7): more undefined references to `lua_pushnumber' follow
npc.o: In function `NpcEvents::onPlayerTrade(Player const*, int, unsigned short, unsigned char, unsigned char, bool, bool)':
npc.cpp:(.text+0xbc4): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0xbd0): undefined reference to `lua_pushboolean'
npc.o: In function `NpcEvents::onCreatureSay(Creature const*, SpeakClasses, std::string const&, Position*)':
npc.cpp:(.text+0xd8d): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0xd9a): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0xda5): undefined reference to `lua_pushstring'
npc.o: In function `NpcEvents::onPlayerCloseChannel(Player const*)':
npc.cpp:(.text+0xf4b): undefined reference to `lua_pushnumber'
npc.o: In function `NpcEvents::onCreatureMove(Creature const*, Position const&, Position const&)':
npc.cpp:(.text+0x10fd): undefined reference to `lua_pushnumber'
npc.o: In function `NpcEvents::onCreatureDisappear(Creature const*)':
npc.cpp:(.text+0x12bb): undefined reference to `lua_pushnumber'
npc.o: In function `NpcScript::luaActionSay(lua_State*)':
npc.cpp:(.text+0x195c): undefined reference to `lua_gettop'
npc.o: In function `NpcScript::pushState(lua_State*, NpcState*)':
npc.cpp:(.text+0x1fb1): undefined reference to `lua_createtable'
npc.o: In function `NpcScript::luaGetNpcState(lua_State*)':
npc.cpp:(.text+0x2170): undefined reference to `lua_pushnil'
npc.o: In function `NpcScript::luaSetNpcState(lua_State*)':
npc.cpp:(.text+0x25b6): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x2608): undefined reference to `lua_pushboolean'
npc.o: In function `NpcScript::luaGetNpcParameter(lua_State*)':
npc.cpp:(.text+0x4bf7): undefined reference to `lua_pushstring'
npc.cpp:(.text+0x4c24): undefined reference to `lua_pushnil'
npc.o: In function `NpcScript::luaOpenShopWindow(lua_State*)':
npc.cpp:(.text+0x4c99): undefined reference to `lua_type'
npc.cpp:(.text+0x4caf): undefined reference to `lua_settop'
npc.cpp:(.text+0x4cc4): undefined reference to `lua_type'
npc.cpp:(.text+0x4cda): undefined reference to `lua_settop'
npc.cpp:(.text+0x4cef): undefined reference to `lua_type'
npc.cpp:(.text+0x4d38): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x4d83): undefined reference to `lua_pushnil'
npc.cpp:(.text+0x4e98): undefined reference to `lua_settop'
npc.cpp:(.text+0x4ebb): undefined reference to `lua_next'
npc.cpp:(.text+0x4ed0): undefined reference to `lua_settop'
npc.cpp:(.text+0x4f66): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x4fc5): undefined reference to `lua_pushboolean'
npc.cpp:(.text+0x4ff8): undefined reference to `lua_pushboolean'
npc.o: In function `Npc::executeResponse(Player*, NpcState*, NpcResponse const*)':
npc.cpp:(.text+0x8166): undefined reference to `lua_getfield'
npc.cpp:(.text+0x82f3): undefined reference to `lua_pushnumber'
npc.cpp:(.text+0x832a): undefined reference to `lua_setfield'
npc.cpp:(.text+0x834b): undefined reference to `lua_getfield'
npc.cpp:(.text+0x84cf): undefined reference to `lua_pushstring'
npc.o: In function `Npc::onPlayerEndTrade(Player*, int, int)':
npc.cpp:(.text+0x864a): undefined reference to `luaL_unref'
npc.cpp:(.text+0x8660): undefined reference to `luaL_unref'
npc.o: In function `NpcScript::registerFunctions()':
npc.cpp:(.text+0x141): undefined reference to `lua_setfield'
spells.o: In function `CombatSpell::executeCastSpell(Creature*, LuaVariant const&)':
spells.cpp:(.text+0x12ce): undefined reference to `lua_pushnumber'
spells.o: In function `InstantSpell::executeCastSpell(Creature*, LuaVariant const&)':
spells.cpp:(.text+0x270e): undefined reference to `lua_pushnumber'
spells.o: In function `RuneSpell::executeCastSpell(Creature*, LuaVariant const&)':
spells.cpp:(.text+0x2c4e): undefined reference to `lua_pushnumber'
talkaction.o: In function `TalkAction::executeSay(Creature*, std::string const&, std::string, unsigned short)':
talkaction.cpp:(.text+0x266c): undefined reference to `lua_pushnumber'
talkaction.cpp:(.text+0x2678): undefined reference to `lua_pushstring'
talkaction.cpp:(.text+0x2684): undefined reference to `lua_pushstring'
talkaction.cpp:(.text+0x2697): undefined reference to `lua_pushnumber'
weapons.o: In function `Weapon::executeUseWeapon(Player*, LuaVariant const&) const':
weapons.cpp:(.text+0xe3e): undefined reference to `lua_pushnumber'
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/ots/tfs'
make: *** [all] Error 2
And the list goes on untill I cant see anymore of these errors, any thoughts? any help will be much appriciated!

This is like the first time using linux so not much knowledge about this at all.

edit:
noinst_PROGRAMS = theforgottenserver

CXXFLAGS = -pipe
AM_CXXFLAGS = $(XML_CPPFLAGS) $(OTSERV_FLAGS) $(LUA_CFLAGS) $(DEBUG_FLAGS)\
$(MYSQL_FLAGS) $(SQLITE_FLAGS) $(PGSQL_FLAGS) $(PROFILER_FLAGS)\
$(OPTIONAL_FLAGS) -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter

theforgottenserver_LDADD = $(LUA_LIBS)

if USE_MYSQL
MAYBE_MYSQL = databasemysql.cpp databasemysql.h
endif
if USE_SQLITE
MAYBE_SQLITE = databasesqlite.cpp databasesqlite.h
endif
if USE_PGSQL
MAYBE_PGSQL = databasepgsql.cpp databasepgsql.h
endif
if LOGIN_SERVER
MAYBE_LOGIN = gameservers.cpp gameservers.h
endif
if OT_ADMIN
MAYBE_OTADMIN = admin.cpp admin.h
endif

theforgottenserver_SOURCES = account.h actions.cpp actions.h $(MAYBE_OTADMIN) \
allocator.cpp allocator.h baseevents.cpp baseevents.h beds.cpp \
beds.h chat.cpp chat.h combat.cpp combat.h condition.cpp condition.h \
config.h configmanager.cpp configmanager.h connection.cpp connection.h \
const.h container.cpp container.h creature.cpp creature.h \
creatureevent.cpp creatureevent.h cylinder.cpp cylinder.h database.cpp \
database.h databasemanager.cpp databasemanager.h $(MAYBE_MYSQL) \
$(MAYBE_SQLITE) $(MAYBE_PGSQL) depot.cpp depot.h dispatcher.cpp \
dispatcher.h exception.cpp exception.h fileloader.cpp fileloader.h \
game.cpp game.h $(MAYBE_LOGIN) globalevent.cpp globalevent.h group.cpp \
group.h house.cpp house.h housetile.cpp housetile.h ioban.cpp ioban.h \
ioguild.cpp ioguild.h iologindata.cpp iologindata.h iomap.cpp iomap.h \
iomapserialize.cpp iomapserialize.h item.cpp item.h itemattributes.cpp \
itemattributes.h items.cpp items.h luascript.cpp luascript.h \
mailbox.cpp mailbox.h manager.cpp manager.h map.cpp map.h monster.cpp \
monster.h monsters.cpp monsters.h movement.cpp movement.h \
networkmessage.cpp networkmessage.h npc.cpp npc.h otpch.h otserv.cpp \
otsystem.h outfit.cpp outfit.h outputmessage.cpp outputmessage.h \
party.cpp party.h player.cpp player.h position.cpp position.h \
protocol.cpp protocol.h protocolgame.cpp protocolgame.h \
protocolhttp.cpp protocolhttp.h protocollogin.cpp protocollogin.h \
protocolold.cpp protocolold.h quests.cpp quests.h raids.cpp raids.h \
scheduler.cpp scheduler.h scriptmanager.cpp \
scriptmanager.h server.cpp server.h spawn.cpp spawn.h spells.cpp \
spells.h status.cpp status.h talkaction.cpp talkaction.h teleport.cpp \
teleport.h templates.h textlogger.cpp textlogger.h thing.cpp thing.h \
tile.cpp tile.h tools.cpp tools.h town.h trashholder.cpp trashholder.h \
waitlist.cpp waitlist.h waypoints.h weapons.cpp weapons.h vocation.cpp \
vocation.h
 
Now I get this
44e3f784ec3476df510ea2950b592989.png

Any thoughts?

edit: and if I do find the path to lua.h I get the errors I stated on before
 
Back
Top