Problema titlu system

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

*Problemă: Când compilez sursa îmi apare eroarea aia...
Tipologie server:-
*Resursă folosită: *ServerFiles utilizat:-
*Syserr:
/usr/src/Sursa/Server/game/src/shop_manager.cpp:79: multiple definition of `CShopManager::Get(unsigned int)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:79: first defined here
.obj/shop_manager.o: In function `CompareShopItemName(SShopItemTable const&, SShopItemTable const&)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:387: multiple definition of `CompareShopItemName(SShopItemTable const&, SShopItemTabl e const&)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:387: first defined here
.obj/shop_manager.o: In function `CShopManager::StopShopping(CHARACTER*)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:191: multiple definition of `CShopManager::StopShopping(CHARACTER*)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:191: first defined here
.obj/shop_manager.o: In function `CShopManager::Destroy()':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:66: multiple definition of `CShopManager::Destroy()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:66: first defined here
.obj/shop_manager.o: In function `CShopManager::Sell(CHARACTER*, unsigned char, unsigned char)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:270: multiple definition of `CShopManager::Sell(CHARACTER*, unsigned char, unsigned c har)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:270: first defined here
.obj/shop_manager.o: In function `CShopManager::Buy(CHARACTER*, unsigned char)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:207: multiple definition of `CShopManager::Buy(CHARACTER*, unsigned char)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:207: first defined here
.obj/shop_manager.o: In function `CShopManager::FindPCShop(unsigned int)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:152: multiple definition of `CShopManager::FindPCShop(unsigned int)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:152: first defined here
.obj/shop_manager.o: In function `CShopManager::DestroyPCShop(CHARACTER*)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:175: multiple definition of `CShopManager::DestroyPCShop(CHARACTER*)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:175: first defined here
.obj/shop_manager.o: In function `CShopManager::GetByNPCVnum(unsigned int)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:89: multiple definition of `CShopManager::GetByNPCVnum(unsigned int)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:89: first defined here
.obj/shop_manager.o: In function `CShopManager::StartShopping(CHARACTER*, CHARACTER*, int)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:104: multiple definition of `CShopManager::StartShopping(CHARACTER*, CHARACTER*, int) '
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:104: first defined here
.obj/shop_manager.o: In function `~CShopManager':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: first defined here
.obj/shop_manager.o: In function `CShopManager':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:29: multiple definition of `CShopManager::CShopManager()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:29: first defined here
.obj/shop_manager.o: In function `CShopManager':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:29: multiple definition of `CShopManager::CShopManager()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:29: first defined here
.obj/shop_manager.o: In function `~CShopManager':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: first defined here
.obj/shop_manager.o: In function `~CShopManager':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: multiple definition of `CShopManager::~CShopManager()'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:33: first defined here
.obj/shop_manager.o: In function `CShopManager::CreatePCShop(CHARACTER*, SShopItemTable*, unsigned char)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:162: multiple definition of `CShopManager::CreatePCShop(CHARACTER*, SShopItemTable*, unsigned char)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:162: first defined here
.obj/shop_manager.o: In function `ConvertToShopItemTable(CGroupNode*, SShopTableEx&)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:397: multiple definition of `ConvertToShopItemTable(CGroupNode*, SShopTableEx&)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:397: first defined here
.obj/shop_manager.o: In function `CShopManager::ReadShopTableEx(char const*)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:510: multiple definition of `CShopManager::ReadShopTableEx(char const*)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:510: first defined here
.obj/shop_manager.o: In function `CShopManager::Initialize(SShopTable*, int)':
/usr/src/Sursa/Server/game/src/shop_manager.cpp:38: multiple definition of `CShopManager::Initialize(SShopTable*, int)'
.obj/shop_manager.o:/usr/src/Sursa/Server/game/src/shop_manager.cpp:38: first defined here
.obj/shopEx.o: In function `CShopEx::Create(unsigned int, unsigned int)':
/usr/src/Sursa/Server/game/src/shopEx.cpp:25: multiple definition of `CShopEx::Create(unsigned int, unsigned int)'
.obj/shopEx.o:/usr/src/Sursa/Server/game/src/shopEx.cpp:25: first defined here
.obj/shopEx.o: In function `CShopEx::Buy(CHARACTER*, unsigned char)':
/usr/src/Sursa/Server/game/src/shopEx.cpp:123: multiple definition of `CShopEx::Buy(CHARACTER*, unsigned char)'
.obj/shopEx.o:/usr/src/Sursa/Server/game/src/shopEx.cpp:123: first defined here
.obj/shopEx.o: In function `CShopEx::AddGuest(CHARACTER*, unsigned int, bool)':
/usr/src/Sursa/Server/game/src/shopEx.cpp:46: multiple definition of `CShopEx::AddGuest(CHARACTER*, unsigned int, bool)'
.obj/shopEx.o:/usr/src/Sursa/Server/game/src/shopEx.cpp:46: first defined here
.obj/shopEx.o: In function `CShopEx::AddShopTable(SShopTableEx&)':
/usr/src/Sursa/Server/game/src/shopEx.cpp:32: multiple definition of `CShopEx::AddShopTable(SShopTableEx&)'
.obj/shopEx.o:/usr/src/Sursa/Server/game/src/shopEx.cpp:32: first defined here
.obj/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'
.obj/item_manager_read_tables.o:/usr/include/c++/4.2/bits/gthr-default.h:165: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadItemVnumMaskTable(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:904: multiple definition of `ITEM_MANAGER::ReadItemVnumMaskTable(char con st*)'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:904: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadEtcDropItemFile(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:439: multiple definition of `ITEM_MANAGER::ReadEtcDropItemFile(char const *)'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:439: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadCommonDropItemFile(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:25: multiple definition of `ITEM_MANAGER::ReadCommonDropItemFile(char con st*)'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:25: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ConvSpecialDropItemFile()':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:312: multiple definition of `ITEM_MANAGER::ConvSpecialDropItemFile()'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:312: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadSpecialDropItemFile(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:120: multiple definition of `ITEM_MANAGER::ReadSpecialDropItemFile(char c onst*)'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:120: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadMonsterDropItemGroup(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:492: multiple definition of `ITEM_MANAGER::ReadMonsterDropItemGroup(char const*)'
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:492: first defined here
.obj/item_manager_read_tables.o: In function `ITEM_MANAGER::ReadDropItemGroup(char const*)':
/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:800: multiple definition of `ITEM_MANAGER::ReadDropItemGroup(char const*) '
.obj/item_manager_read_tables.o:/usr/src/Sursa/Server/game/src/item_manager_read_tables.cpp:800: first defined here
Poză:-
*Detalii suplimentare:
Nu mă doare mâna să dau (y)
Avatar utilizator
Bughy
Ţepar / Untrusted User

Ţepar / Untrusted User
Mesaje: 431
Membru din: 10 Apr 2018, 22:33
Server: Toate =))
Regat: Jinno
Aprecieri: 62  
Mulţumiri: 51  
 Contact:
Medalii

Ai functiile definite de mai multe ori
Imagine
Daca te-am ajutat lasa un like :) B-) :ymhug: ;)
Afișează semnătura
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

Toată chestia e că nu am modificat nimic pe acolo.
Avatar utilizator
darak.darak2
Nivel 2

Nivel 2
Mesaje: 222
Membru din: 17 Feb 2017, 22:53
Server: www.kor2.ro
Regat: Chunjo
Aprecieri: 7  
Mulţumiri: 19  
 Contact:
Medalii

Ia tot systemu de la capat..
Imagine


Imagine
Afișează semnătura
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

Am făcut asta de 3 ori.
Aveți voi altă resursă?
Avatar utilizator
darak.darak2
Nivel 2

Nivel 2
Mesaje: 222
Membru din: 17 Feb 2017, 22:53
Server: www.kor2.ro
Regat: Chunjo
Aprecieri: 7  
Mulţumiri: 19  
 Contact:
Medalii

gubigubi scrie:Am făcut asta de 3 ori.
Aveți voi altă resursă?

am eu dar ti-o dau in 30 40 de minute.
Imagine


Imagine
Afișează semnătura
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

Am greșit o linie la makefile. Trebuia să pun doar title.cpp
Avatar utilizator
[Alexu_Work]
Utilizator interzis !

Utilizator interzis !
Mesaje: 666
Membru din: 27 Mai 2015, 15:18
Server: Hypnos2
Regat: Jinno
Aprecieri: 69  
Mulţumiri: 244  
 Contact:
Medalii

Rezolvat .
T/c

[ Postat de pe iPhone ] Imagine
Închis
Răspunsuri
7
Vizualizări
537
Răspunsuri
9
Vizualizări
697
Răspunsuri
8
Vizualizări
732
Răspunsuri
7
Vizualizări
1151

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Baidu [Spider], Bing [Bot] și 66 vizitatori