Guten Tag,
Ich habe den Offshop von Revoot bzw. von Great eingebaut und erhalte beim Compilen der Game folgenden fehler:
Code
- linking....
- .obj/char.o: In function `CHARACTER::Destroy()':
- /root/Source/Source/Server/game/src/char.cpp:458: undefined reference to `CShop::RemoveGuest(CHARACTER*)'
- .obj/char.o: In function `CHARACTER::Disconnect(char const*)':
- /root/Source/Source/Server/game/src/char.cpp:1317: undefined reference to `CShop::RemoveGuest(CHARACTER*)'
- .obj/char.o: In function `CHARACTER::UpdateShopItems()':
- /root/Source/Source/Server/game/src/char.cpp:8269: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- /root/Source/Source/Server/game/src/char.cpp:8269: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- /root/Source/Source/Server/game/src/char.cpp:8269: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- /root/Source/Source/Server/game/src/char.cpp:8269: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- /root/Source/Source/Server/game/src/char.cpp:8269: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- .obj/char.o:/root/Source/Source/Server/game/src/char.cpp:8269: more undefined references to `CShop::BroadcastUpdateItem(unsigned char)' follow
- .obj/shop.o: In function `CShop::~CShop()':
- /root/Source/Source/Server/game/src/shop.cpp:39: undefined reference to `CShop::Broadcast(void const*, int)'
- .obj/shop.o: In function `CShop::Buy(CHARACTER*, unsigned char)':
- /root/Source/Source/Server/game/src/shop.cpp:345: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- .obj/shop.o: In function `CShop::ClearItems()':
- /root/Source/Source/Server/game/src/shop.cpp:445: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- .obj/shop.o: In function `CShop::GetItems()':
- /root/Source/Source/Server/game/src/shop.cpp:497: undefined reference to `CShop::BroadcastUpdateItem(unsigned char)'
- .obj/shop.o:(.rodata+0x10): undefined reference to `CShop::AddGuest(CHARACTER*, unsigned int, bool)'
- .obj/shop.o:(.rodata+0x18): undefined reference to `CShop::IsSellingItem(unsigned int)'
- .obj/shop_manager.o: In function `CShopManager::StopShopping(CHARACTER*)':
- /root/Source/Source/Server/game/src/shop_manager.cpp:351: undefined reference to `CShop::RemoveGuest(CHARACTER*)'
- c++: error: linker command failed with exit code 1 (use -v to see invocation)
- gmake: *** [Makefile:100: ../game] Error 1