oh hai thar
New Member
- Joined
- Apr 24, 2011
- Messages
- 56
- Reaction score
- 3
Code:
ition*)':
/home/source/npc.cpp:3076: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/npc.cpp:3077: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/npc.cpp:3082: undefined reference to `LuaInterface::callFunction(unsigned int)'
npc.o: In function `NpcEvents::onPlayerTrade(Player const*, int, unsigned short, unsigned char, unsigned char, bool, bool)':
/home/source/npc.cpp:3111: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/npc.cpp:3112: undefined reference to `LuaInterface::pushCallback(lua_State*, int)'
/home/source/npc.cpp:3122: undefined reference to `LuaInterface::callFunction(unsigned int)'
npc.o: In function `NpcEvents::onPlayerEndTrade(Player const*)':
/home/source/npc.cpp:3150: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/npc.cpp:3151: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/npc.cpp:3153: undefined reference to `LuaInterface::callFunction(unsigned int)'
npc.o: In function `NpcEvents::onPlayerCloseChannel(Player const*)':
/home/source/npc.cpp:3181: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/npc.cpp:3182: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/npc.cpp:3184: undefined reference to `LuaInterface::callFunction(unsigned int)'
npc.o: In function `NpcEvents::onThink()':
/home/source/npc.cpp:3211: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/npc.cpp:3213: undefined reference to `LuaInterface::callFunction(unsigned int)'
npc.o: In function `~NpcScript':
/home/source/npc.h:56: undefined reference to `LuaInterface::~LuaInterface()'
npc.o:(.rodata._ZTV9NpcScript[vtable for NpcScript]+0x20): undefined reference to `LuaInterface::initState()'
npc.o:(.rodata._ZTV9NpcScript[vtable for NpcScript]+0x28): undefined reference to `LuaInterface::closeState()'
npc.o:(.rodata._ZTI9NpcScript[typeinfo for NpcScript]+0x10): undefined reference to `typeinfo for LuaInterface'
raids.o: In function `Raids::clear()':
/home/source/raids.cpp:185: undefined reference to `LuaInterface::reInitState()'
raids.o: In function `ScriptEvent::configureRaidEvent(_xmlNode*)':
/home/source/raids.cpp:930: undefined reference to `LuaInterface::initState()'
/home/source/raids.cpp:932: undefined reference to `LuaInterface::loadDirectory(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, Npc*)'
raids.o: In function `ScriptEvent::executeEvent(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
/home/source/raids.cpp:975: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/raids.cpp:978: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/raids.cpp:992: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/raids.cpp:995: undefined reference to `LuaInterface::callFunction(unsigned int)'
raids.o: In function `__static_initialization_and_destruction_0':
/home/source/raids.cpp:28: undefined reference to `LuaInterface::LuaInterface(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/source/raids.cpp:28: undefined reference to `LuaInterface::~LuaInterface()'
spells.o: In function `Spells':
/home/source/spells.cpp:39: undefined reference to `LuaInterface::LuaInterface(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/source/spells.cpp:41: undefined reference to `LuaInterface::initState()'
/home/source/spells.cpp:39: undefined reference to `LuaInterface::~LuaInterface()'
spells.o: In function `Spells::clear()':
/home/source/spells.cpp:123: undefined reference to `LuaInterface::reInitState()'
spells.o: In function `CombatSpell::loadScriptCombat()':
/home/source/spells.cpp:338: undefined reference to `ScriptEnviroment::getCombatObject(unsigned int)'
spells.o: In function `CombatSpell::executeCastSpell(Creature*, LuaVariant const&)':
/home/source/spells.cpp:425: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:426: undefined reference to `ScriptEnviroment::streamVariant(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LuaVariant const&)'
/home/source/spells.cpp:430: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/spells.cpp:433: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/spells.cpp:451: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/spells.cpp:452: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:453: undefined reference to `LuaInterface::pushVariant(lua_State*, LuaVariant const&)'
/home/source/spells.cpp:455: undefined reference to `LuaInterface::callFunction(unsigned int)'
spells.o: In function `InstantSpell::executeCastSpell(Creature*, LuaVariant const&)':
/home/source/spells.cpp:1361: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:1362: undefined reference to `ScriptEnviroment::streamVariant(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LuaVariant const&)'
/home/source/spells.cpp:1366: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/spells.cpp:1369: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/spells.cpp:1387: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/spells.cpp:1388: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:1389: undefined reference to `LuaInterface::pushVariant(lua_State*, LuaVariant const&)'
/home/source/spells.cpp:1391: undefined reference to `LuaInterface::callFunction(unsigned int)'
spells.o: In function `RuneSpell::executeCastSpell(Creature*, LuaVariant const&)':
/home/source/spells.cpp:2042: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:2043: undefined reference to `ScriptEnviroment::streamVariant(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LuaVariant const&)'
/home/source/spells.cpp:2047: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/spells.cpp:2050: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/spells.cpp:2068: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/spells.cpp:2069: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/spells.cpp:2070: undefined reference to `LuaInterface::pushVariant(lua_State*, LuaVariant const&)'
/home/source/spells.cpp:2072: undefined reference to `LuaInterface::callFunction(unsigned int)'
spells.o: In function `ScriptEnviroment::getLastCombatId()':
/home/source/luascript.h:152: undefined reference to `ScriptEnviroment::m_lastCombatId'
spells.o: In function `~Spells':
/home/source/spells.h:43: undefined reference to `LuaInterface::~LuaInterface()'
/home/source/spells.h:43: undefined reference to `LuaInterface::~LuaInterface()'
talkaction.o: In function `TalkActions':
/home/source/talkaction.cpp:54: undefined reference to `LuaInterface::LuaInterface(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/source/talkaction.cpp:56: undefined reference to `LuaInterface::initState()'
/home/source/talkaction.cpp:54: undefined reference to `LuaInterface::~LuaInterface()'
talkaction.o: In function `~TalkActions':
/home/source/talkaction.cpp:60: undefined reference to `LuaInterface::~LuaInterface()'
/home/source/talkaction.cpp:60: undefined reference to `LuaInterface::~LuaInterface()'
talkaction.o: In function `TalkActions::clear()':
/home/source/talkaction.cpp:71: undefined reference to `LuaInterface::reInitState()'
talkaction.o: In function `TalkAction::executeSay(Creature*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned short)':
/home/source/talkaction.cpp:349: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/talkaction.cpp:359: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/talkaction.cpp:362: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/talkaction.cpp:380: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/talkaction.cpp:381: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/talkaction.cpp:387: undefined reference to `LuaInterface::callFunction(unsigned int)'
weapons.o: In function `Weapons':
/home/source/weapons.cpp:32: undefined reference to `LuaInterface::LuaInterface(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)'
/home/source/weapons.cpp:34: undefined reference to `LuaInterface::initState()'
/home/source/weapons.cpp:32: undefined reference to `LuaInterface::~LuaInterface()'
weapons.o: In function `Weapons::clear()':
/home/source/weapons.cpp:55: undefined reference to `LuaInterface::reInitState()'
weapons.o: In function `Weapon::executeUseWeapon(Player*, LuaVariant const&) const':
/home/source/weapons.cpp:507: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/weapons.cpp:508: undefined reference to `ScriptEnviroment::streamVariant(std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, LuaVariant const&)'
/home/source/weapons.cpp:514: undefined reference to `LuaInterface::loadBuffer(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Npc*)'
/home/source/weapons.cpp:517: undefined reference to `LuaInterface::getGlobalBool(lua_State*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
/home/source/weapons.cpp:535: undefined reference to `LuaInterface::pushFunction(int)'
/home/source/weapons.cpp:537: undefined reference to `ScriptEnviroment::addThing(Thing*)'
/home/source/weapons.cpp:538: undefined reference to `LuaInterface::pushVariant(lua_State*, LuaVariant const&)'
/home/source/weapons.cpp:540: undefined reference to `LuaInterface::callFunction(unsigned int)'
weapons.o: In function `~Weapons':
/home/source/weapons.h:40: undefined reference to `LuaInterface::~LuaInterface()'
/home/source/weapons.h:40: undefined reference to `LuaInterface::~LuaInterface()'
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/source'
make: *** [all] Error 2
root@vds:/home/source# ^C
root@vds:/home/source#
compiling error :[