Jump to content

Compiling Vanilla source


Recommended Posts

Hello,

I am trying to compile Vanilla but I am getting error in console:
 

/home/vanilla/game/src/questlua_pc.cpp:409: undefined reference to `luaL_checknumber'
/home/vanilla/game/src/questlua_pc.cpp:410: undefined reference to `luaL_checknumber'
/home/vanilla/game/src/questlua_pc.cpp:420: undefined reference to `luaL_error'
/home/vanilla/game/src/questlua_pc.cpp:429: undefined reference to `luaL_error'
debug/questlua_pc.o: In function `quest::pc_give_item_from_special_item_group(lua_State*)':
/home/vanilla/game/src/questlua_pc.cpp:448: undefined reference to `luaL_checknumber'
debug/questmanager.o: In function `quest::CQuestManager::CanStartQuest(unsigned int)':
questmanager.cpp:(.text+0x44b2): undefined reference to `lua_dobuffer'
debug/questmanager.o: In function `quest::CQuestManager::ExecuteQuestScript(quest::PC&, std::__1::basic_string<char, std::__1::char_                                                                                                         traits<char>, std::__1::allocator<char> > const&, int, char const*, int, std::__1::vector<quest::AArgScript*, std::__1::allocator<qu                                                                                                         est::AArgScript*> >*, bool)':
questmanager.cpp:(.text+0x5335): undefined reference to `luaL_loadbuffer'
questmanager.cpp:(.text+0x535c): undefined reference to `luaL_loadbuffer'
debug/questlua.o: In function `quest::ScriptToString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<c                                                                                                         har> > const&)':
/home/vanilla/game/src/questlua.cpp:40: undefined reference to `lua_dobuffer'
debug/questlua.o: In function `quest::IsScriptTrue(char const*, int)':
/home/vanilla/game/src/questlua.cpp:180: undefined reference to `lua_dobuffer'
debug/questlua.o: In function `quest::CQuestManager::InitializeLua()':
/home/vanilla/game/src/questlua.cpp:463: undefined reference to `luaopen_base'
/home/vanilla/game/src/questlua.cpp:464: undefined reference to `luaopen_table'
/home/vanilla/game/src/questlua.cpp:465: undefined reference to `luaopen_string'
/home/vanilla/game/src/questlua.cpp:466: undefined reference to `luaopen_math'
/home/vanilla/game/src/questlua.cpp:468: undefined reference to `luaopen_io'
/home/vanilla/game/src/questlua.cpp:469: undefined reference to `luaopen_debug'
/home/vanilla/game/src/questlua.cpp:546: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:559: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:573: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:593: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:623: undefined reference to `lua_dofile'
debug/questlua.o: In function `quest::CQuestManager::GotoSelectState(quest::QuestState&)':
/home/vanilla/game/src/questlua.cpp:643: undefined reference to `luaL_getn'
debug/questlua.o: In function `quest::CQuestManager::OpenState(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::a                                                                                                         llocator<char> > const&, int)':
/home/vanilla/game/src/questlua.cpp:795: undefined reference to `luaL_ref'
debug/questlua.o: In function `quest::CQuestManager::CloseState(quest::QuestState&)':
/home/vanilla/game/src/questlua.cpp:873: undefined reference to `luaL_unref'
debug/questlua_guild.o: In function `quest::guild_level(lua_State*)':
questlua_guild.cpp:(.text+0x332): undefined reference to `luaL_checknumber'
debug/cmd_gm.o: In function `do_priv_guild(CHARACTER*, char const*, int, int)':
cmd_gm.cpp:(.text+0x533c): undefined reference to `luaL_loadbuffer'
debug/questlua_oxevent.o: In function `quest::oxevent_open(lua_State*)':
questlua_oxevent.cpp:(.text+0x96): undefined reference to `lua_dofile'
debug/questlua_global.o: In function `quest::_set_quest_state(lua_State*)':
questlua_global.cpp:(.text+0x364d): undefined reference to `luaL_error'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:88: ../game_r70220_debug] Error 1

I can pay for fix.
Can you help me please?
Thank you!

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

1 hour ago, Avisek said:

Hello,

I am trying to compile Vanilla but I am getting error in console:
 


/home/vanilla/game/src/questlua_pc.cpp:409: undefined reference to `luaL_checknumber'
/home/vanilla/game/src/questlua_pc.cpp:410: undefined reference to `luaL_checknumber'
/home/vanilla/game/src/questlua_pc.cpp:420: undefined reference to `luaL_error'
/home/vanilla/game/src/questlua_pc.cpp:429: undefined reference to `luaL_error'
debug/questlua_pc.o: In function `quest::pc_give_item_from_special_item_group(lua_State*)':
/home/vanilla/game/src/questlua_pc.cpp:448: undefined reference to `luaL_checknumber'
debug/questmanager.o: In function `quest::CQuestManager::CanStartQuest(unsigned int)':
questmanager.cpp:(.text+0x44b2): undefined reference to `lua_dobuffer'
debug/questmanager.o: In function `quest::CQuestManager::ExecuteQuestScript(quest::PC&, std::__1::basic_string<char, std::__1::char_                                                                                                         traits<char>, std::__1::allocator<char> > const&, int, char const*, int, std::__1::vector<quest::AArgScript*, std::__1::allocator<qu                                                                                                         est::AArgScript*> >*, bool)':
questmanager.cpp:(.text+0x5335): undefined reference to `luaL_loadbuffer'
questmanager.cpp:(.text+0x535c): undefined reference to `luaL_loadbuffer'
debug/questlua.o: In function `quest::ScriptToString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<c                                                                                                         har> > const&)':
/home/vanilla/game/src/questlua.cpp:40: undefined reference to `lua_dobuffer'
debug/questlua.o: In function `quest::IsScriptTrue(char const*, int)':
/home/vanilla/game/src/questlua.cpp:180: undefined reference to `lua_dobuffer'
debug/questlua.o: In function `quest::CQuestManager::InitializeLua()':
/home/vanilla/game/src/questlua.cpp:463: undefined reference to `luaopen_base'
/home/vanilla/game/src/questlua.cpp:464: undefined reference to `luaopen_table'
/home/vanilla/game/src/questlua.cpp:465: undefined reference to `luaopen_string'
/home/vanilla/game/src/questlua.cpp:466: undefined reference to `luaopen_math'
/home/vanilla/game/src/questlua.cpp:468: undefined reference to `luaopen_io'
/home/vanilla/game/src/questlua.cpp:469: undefined reference to `luaopen_debug'
/home/vanilla/game/src/questlua.cpp:546: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:559: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:573: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:593: undefined reference to `lua_dofile'
/home/vanilla/game/src/questlua.cpp:623: undefined reference to `lua_dofile'
debug/questlua.o: In function `quest::CQuestManager::GotoSelectState(quest::QuestState&)':
/home/vanilla/game/src/questlua.cpp:643: undefined reference to `luaL_getn'
debug/questlua.o: In function `quest::CQuestManager::OpenState(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::a                                                                                                         llocator<char> > const&, int)':
/home/vanilla/game/src/questlua.cpp:795: undefined reference to `luaL_ref'
debug/questlua.o: In function `quest::CQuestManager::CloseState(quest::QuestState&)':
/home/vanilla/game/src/questlua.cpp:873: undefined reference to `luaL_unref'
debug/questlua_guild.o: In function `quest::guild_level(lua_State*)':
questlua_guild.cpp:(.text+0x332): undefined reference to `luaL_checknumber'
debug/cmd_gm.o: In function `do_priv_guild(CHARACTER*, char const*, int, int)':
cmd_gm.cpp:(.text+0x533c): undefined reference to `luaL_loadbuffer'
debug/questlua_oxevent.o: In function `quest::oxevent_open(lua_State*)':
questlua_oxevent.cpp:(.text+0x96): undefined reference to `lua_dofile'
debug/questlua_global.o: In function `quest::_set_quest_state(lua_State*)':
questlua_global.cpp:(.text+0x364d): undefined reference to `luaL_error'
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:88: ../game_r70220_debug] Error 1

I can pay for fix.
Can you help me please?
Thank you!

PM me your skype

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.