Jump to content

TheKiller

Premium
  • Posts

    8
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by TheKiller

  1. 2 hours ago, xP3NG3Rx said:
      Reveal hidden contents

     

    Dear mother of the Lord Fortran :sob:

    
    
    PyObject * itemIsSealScroll(PyObject * poSelf, PyObject * poArgs)
    {
    	int iItemIndex;
    	if (!PyTuple_GetInteger(poArgs, 0, &iItemIndex))
    		return Py_BadArgument();
    
    	if (iItemIndex == CItemData::SEAL_ITEM_BINDING_VNUM )
    		return Py_BuildValue("i", TRUE);
    
    	return Py_BuildValue("i", FALSE);
    }

     

     

     

     

    Bye :mellow:

    This is Sould Bind System, ChequeSystem is bugged!

    When compiling Appears this: 

    Spoiler

    error lnk2001 unresolved external symbol unsigned char "public: bool __thiscall CPythonNetworkStream::SendExchangeChequeAddPacket(unsigned char)" (?SendExchangeChequeAddPacket@CPythonNetworkStream@@QAE_NE@Z) don't resolve   

     

    I think there is a recall in the .cpp file because the function rkNetStream.SendExchangeChequeAddPacket(iCheque); Not found

    Quote

     

  2. 6 hours ago, TheKiller said:

    I have this error when compiling launcher:

    error lnk2001 unresolved external symbol unsigned char "public: bool __thiscall CPythonNetworkStream::SendExchangeChequeAddPacket(unsigned char)" (?SendExchangeChequeAddPacket@CPythonNetworkStream@@QAE_NE@Z) don't resolve    C:\Users\********\***\rod_client\Srcs\Client\UserInterface\PythonNetworkStreamModule.obj    UserInterface

    I need help

    If i delete this 

    #ifdef ENABLE_CHEQUE_SYSTEM
    PyObject* netSendExchangeChequeAddPacket(PyObject* poSelf, PyObject* poArgs)
    {
        BYTE iCheque;
        if (!PyTuple_GetInteger(poArgs, 0, &iCheque))
            return Py_BuildException();

        CPythonNetworkStream& rkNetStream=CPythonNetworkStream::Instance();
        rkNetStream.SendExchangeChequeAddPacket(iCheque);
        return Py_BuildNone();
    }
    #endif

    and this

    #ifdef ENABLE_CHEQUE_SYSTEM
            { "SendExchangeChequeAddPacket",        netSendExchangeChequeAddPacket,            METH_VARARGS },
    #endif

    The launcher compiles successfully help me thx

  3. I have this error when compiling launcher:

    error lnk2001 unresolved external symbol unsigned char "public: bool __thiscall CPythonNetworkStream::SendExchangeChequeAddPacket(unsigned char)" (?SendExchangeChequeAddPacket@CPythonNetworkStream@@QAE_NE@Z) don't resolve    C:\Users\********\***\rod_client\Srcs\Client\UserInterface\PythonNetworkStreamModule.obj    UserInterface

    I need help

  4. Hello everyone,
     
    I am searching for an experienced and serious person that performs on:
     
    *  Different source modifications.
    *  Adding and modifing different functions.
    *  System developments.
     
    This person will be rewarded.
    Who is interested will have to show what he is capable of, no timewaster!
    -------------------------------------------------------------------------------------------------------------------------------------------------------
    Search:
     
    *  Lua Scripter.
    *  2D and 3D graphics.
     
    Leave a Skype address on PM or down here.  ;) 
    • Love 2
  5.  

     

    
    
    root@ns377004:/usr/src/mainline/Srcs/Server/game/src # gmake clean
    root@ns377004:/usr/src/mainline/Srcs/Server/game/src # gmake -j20
    compile BattleArena.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    compile FSM.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    compile MarkConvert.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    compile MarkImage.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    Makefile:140: recipe for target 'OBJDIR/BattleArena.o' failed
    gmake: *** [OBJDIR/BattleArena.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/FSM.o' failed
    gmake: *** [OBJDIR/FSM.o] Error 1
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/MarkConvert.o' failed
    gmake: *** [OBJDIR/MarkConvert.o] Error 1
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/MarkImage.o' failed
    gmake: *** [OBJDIR/MarkImage.o] Error 1

     

    remove the string -ftree-loop-vectorize the makefile

     

    Thanks it works.

    now i get this error

    gmake -j20
    compile BattleArena.cpp
    compile FSM.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile MarkConvert.cpp
    compile MarkImage.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile MarkManager.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile OXEvent.cpp
    compile TrafficProfiler.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile ani.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile arena.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile banword.cpp
    compile battle.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile blend_item.cpp
    compile block_country.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile buffer_manager.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile building.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile castle.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile char.cpp
    compile char_affect.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    compile char_battle.cpp
    compile char_change_empire.cpp
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    g++48: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
    In file included from FSM.cpp:4:0:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    Makefile:131: recipe for target 'OBJDIR/FSM.o' failed
    gmake: *** [OBJDIR/FSM.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from MarkConvert.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from TrafficProfiler.cpp:10:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from buffer_manager.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from block_country.cpp:10:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from MarkImage.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from MarkManager.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from blend_item.cpp:10:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    Makefile:131: recipe for target 'OBJDIR/MarkImage.o' failed
    gmake: *** [OBJDIR/MarkImage.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/buffer_manager.o' failed
    gmake: *** [OBJDIR/buffer_manager.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/TrafficProfiler.o' failed
    gmake: *** [OBJDIR/TrafficProfiler.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/block_country.o' failed
    gmake: *** [OBJDIR/block_country.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/blend_item.o' failed
    gmake: *** [OBJDIR/blend_item.o] Error 1
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from BattleArena.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    Makefile:131: recipe for target 'OBJDIR/MarkConvert.o' failed
    gmake: *** [OBJDIR/MarkConvert.o] Error 1
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from building.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from OXEvent.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from ani.cpp:10:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from char_change_empire.cpp:2:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from arena.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from char_affect.cpp:2:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from battle.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from banword.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from castle.cpp:12:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from ani.cpp:11:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from BattleArena.cpp:6:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    char.cpp:7221:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
       return 2500000000;
       ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from char.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from debug_allocator.h:4:0,
                     from stdafx.h:7,
                     from char_battle.cpp:1:
    /usr/local/lib/gcc48/include/c++/cstdlib:178:10: error: expected unqualified-id before '__int128'
       inline __int128
              ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from castle.cpp:21:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from banword.h:5,
                     from banword.cpp:3:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from char_affect.cpp:5:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from char_change_empire.cpp:4:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from questmanager.h:4,
                     from OXEvent.cpp:4:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from questmanager.h:4,
                     from arena.cpp:8:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from char.cpp:6:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from battle.cpp:5:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from desc_manager.h:4,
                     from char_battle.cpp:5:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    Makefile:131: recipe for target 'OBJDIR/MarkManager.o' failed
    gmake: *** [OBJDIR/MarkManager.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/ani.o' failed
    gmake: *** [OBJDIR/ani.o] Error 1
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    In file included from ../../../Extern/include/boost/limits.hpp:19:0,
                     from ../../../Extern/include/boost/functional/hash/detail/limits.hpp:16,
                     from ../../../Extern/include/boost/functional/hash/detail/hash_float.hpp:15,
                     from ../../../Extern/include/boost/functional/hash/hash.hpp:15,
                     from ../../../Extern/include/boost/functional/hash.hpp:6,
                     from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                     from ../../../Extern/include/boost/unordered_map.hpp:16,
                     from char.h:4,
                     from building.cpp:8:
    /usr/local/lib/gcc48/include/c++/limits:1405:35: error: template argument 1 is invalid
         struct numeric_limits<__int128>
                                       ^
    /usr/local/lib/gcc48/include/c++/limits:1479:44: error: template argument 1 is invalid
         struct numeric_limits<unsigned __int128>
                                                ^
    Makefile:131: recipe for target 'OBJDIR/banword.o' failed
    gmake: *** [OBJDIR/banword.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/BattleArena.o' failed
    gmake: *** [OBJDIR/BattleArena.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/castle.o' failed
    gmake: *** [OBJDIR/castle.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/char_change_empire.o' failed
    gmake: *** [OBJDIR/char_change_empire.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/OXEvent.o' failed
    gmake: *** [OBJDIR/OXEvent.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/char_affect.o' failed
    gmake: *** [OBJDIR/char_affect.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/battle.o' failed
    gmake: *** [OBJDIR/battle.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/arena.o' failed
    gmake: *** [OBJDIR/arena.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/building.o' failed
    gmake: *** [OBJDIR/building.o] Error 1
    char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
    char_battle.cpp:775:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
       if (GetLevel() - pkAttacker->GetLevel() >= -10)
          ^
    char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
    char.cpp:2880:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
          if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
                                                             ^
    char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)':
    char.cpp:3088:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (amount < 0 && exp < -amount)
                                  ^
    char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
    char.cpp:5103:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
       if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
                                 ^
    char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
    char.cpp:6288:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
      return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
                                                     ^
    Makefile:131: recipe for target 'OBJDIR/char_battle.o' failed
    gmake: *** [OBJDIR/char_battle.o] Error 1
    Makefile:131: recipe for target 'OBJDIR/char.o' failed
    gmake: *** [OBJDIR/char.o] Error 1
    

    the virtual machine is 64-bit or 32?

  6. 
    
    root@ns377004:/usr/src/mainline/Srcs/Server/game/src # gmake clean
    root@ns377004:/usr/src/mainline/Srcs/Server/game/src # gmake -j20
    compile BattleArena.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    compile FSM.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    compile MarkConvert.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    compile MarkImage.cpp with g++48 -Wall -fuse-linker-plugin -fuse-ld=gold -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -Wl,-rpath=/usr/local/lib32/metin2 -std=c++11 -static -static-libgcc -static-libstdc++ -Wno-strict-aliasing -g -ggdb -DNDEBUG -ffast-math -funsafe-loop-optimizations -ftracer -fira-loop-pressure -funroll-loops -finline-functions -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-loop-distribution -ftree-partial-pre -ftree-vectorize -ftree-loop-vectorize -ftree-loop-distribute-patterns -ftree-slp-vectorize -fipa-cp-clone -mtune=i686 -march=i686 -mssse3
    Makefile:140: recipe for target 'OBJDIR/BattleArena.o' failed
    gmake: *** [OBJDIR/BattleArena.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/FSM.o' failed
    gmake: *** [OBJDIR/FSM.o] Error 1
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/MarkConvert.o' failed
    gmake: *** [OBJDIR/MarkConvert.o] Error 1
    g++48: error: unrecognized command line option '-ftree-loop-vectorize'
    Makefile:140: recipe for target 'OBJDIR/MarkImage.o' failed
    gmake: *** [OBJDIR/MarkImage.o] Error 1

     

    remove the string -ftree-loop-vectorize the makefile

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