JorJe3 9 Posted July 9, 2021 Share Posted July 9, 2021 Spoiler gmake: Warning: File 'stdafx.h' has modification time 210458 s in the future [ COMPILING ] Config.cpp [ COMPILING ] NetBase.cpp [ COMPILING ] Peer.cpp [ COMPILING ] PeerBase.cpp [ COMPILING ] Main.cpp In file included from NetBase.cpp:4: ./ClientManager.h [ COMPILING ] Lock.cpp :314:31: error: unknown type name 'TPacketShopName'In file included from Main.cpp void ShopName(CPeer * peer, TPacketShopName* p);: 5: ^ ./ClientManager.h:314: [ COMPILING ] DBManager.cpp ./ClientManager.h31::315 :32:error : errorunknown type name 'TPacketShopName': void ShopName(CPeer * peer, TPacketShopName* p);unknown type name 'TPacketShopClose' ^ void ShopClose(CPeer * peer, TPacketShopClose* p); ^./ClientManager.h :315:./ClientManager.h32::316 :37:error : errorunknown type name 'TPacketShopClose': void ShopClose(CPeer * peer, TPacketShopClose* p);unknown type name 'TPacketShopUpdateItem' ^ void ShopUpdateItem(CPeer * peer, TPacketShopUpdateItem* p); ^./ClientManager.h :316:37:In file included from 3 errorserror generated: . gmake: *** [Makefile:96: OBJDIR/NetBase.o] Error 1 gmake: *** Waiting for unfinished jobs.... DBManager.cppunknown type name 'TPacketShopUpdateItem' void ShopUpdateItem(CPeer * peer, TPacketShopUpdateItem* p); ^ ./ClientManager.h:314:313: error s generated. errorgmake: *** [Makefile:96: OBJDIR/Main.o] Error 1 : unknown type name 'TPacketShopName' void ShopName(CPeer * peer, TPacketShopName* p); ^ ./ClientManager.h:315:32: error: unknown type name 'TPacketShopClose' void ShopClose(CPeer * peer, TPacketShopClose* p); ^ ./ClientManager.h:316:37: error: unknown type name 'TPacketShopUpdateItem' void ShopUpdateItem(CPeer * peer, TPacketShopUpdateItem* p); ^ 3 errors generated. gmake: *** [Makefile:96: OBJDIR/DBManager.o] Error 1 [ DB ] [ DB REQUEST FAILED ] I am trying to implement great offline shop and I have this error while trying to compile db Anyone knows why? 1 Link to comment Share on other sites More sharing options...
JorJe3 9 Posted July 10, 2021 Author Share Posted July 10, 2021 I tried something and somehow worked but now I get this at the end of compiling Spoiler ld: error: undefined symbol: do_hair(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) ld: error: undefined symbol: do_inventory(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) ld: error: undefined symbol: CShop::BuyFromGlass(CHARACTER*, CHARACTER*, unsigne d char) >>> referenced by shop.cpp >>> OBJDIR/shop.o:(vtable for CShop) >>> referenced by shopEx.cpp >>> OBJDIR/shopEx.o:(vtable for CShopEx) clang++: error: linker command failed with exit code 1 (use -v to see invocation ) gmake: *** [Makefile:263: ../../../output/game_stripped] Error 1 gmake: *** Waiting for unfinished jobs.... ld: error: undefined symbol: do_hair(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) ld: error: undefined symbol: do_inventory(CHARACTER*, char const*, int, int) >>> referenced by cmd.cpp >>> OBJDIR/cmd.o:(cmd_info) ld: error: undefined symbol: CShop::BuyFromGlass(CHARACTER*, CHARACTER*, unsigne d char) >>> referenced by shop.cpp >>> OBJDIR/shop.o:(vtable for CShop) >>> referenced by shopEx.cpp >>> OBJDIR/shopEx.o:(vtable for CShopEx) clang++: error: linker command failed with exit code 1 (use -v to see invocation ) gmake: *** [Makefile:259: ../../../output/game_debug] Error 1 [ GAME ] [ GAME REQUEST FAILED ] Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now