Jump to content

Compilar Source 64Bits


Guest Gamers

Recommended Posts

Olá estou aqui para pedir uma ajuda para alguém que ja consegui compilar uma source configurada para BSD64...Eu encontrei uma na internet "não irei colocar ela aqui pois não sei se e permitido" mas ao tenta compilar a game estou tendo o seguinte errorObs: vale relembra que a db compilou sem problemas.irei deixar abaixo o error, meu makefile e o anexos de minhas libs

.obj/arena.o: In function `CArenaManager::GetDuelList(lua_State*)':/usr/Source/source/game/src/arena.cpp:617: undefined reference to `lua_newtable'.obj/arena.o: In function `CArenaMap::GetDuelList(lua_State*, int)':/usr/Source/source/game/src/arena.cpp:648: undefined reference to `lua_newtable'.obj/BlueDragon_Binder.o: In function `BlueDragon_GetRangeFactor(char const*, int)':/usr/Source/source/game/src/BlueDragon_Binder.cpp:85: undefined reference to `luaL_getn'.obj/questlua.o: In function `quest::ScriptToString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)':/usr/Source/source/game/src/questlua.cpp:29: undefined reference to `lua_dobuffer'/usr/Source/source/game/src/questlua.cpp:35: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::FBuildLuaGuildWarList::FBuildLuaGuildWarList(lua_State*)':/usr/Source/source/game/src/questlua.cpp:154: undefined reference to `lua_newtable'.obj/questlua.o: In function `quest::FBuildLuaGuildWarList::operator()(unsigned int, unsigned int)':/usr/Source/source/game/src/questlua.cpp:176: undefined reference to `lua_newtable'.obj/questlua.o: In function `quest::IsScriptTrue(char const*, int)':/usr/Source/source/game/src/questlua.cpp:193: undefined reference to `lua_dobuffer'.obj/questlua.o: In function `quest::combine_lua_string(lua_State*, std::__1::basic_ostringstream<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)':/usr/Source/source/game/src/questlua.cpp:217: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::highscore_show(lua_State*)':/usr/Source/source/game/src/questlua.cpp:230: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::highscore_register(lua_State*)':/usr/Source/source/game/src/questlua.cpp:243: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::CQuestManager::AddLuaFunctionTable(char const*, luaL_reg*)':/usr/Source/source/game/src/questlua.cpp:431: undefined reference to `lua_newtable'.obj/questlua.o: In function `quest::CQuestManager::InitializeLua()':/usr/Source/source/game/src/questlua.cpp:473: undefined reference to `lua_open'/usr/Source/source/game/src/questlua.cpp:544: undefined reference to `lua_dofile'/usr/Source/source/game/src/questlua.cpp:557: undefined reference to `lua_dofile'/usr/Source/source/game/src/questlua.cpp:572: undefined reference to `lua_dofile'/usr/Source/source/game/src/questlua.cpp:616: undefined reference to `lua_dofile'/usr/Source/source/game/src/questlua.cpp:625: undefined reference to `lua_setgcthreshold'/usr/Source/source/game/src/questlua.cpp:627: undefined reference to `lua_newtable'.obj/questlua.o: In function `quest::CQuestManager::GotoSelectState(quest::QuestState&)':/usr/Source/source/game/src/questlua.cpp:636: undefined reference to `luaL_getn'/usr/Source/source/game/src/questlua.cpp:651: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::CQuestManager::GotoConfirmState(quest::QuestState&)':/usr/Source/source/game/src/questlua.cpp:715: undefined reference to `lua_tostring'.obj/questlua.o: In function `quest::CQuestManager::RunState(quest::QuestState&)':/usr/Source/source/game/src/questlua.cpp:824: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua.cpp:792: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua.cpp:804: undefined reference to `lua_tostring'.obj/questlua.o:/usr/Source/source/game/src/questlua.cpp:816: more undefined references to `lua_tostring' follow.obj/questlua_guild.o: In function `quest::guild_get_reserve_war_table(lua_State*)':/usr/Source/source/game/src/questlua_guild.cpp:250: undefined reference to `lua_newtable'/usr/Source/source/game/src/questlua_guild.cpp:250: undefined reference to `lua_newtable'.obj/questlua_guild.o: In function `quest::guild_change_master(lua_State*)':/usr/Source/source/game/src/questlua_guild.cpp:337: undefined reference to `lua_tostring'.obj/questlua_guild.o: In function `quest::guild_change_master_with_limit(lua_State*)':/usr/Source/source/game/src/questlua_guild.cpp:371: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua_guild.cpp:395: undefined reference to `lua_tostring'.obj/questlua_horse.o: In function `quest::horse_summon(lua_State*)':/usr/Source/source/game/src/questlua_horse.cpp:68: undefined reference to `lua_tostring'.obj/questlua_horse.o: In function `quest::horse_set_name(lua_State*)':/usr/Source/source/game/src/questlua_horse.cpp:242: undefined reference to `lua_tostring'.obj/questlua_horse.o:/usr/Source/source/game/src/questlua_horse.cpp:255: more undefined references to `lua_tostring' follow.obj/questlua_marriage.o: In function `singleton<marriage::CManager>::instance()':/usr/Source/source/game/src/questlua_marriage.cpp:76: undefined reference to `lua_newtable'.obj/questlua_marriage.o: In function `quest::marriage_wedding_client_command(lua_State*)':/usr/Source/source/game/src/questlua_marriage.cpp:217: undefined reference to `lua_tostring'.obj/questlua_marriage.o: In function `quest::marriage_wedding_music(lua_State*)':/usr/Source/source/game/src/questlua_marriage.cpp:273: undefined reference to `lua_tostring'.obj/questlua_marriage.o: In function `quest::FBuildLuaWeddingMapList::operator()(marriage::TMarriage*)':/usr/Source/source/game/src/questlua_marriage.cpp:86: undefined reference to `lua_newtable'.obj/questlua_npc.o: In function `quest::npc_send_effect(lua_State*)':/usr/Source/source/game/src/questlua_npc.cpp:416: undefined reference to `lua_tostring'.obj/questlua_oxevent.o: In function `quest::oxevent_open(lua_State*)':/usr/Source/source/game/src/questlua_oxevent.cpp:26: undefined reference to `lua_dofile'.obj/questlua_party.o: In function `quest::party_run_cinematic(lua_State*)':/usr/Source/source/game/src/questlua_party.cpp:81: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua_party.cpp:86: undefined reference to `lua_tostring'.obj/questlua_party.o: In function `quest::party_show_cinematic(lua_State*)':/usr/Source/source/game/src/questlua_party.cpp:131: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua_party.cpp:136: undefined reference to `lua_tostring'.obj/questlua_party.o: In function `quest::party_is_map_member_flag_lt(lua_State*)':/usr/Source/source/game/src/questlua_party.cpp:243: undefined reference to `lua_tostring'.obj/questlua_party.o:/usr/Source/source/game/src/questlua_party.cpp:264: more undefined references to `lua_tostring' follow.obj/questlua_pc.o: In function `quest::pc_get_socket_items(lua_State*)':/usr/Source/source/game/src/questlua_pc.cpp:2398: undefined reference to `lua_newtable'/usr/Source/source/game/src/questlua_pc.cpp:2398: undefined reference to `lua_newtable'.obj/questlua_pc.o: In function `quest::pc_charge_cash(lua_State*)':/usr/Source/source/game/src/questlua_pc.cpp:2712: undefined reference to `lua_tostring'.obj/questlua_pc.o: In function `quest::pc_give_award(lua_State*)':/usr/Source/source/game/src/questlua_pc.cpp:2764: undefined reference to `lua_tostring'/usr/Source/source/game/src/questlua_pc.cpp:2764: undefined reference to `lua_tostring'.obj/questlua_pc.o: In function `quest::pc_give_award_socket(lua_State*)':/usr/Source/source/game/src/questlua_pc.cpp:2792: undefined reference to `lua_tostring'.obj/questlua_pet.o: In function `quest::pet_summon(lua_State*)':/usr/Source/source/game/src/questlua_pet.cpp:38: undefined reference to `lua_tostring'.obj/questlua_pet.o:/usr/Source/source/game/src/questlua_pet.cpp:139: more undefined references to `lua_tostring' follow.obj/questmanager.o: In function `quest::CQuestManager::CanStartQuest(unsigned int)':/usr/Source/source/game/src/questmanager.cpp:911: undefined reference to `lua_dobuffer'.obj/questmanager.o: In function `quest::CQuestManager::GetQuestStateName(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)':/usr/Source/source/game/src/questmanager.cpp:1026: undefined reference to `lua_tostring'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `ilLoadJp2F':(.text+0x352): undefined reference to `jas_init'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `ilLoadJp2F':(.text+0x386): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x3df): undefined reference to `jas_image_decode'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x41a): undefined reference to `jas_image_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x43e): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x67a): undefined reference to `jas_matrix_create'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x6a3): undefined reference to `jas_image_readcmpt'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x716): undefined reference to `jas_matrix_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iLoadJp2Internal':(.text+0x731): undefined reference to `jas_image_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `ilLoadJp2LInternal':(.text+0x78c): undefined reference to `jas_init'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `ilLoadJp2LInternal':(.text+0x7a8): undefined reference to `jas_stream_memopen'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `ilLoadJp2LInternal':(.text+0x7c6): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2ReadStream':(.text+0x7fd): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2ReadStream':(.text+0x84d): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2ReadStream':(.text+0x8a7): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2ReadStream':(.text+0x8d6): undefined reference to `jas_free'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2ReadStream':(.text+0x8e5): undefined reference to `jas_free'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2WriteStream':(.text+0x8fd): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2WriteStream':(.text+0x94d): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2WriteStream':(.text+0x9a7): undefined reference to `jas_malloc'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2WriteStream':(.text+0x9d6): undefined reference to `jas_free'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iJp2WriteStream':(.text+0x9e5): undefined reference to `jas_free'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `Jp2ConvertData':(.text+0xb39): undefined reference to `jas_matrix_create'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `Jp2ConvertData':(.text+0xbba): undefined reference to `jas_stream_fillbuf'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `Jp2ConvertData':(.text+0xc50): undefined reference to `jas_image_writecmpt'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `Jp2ConvertData':(.text+0xc7e): undefined reference to `jas_stream_flush'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `Jp2ConvertData':(.text+0xc99): undefined reference to `jas_matrix_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xce6): undefined reference to `jas_init'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xdfd): undefined reference to `jas_image_create'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xedc): undefined reference to `jas_stream_memopen'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf06): undefined reference to `jas_image_strtofmt'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf15): undefined reference to `jas_image_encode'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf21): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf29): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf33): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf3b): undefined reference to `jas_image_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf62): undefined reference to `jas_stream_flush'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf6a): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf72): undefined reference to `jas_stream_close'../../../extern/devil/lib/libIL.a(libIL_la-il_jp2.o): In function `iSaveJp2Internal':(.text+0xf7a): undefined reference to `jas_image_destroy'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x3b): undefined reference to `nvtt::InputOptions::InputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x51): undefined reference to `nvtt::InputOptions::setTextureLayout(nvtt::TextureType, int, int, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x73): undefined reference to `nvtt::InputOptions::setMipmapData(void const*, int, int, int, int, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x83): undefined reference to `nvtt::InputOptions::setMipmapGeneration(bool, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x8c): undefined reference to `nvtt::OutputOptions::OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x114): undefined reference to `nvtt::OutputOptions::setOutputHeader(bool)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x121): undefined reference to `nvtt::OutputOptions::setOutputHandler(nvtt::OutputHandler*)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x137): undefined reference to `nvtt::CompressionOptions::CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x164): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x181): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x191): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1aa): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1bf): undefined reference to `nvtt::Compressor::Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1d4): undefined reference to `nvtt::Compressor::process(nvtt::InputOptions const&, nvtt::CompressionOptions const&, nvtt::OutputOptions const&) const'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1e6): undefined reference to `nvtt::Compressor::~Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1ef): undefined reference to `nvtt::CompressionOptions::~CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x1f8): undefined reference to `nvtt::OutputOptions::~OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x201): undefined reference to `nvtt::InputOptions::~InputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x224): undefined reference to `nvtt::Compressor::~Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x235): undefined reference to `nvtt::CompressionOptions::~CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x246): undefined reference to `nvtt::OutputOptions::~OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXT':(.text+0x257): undefined reference to `nvtt::InputOptions::~InputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x2aa): undefined reference to `nvtt::InputOptions::InputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x2bf): undefined reference to `nvtt::InputOptions::setTextureLayout(nvtt::TextureType, int, int, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x2e0): undefined reference to `nvtt::InputOptions::setMipmapData(void const*, int, int, int, int, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x2f0): undefined reference to `nvtt::InputOptions::setMipmapGeneration(bool, int)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x2f9): undefined reference to `nvtt::OutputOptions::OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x30c): undefined reference to `nvtt::OutputOptions::setOutputHeader(bool)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x319): undefined reference to `nvtt::OutputOptions::setOutputHandler(nvtt::OutputHandler*)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x322): undefined reference to `nvtt::CompressionOptions::CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x34b): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x375): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x385): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x39e): undefined reference to `nvtt::CompressionOptions::setFormat(nvtt::Format)'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3b3): undefined reference to `nvtt::Compressor::Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3c8): undefined reference to `nvtt::Compressor::process(nvtt::InputOptions const&, nvtt::CompressionOptions const&, nvtt::OutputOptions const&) const'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3dc): undefined reference to `nvtt::Compressor::~Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3e5): undefined reference to `nvtt::CompressionOptions::~CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3ee): undefined reference to `nvtt::OutputOptions::~OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x3fa): undefined reference to `nvtt::InputOptions::~InputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x41a): undefined reference to `nvtt::Compressor::~Compressor()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x42b): undefined reference to `nvtt::CompressionOptions::~CompressionOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x43c): undefined reference to `nvtt::OutputOptions::~OutputOptions()'../../../extern/devil/lib/libIL.a(libIL_la-il_nvidia.o): In function `ilNVidiaCompressDXTFile':(.text+0x44d): undefined reference to `nvtt::InputOptions::~InputOptions()'../../../extern/devil/lib/libpng.a(pngrutil.o): In function `png_inflate_claim':(.text+0x1704): undefined reference to `inflateReset2'c++: error: linker command failed with exit code 1 (use -v to see invocation)gmake: *** [Makefile:242: /usr/Source/source/game/game] Error 1

 

CC = c++CFLAGS += -w -O2 -ggdb3 -g3 -std=c++11 -pipe -mtune=i386 -fstack-protector -static -mcmodel=largeTARGET =/usr/Source/source/game/game ############# libgame libs and includesINCDIR += -I../../libgame/srcLIBDIR += -L../../libgameLIBS += -lgame ############# libpoly libs and includesINCDIR += -I../../libpoly/srcLIBDIR += -L../../libpolyLIBS += -lpoly ############# libsql libs and includesINCDIR += -I../../libsql/srcLIBDIR += -L../../libsqlLIBS += -lsql ############# libthecore libs and includesINCDIR += -I../../libthecore/srcLIBDIR += -L../../libthecoreLIBS += -lthecore ############# mysql libs and includesINCDIR += -I../../../extern/mysqlLIBDIR += -L../../../extern/mysql/libLIBS += -lmysqlclient -lz -pthread -lm ############# lua libs and includesINCDIR += -I../../../extern/luaLIBDIR += -L../../../extern/lua/libLIBS += -llua ############# boost libs and includesINCDIR += -I../../../extern/boostLIBDIR += -L../../../extern/boost/libLIBS += -lboost_system ############# minilzo libs and includesINCDIR += -I../../../extern/minilzoLIBDIR += -L../../../extern/minilzo/libLIBS += -lminilzo -lmd ############# devIl libs and includesINCDIR += -I../../../extern/devilLIBDIR += -L../../../extern/devil/libLIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg -ljbig -llzma ############# Source filesCPP=affect.cpp\ani.cpp\arena.cpp\banword.cpp\battle.cpp\BattleArena.cpp\blend_item.cpp\BlueDragon.cpp\BlueDragon_Binder.cpp\buff_on_attributes.cpp\buffer_manager.cpp\building.cpp\char.cpp\char_affect.cpp\char_battle.cpp\char_change_empire.cpp\char_dragonsoul.cpp\char_horse.cpp\char_item.cpp\char_manager.cpp\char_quickslot.cpp\char_resist.cpp\char_skill.cpp\char_state.cpp\cmd.cpp\cmd_emotion.cpp\cmd_general.cpp\cmd_gm.cpp\cmd_oxevent.cpp\config.cpp\constants.cpp\crc32.cpp\cube.cpp\db.cpp\desc.cpp\desc_client.cpp\desc_manager.cpp\desc_p2p.cpp\dragon_soul_table.cpp\DragonLair.cpp\DragonSoul.cpp\dungeon.cpp\empire_text_convert.cpp\entity.cpp\entity_view.cpp\event.cpp\event_queue.cpp\exchange.cpp\file_loader.cpp\fishing.cpp\FSM.cpp\gm.cpp\group_text_parse_tree.cpp\guild.cpp\guild_manager.cpp\guild_war.cpp\horse_rider.cpp\horsename_manager.cpp\input.cpp\input_auth.cpp\input_db.cpp\input_login.cpp\input_main.cpp\input_p2p.cpp\item.cpp\item_addon.cpp\item_attribute.cpp\item_manager.cpp\item_manager_idrange.cpp\item_manager_read_tables.cpp\locale.cpp\locale_service.cpp\log.cpp\login_data.cpp\lzo_manager.cpp\main.cpp\map_location.cpp\MarkConvert.cpp\MarkImage.cpp\MarkManager.cpp\marriage.cpp\messenger_manager.cpp\mining.cpp\mob_manager.cpp\motion.cpp\OXEvent.cpp\p2p.cpp\packet_info.cpp\party.cpp\PetSystem.cpp\polymorph.cpp\priv_manager.cpp\pvp.cpp\questevent.cpp\questlua.cpp\questlua_affect.cpp\questlua_arena.cpp\questlua_battleArena.cpp\questlua_building.cpp\questlua_danceevent.cpp\questlua_dragonlair.cpp\questlua_dragonsoul.cpp\questlua_dungeon.cpp\questlua_game.cpp\questlua_global.cpp\questlua_guild.cpp\questlua_horse.cpp\questlua_item.cpp\questlua_marriage.cpp\questlua_npc.cpp\questlua_oxevent.cpp\questlua_party.cpp\questlua_pc.cpp\questlua_pet.cpp\questlua_quest.cpp\questlua_target.cpp\questmanager.cpp\questnpc.cpp\questpc.cpp\refine.cpp\regen.cpp\safebox.cpp\sectree.cpp\sectree_manager.cpp\shop.cpp\shop_manager.cpp\skill.cpp\skill_power.cpp\start_position.cpp\target.cpp\text_file_loader.cpp\TrafficProfiler.cpp\trigger.cpp\utils.cpp\vector.cpp\war_map.cpp\wedding.cpp\xmas_event.cpp\###############################################################################CPPOBJS = $(CPP:%.cpp=$(OBJDIR)/%.o) OBJDIR = .obj$(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) default: $(TARGET) clean:@echo Clean done!@find . -type f | xargs -n 5 touch@rm -rf $(OBJDIR)@rm -rf $(TARGET) $(OBJDIR)/%.o: %.cpp@echo compile $<@$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ $(TARGET): $(CPPOBJS)@echo linking....@$(CC) $(CFLAGS) $(LIBDIR) $(CPPOBJS) $(LIBS) -o $(TARGET)

libdevil.rar

libdevil.rar

Link to comment
  • 2 weeks later...

 

Como dito no erro, a tua lib devil não contêm algumas referências.

Deves para tal compilar a tua versão da libdevil (podes utilizar a src da lib aqui do forum ou da mainline).

 

A lib não deve ser 64bits?

 

Eu recebi este erro ao pegar a libdevil da mainline ou a que veio na source

 

 

 

linking....

/usr/bin/ld: skipping incompatible ../../libdevil/libIL.a when searching for -lIL

/usr/bin/ld: cannot find -lIL

c++: error: linker command failed with exit code 1 (use -v to see invocation)

gmake: *** [Makefile:209: /usr/Source/source/game/game] Error 1

 

 

 

Link to comment
  • 2 weeks later...

 

Como dito no erro, a tua lib devil não contêm algumas referências.

Deves para tal compilar a tua versão da libdevil (podes utilizar a src da lib aqui do forum ou da mainline).

 

 

 

Tens de voltar a compilar a lib devil

 

como compilo? vc poderia deixa a src dela por aqui? vlw

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...