dukaibalu1 39 Posted January 7, 2015 Share Posted January 7, 2015 (edited) Hello metin2dev Can someone help me to what to do in such cases? mysql55 server is installed dukaibalu1 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 7, 2015 Share Posted January 7, 2015 Open mainline_released /Server and delete libmysql After opening novaline / Server and copy libmysql back in mainline_Relased Recompile mainline_Released 2 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 7, 2015 Author Share Posted January 7, 2015 (edited) Thank You Reboot!!! And it would be another problem if I want to start my reverse gamefilet! FreeBSD 9.2 is installed dukaibalu1 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted January 7, 2015 Former Staff Share Posted January 7, 2015 (edited) search for this in make file LIBS += -lmysqlclient -lz and above it write this LIBDIR += -L/usr/local/lib/mysql this was for the first problem Edited January 7, 2015 by flygun Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted January 7, 2015 Former Staff Share Posted January 7, 2015 (edited) sorry double post Edited January 7, 2015 by flygun Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 7, 2015 Author Share Posted January 7, 2015 search for this in make file LIBS += -lmysqlclient -lz and above it write this LIBDIR += -L/usr/local/lib/mysql this was for the first problem This problem has been resolved. But thank you. I have written to our second problem dukaibalu1 Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 7, 2015 Share Posted January 7, 2015 search for this in make file LIBS += -lmysqlclient -lz and above it write this LIBDIR += -L/usr/local/lib/mysql this was for the first problem This is a shit-solving. 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 7, 2015 Author Share Posted January 7, 2015 Could you help me with another problem as well? dukaibalu1 Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 7, 2015 Share Posted January 7, 2015 Could you help me with another problem as well? dukaibalu1 Try on freebsd 10.1 to run you game. 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 7, 2015 Author Share Posted January 7, 2015 OK, I'll try tomorrow. Thanks for your help !! Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 (edited) This is problem!!! Freebsd 10.1 (i386) Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 (edited) This is problem!!! Freebsd 10.1 (i386) You not need to inlude openssl on you gamefile. Remove openssll from makefile game Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 (edited) Source compile problem!! FreeBSD 10.1 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 Open makefile search for : g++ and replace with : g++49 or g++48 Depend what gcc you have installed. 2 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 (edited) Open makefile search for : g++ and replace with : g++49 or g++48 Depend what gcc you have installed. g++48 Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 (edited) Open makefile search for : g++ and replace with : g++49 or g++48 Depend what gcc you have installed. g++48 Search in makefile game for all : -mcpu Replace all -mcpu with: -march Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 2 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 Thank you for your help Reboot! The source code is already turning! Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 Thank you for your help Reboot! The source code is already turning! Well, good luck. 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 (edited) new problem :/ Could you possibly help more? ../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 (edited) new problem :/ Could you possibly help more? Post full error as code. Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 gmake compile cipher.cpp In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7: ../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::ConstByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basic_string<char>]': ../../../Extern/include/cryptopp/filters.h:793:132: required from here ../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'cryptopp_assert_26' [-Wunused-variable] #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^ ../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRYPTOPP_DO_ASSERT_JOIN' #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y ^ ../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYPTOPP_ASSERT_JOIN' #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAssert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance) ^ ../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT_INSTANCE' #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, __LINE__) ^ ../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'CRYPTOPP_COMPILE_ASSERT' CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1); ^ In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7: ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]': ../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]' ../../../Extern/include/cryptopp/algparam.h:17:2: required from here ../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^ ../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup ../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]': ../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]' ../../../Extern/include/cryptopp/modes.h:63:34: required from here ../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup ../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]': ../../../Extern/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]' ../../../Extern/include/cryptopp/modarith.h:122:20: required from here ../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup ../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead In file included from ../../../Extern/include/cryptopp/modes.h:12:0, from cipher.cpp:7: ../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP::AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::RandomNumberGenerator*]': cipher.cpp:398:1: required from here ../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p' [-Wunused-variable] AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T>(*this); ^ In file included from ../../../Extern/include/cryptopp/modes.h:8:0, from cipher.cpp:7: ../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]': ../../../Extern/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]' ../../../Extern/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]' ../../../Extern/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTemplate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned char; size_t = unsigned int]' cipher.cpp:88:64: required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC5; byte = unsigned char; size_t = unsigned int]' cipher.cpp:398:1: required from here ../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] CheckSize(n); ^ ../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup ../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead In file included from ../../../Extern/include/cryptopp/secblock.h:7:0, from ../../../Extern/include/cryptopp/modes.h:8, from cipher.cpp:7: ../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function] static std::string StringNarrow(const wchar_t *str, bool throwOnError = true) ^ Makefile:133: recipe for target 'OBJDIR/cipher.o' failed gmake: *** [OBJDIR/cipher.o] Error 1 Link to comment Share on other sites More sharing options...
Reboot 772 Posted January 8, 2015 Share Posted January 8, 2015 Now put me to sleep, solve it tomorrow. Try this command to compile: gmake -j20 1 Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 Now put me to sleep, solve it tomorrow. Try this command to compile: gmake -j20 does not work Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 8, 2015 Author Share Posted January 8, 2015 linking ../game_r40250_32.... /usr/local/bin/ld: cannot find -lgtest collect2: error: ld returned 1 exit status Makefile:141: recipe for target '../game_r40250_32' failed gmake: *** [../game_r40250_32] Error 1 REPAIR Link to comment Share on other sites More sharing options...
dukaibalu1 39 Posted January 9, 2015 Author Share Posted January 9, 2015 Up 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