Jump to content

Recommended Posts

Hey,

I have a problem I tried to install the offline shop on my server every things work fine until I start doing the src/game part I tried every things I could to fix it until i give up to ask your help. Because I don't understand why it's not working, everything work fine in the compilation until it start linking the game then 

This happen :

 

Spoiler

linking ../game_r40250_32....
OBJDIR/shop_manager.o: In function `CShopManager::Destroy()':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:66: multiple definition of `CShopManager::Destroy()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:66: first defined here
OBJDIR/shop_manager.o: In function `CompareShopItemName(SShopItemTable const&, SShopItemTable const&)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:377: multiple definition of `CompareShopItemName(SShopItemTable const&, SShopItemTable const&)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:377: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::StopShopping(CHARACTER*)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:191: multiple definition of `CShopManager::StopShopping(CHARACTER*)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:191: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::Sell(CHARACTER*, unsigned char, unsigned char)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:258: multiple definition of `CShopManager::Sell(CHARACTER*, unsigned char, unsigned char)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:258: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::Buy(CHARACTER*, unsigned char)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:207: multiple definition of `CShopManager::Buy(CHARACTER*, unsigned char)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:207: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::FindPCShop(unsigned int)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:152: multiple definition of `CShopManager::FindPCShop(unsigned int)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:152: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::DestroyPCShop(CHARACTER*)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:175: multiple definition of `CShopManager::DestroyPCShop(CHARACTER*)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:175: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::CreatePCShop(CHARACTER*, SShopItemTable*, unsigned char)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:162: multiple definition of `CShopManager::CreatePCShop(CHARACTER*, SShopItemTable*, unsigned char)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:162: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::GetByNPCVnum(unsigned int)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:89: multiple definition of `CShopManager::GetByNPCVnum(unsigned int)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:89: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::Get(unsigned int)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:79: multiple definition of `CShopManager::Get(unsigned int)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:79: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::StartShopping(CHARACTER*, CHARACTER*, int)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:104: multiple definition of `CShopManager::StartShopping(CHARACTER*, CHARACTER*, int)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:104: first defined here
OBJDIR/shop_manager.o: In function `~CShopManager':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: first defined here
OBJDIR/shop_manager.o: In function `CShopManager':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:29: multiple definition of `CShopManager::CShopManager()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:29: first defined here
OBJDIR/shop_manager.o: In function `CShopManager':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:29: multiple definition of `CShopManager::CShopManager()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:29: first defined here
OBJDIR/shop_manager.o: In function `~CShopManager':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: first defined here
OBJDIR/shop_manager.o: In function `~CShopManager':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:33: first defined here
OBJDIR/shop_manager.o: In function `ConvertToShopItemTable(CGroupNode*, SShopTableEx&)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:387: multiple definition of `ConvertToShopItemTable(CGroupNode*, SShopTableEx&)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:387: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::ReadShopTableEx(char const*)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:500: multiple definition of `CShopManager::ReadShopTableEx(char const*)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:500: first defined here
OBJDIR/shop_manager.o: In function `CShopManager::Initialize(SShopTable*, int)':
/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:38: multiple definition of `CShopManager::Initialize(SShopTable*, int)'
OBJDIR/shop_manager.o:/usr/src/mainline/Srcs/Server/game/src/shop_manager.cpp:38: first defined here
OBJDIR/shopEx.o: In function `CShopEx::Create(unsigned int, unsigned int)':
/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:25: multiple definition of `CShopEx::Create(unsigned int, unsigned int)'
OBJDIR/shopEx.o:/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:25: first defined here
OBJDIR/shopEx.o: In function `CShopEx::Buy(CHARACTER*, unsigned char)':
/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:116: multiple definition of `CShopEx::Buy(CHARACTER*, unsigned char)'
OBJDIR/shopEx.o:/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:116: first defined here
OBJDIR/shopEx.o: In function `CShopEx::AddGuest(CHARACTER*, unsigned int, bool)':
/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:46: multiple definition of `CShopEx::AddGuest(CHARACTER*, unsigned int, bool)'
OBJDIR/shopEx.o:/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:46: first defined here
OBJDIR/shopEx.o: In function `CShopEx::AddShopTable(SShopTableEx&)':
/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:32: multiple definition of `CShopEx::AddShopTable(SShopTableEx&)'
OBJDIR/shopEx.o:/usr/src/mainline/Srcs/Server/game/src/shopEx.cpp:32: first defined here
OBJDIR/item_manager_read_tables.o: In function `__gthread_trigger':
/usr/include/c++/4.2/bits/gthr-default.h:165: multiple definition of `g_vec_pkCommonDropItem'
OBJDIR/item_manager_read_tables.o:/usr/include/c++/4.2/bits/gthr-default.h:165: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadItemVnumMaskTable(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:904: multiple definition of `ITEM_MANAGER::ReadItemVnumMaskTable(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:904: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadEtcDropItemFile(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:430: multiple definition of `ITEM_MANAGER::ReadEtcDropItemFile(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:430: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadCommonDropItemFile(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:25: multiple definition of `ITEM_MANAGER::ReadCommonDropItemFile(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:25: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ConvSpecialDropItemFile()':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:306: multiple definition of `ITEM_MANAGER::ConvSpecialDropItemFile()'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:306: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadSpecialDropItemFile(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:120: multiple definition of `ITEM_MANAGER::ReadSpecialDropItemFile(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:120: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadDropItemGroup(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:800: multiple definition of `ITEM_MANAGER::ReadDropItemGroup(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:800: first defined here
OBJDIR/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadMonsterDropItemGroup(char const*)':
/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:483: multiple definition of `ITEM_MANAGER::ReadMonsterDropItemGroup(char const*)'
OBJDIR/item_manager_read_tables.o:/usr/src/mainline/Srcs/Server/game/src/item_manager_read_tables.cpp:483: first defined here
gmake: *** [../game_r40250_32] Error 1
 

If someone could help me It would be nice...  

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.