Page 1 of 1

DWARF issue when compiling new versions of apps

Posted: Sun Aug 18, 2013 12:31 pm
by askray
So since I'm finally home (yay to long work runs :roll: ) I was going to try and do what was suggested in viewtopic.php?f=14&t=1476 to help with clients hanging on downloading data only to get this error now -

(Note: CentOS 6 32 bit is the OS)

Code: Select all

g++ -std=gnu++0x  -g -O2   -o dsgame  dsgame-blowfish.o dsgame-DetourAlloc.o dsgame-DetourCommon.o dsgame-DetourNavMesh.o dsgame-DetourNavMeshBuilder.o dsgame-DetourNavMeshQuery.o dsgame-DetourNode.o dsgame-kernel.o dsgame-malloc.o dsgame-md52.o dsgame-showmsg.o dsgame-socket.o dsgame-sql.o dsgame-strlib.o dsgame-taskmgr.o dsgame-timer.o dsgame-utils.o dsgame-zlib.o dsgame-ability.o dsgame-ai_char_gm.o dsgame-ai_char_normal.o dsgame-ai_char_prisoner.o dsgame-ai_general.o dsgame-ai_mob_dummy.o dsgame-ai_npc_dummy.o dsgame-ai_pet_dummy.o dsgame-pathfind.o dsgame-targetfind.o dsgame-ability_state.o dsgame-attack_state.o dsgame-item_state.o dsgame-magic_state.o dsgame-mobskill_state.o dsgame-range_state.o dsgame-state.o dsgame-weaponskill_state.o dsgame-alliance.o dsgame-blue_spell.o dsgame-blue_trait.o dsgame-commandhandler.o dsgame-conquest_system.o dsgame-enmity_container.o dsgame-baseentity.o dsgame-battleentity.o dsgame-charentity.o dsgame-mobentity.o dsgame-npcentity.o dsgame-petentity.o dsgame-grades.o dsgame-instance.o dsgame-instance_handler.o dsgame-item.o dsgame-item_armor.o dsgame-item_currency.o dsgame-item_fish.o dsgame-item_furnishing.o dsgame-item_general.o dsgame-item_linkshell.o dsgame-item_puppet.o dsgame-item_shop.o dsgame-item_usable.o dsgame-item_weapon.o dsgame-item_container.o dsgame-latent_effect.o dsgame-latent_effect_container.o dsgame-linkshell.o dsgame-luautils.o dsgame-lua_ability.o dsgame-lua_baseentity.o dsgame-lua_instance.o dsgame-lua_mobskill.o dsgame-lua_region.o dsgame-lua_spell.o dsgame-lua_statuseffect.o dsgame-lua_trade_container.o dsgame-lua_zone.o dsgame-map.o dsgame-merit.o dsgame-mobskill.o dsgame-mob_spell_container.o dsgame-mob_spell_list.o dsgame-modifier.o dsgame-navmesh.o dsgame-action.o dsgame-auction_house.o dsgame-basic.o dsgame-bazaar_confirmation.o dsgame-bazaar_purchase.o dsgame-bazaar_check.o dsgame-bazaar_close.o dsgame-bazaar_item.o dsgame-bazaar_message.o dsgame-campaing_map.o dsgame-caught_fish.o dsgame-char.o dsgame-char_abilities.o dsgame-char_appearance.o dsgame-char_check.o dsgame-char_emotion.o dsgame-char_equip.o dsgame-char_health.o dsgame-char_job_extra.o dsgame-char_jobs.o dsgame-char_skills.o dsgame-char_spells.o dsgame-char_stats.o dsgame-char_sync.o dsgame-char_update.o dsgame-chat_message.o dsgame-chocobo_digging.o dsgame-chocobo_music.o dsgame-conquest_map.o dsgame-cs_position.o dsgame-delivery_box.o dsgame-downloading_data.o dsgame-entity_update.o dsgame-event.o dsgame-event_update.o dsgame-fade_out.o dsgame-fishing.o dsgame-guild_menu.o dsgame-guild_menu_buy.o dsgame-guild_menu_sell.o dsgame-guild_menu_buy_update.o dsgame-guild_menu_sell_update.o dsgame-inventory_assign.o dsgame-inventory_finish.o dsgame-inventory_item.o dsgame-inventory_modify.o dsgame-inventory_size.o dsgame-key_items.o dsgame-linkshell_message.o dsgame-linkshell_equip.o dsgame-lock_on.o dsgame-menu_config.o dsgame-menu_merit.o dsgame-menu_mog.o dsgame-menu_raisetractor.o dsgame-merit_points_categories.o dsgame-message_basic.o dsgame-message_debug.o dsgame-message_special.o dsgame-message_standard.o dsgame-message_system.o dsgame-message_text.o dsgame-send_box.o dsgame-trade_action.o dsgame-trade_item.o dsgame-trade_request.o dsgame-trade_update.o dsgame-world_pass.o dsgame-party_define.o dsgame-party_invite.o dsgame-party_map.o dsgame-party_member_update.o dsgame-party_search.o dsgame-pet_sync.o dsgame-position.o dsgame-quest_mission_log.o dsgame-release.o dsgame-server_ip.o dsgame-server_message.o dsgame-shop_appraise.o dsgame-shop_buy.o dsgame-shop_items.o dsgame-shop_menu.o dsgame-stop_downloading.o dsgame-synth_animation.o dsgame-synth_message.o dsgame-treasure_find_item.o dsgame-treasure_lot_item.o dsgame-uncnown_39.o dsgame-weather.o dsgame-wide_scan.o dsgame-wide_scan_track.o dsgame-zone_in.o dsgame-zone_visited.o dsgame-packet_system.o dsgame-party.o dsgame-recast_container.o dsgame-region.o dsgame-spell.o dsgame-status_effect.o dsgame-status_effect_container.o dsgame-time_server.o dsgame-trade_container.o dsgame-trait.o dsgame-transport.o dsgame-treasure_pool.o dsgame-universal_container.o dsgame-battleutils.o dsgame-blueutils.o dsgame-charutils.o dsgame-fishingutils.o dsgame-guildutils.o dsgame-instanceutils.o dsgame-itemutils.o dsgame-jailutils.o dsgame-mobutils.o dsgame-petutils.o dsgame-synthutils.o dsgame-zoneutils.o dsgame-vana_time.o dsgame-weapon_skill.o dsgame-zone.o   -llua  -lmysqlclient -ldl  -lrt -lm
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information.
dsgame-lua_baseentity.o: In function `CLuaBaseEntity::unlockAttachment(lua_State*)':
lua_baseentity.cpp:(.text._ZN14CLuaBaseEntity16unlockAttachmentEP9lua_State[_ZN14CLuaBaseEntity16unlockAttachmentEP9lua_State]+0x31): undefined reference to `puppetutils::UnlockAttachment(CCharEntity*, CItem*)'
dsgame-lua_baseentity.o: In function `CLuaBaseEntity::startEventString(lua_State*)':
lua_baseentity.cpp:(.text._ZN14CLuaBaseEntity16startEventStringEP9lua_State[_ZN14CLuaBaseEntity16startEventStringEP9lua_State]+0x2cb): undefined reference to `CEventStringPacket::CEventStringPacket(CCharEntity*, unsigned short, std::string, std::string, std::string, std::string, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only handles version 2 information.
dsgame-charutils.o: In function `charutils::LoadChar(CCharEntity*)':
charutils.cpp:(.text+0x7a3c): undefined reference to `puppetutils::LoadAutomaton(CCharEntity*)'
collect2: error: ld returned 1 exit status
make: *** [dsgame] Error 1
Code is stock besides the dssearch7 patch and nothing's changed on the server since then so I'm outta ideas on how to deal with this new issue :(

Re: DWARF issue when compiling new versions of apps

Posted: Tue Aug 20, 2013 3:13 pm
by askray
Got it working. Just deleted the entire svn and redownloaded it. Dunno why I didn't try this in the first place lol.