Jump to content

i can not compile Can anyone to solve this


Recommended Posts

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

 

root@AleX:/server/source/game/src # gmake -j20
Compilando affect.cpp
Compilando acce.cpp
Compilando ani.cpp
Compilando arena.cpp
Compilando banword.cpp
Compilando battle.cpp
Compilando BattleArena.cpp
Compilando blend_item.cpp
Compilando BlueDragon.cpp
Compilando BlueDragon_Binder.cpp
Compilando buff_on_attributes.cpp
Compilando buffer_manager.cpp
Compilando building.cpp
Compilando char_battle.cpp
Compilando char.cpp
Compilando char_affect.cpp
Compilando char_cards.cpp
Compilando char_change_empire.cpp
Compilando char_dragonsoul.cpp
Compilando char_event_equipo.cpp
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from affect.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from BlueDragon_Binder.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from battle.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from buff_on_attributes.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from arena.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from banword.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from ani.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_affect.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from blend_item.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from building.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from acce.cpp:2:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from buffer_manager.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from BlueDragon.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_battle.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_dragonsoul.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_event_equipo.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_change_empire.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
gmake: *** [Makefile:284: .obj/affect.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:284: .obj/banword.o] Error 1
In file included from /usr/local/lib/gcc49/include/c++/random:49:0,
                 from /usr/local/lib/gcc49/include/c++/bits/stl_algo.h:66,
                 from /usr/local/lib/gcc49/include/c++/algorithm:62,
                 from stdafx.h:19,
                 from char_cards.cpp:1:
/usr/local/lib/gcc49/include/c++/bits/random.h:106:26: error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };
                          ^
gmake: *** [Makefile:284: .obj/buffer_manager.o] Error 1
gmake: *** [Makefile:284: .obj/blend_item.o] Error 1
gmake: *** [Makefile:284: .obj/BlueDragon_Binder.o] Error 1
gmake: *** [Makefile:284: .obj/ani.o] Error 1
gmake: *** [Makefile:284: .obj/buff_on_attributes.o] Error 1
gmake: *** [Makefile:284: .obj/char_dragonsoul.o] Error 1
gmake: *** [Makefile:284: .obj/char_affect.o] Error 1
gmake: *** [Makefile:284: .obj/arena.o] Error 1
gmake: *** [Makefile:284: .obj/BlueDragon.o] Error 1
gmake: *** [Makefile:284: .obj/BattleArena.o] Error 1
gmake: *** [Makefile:284: .obj/battle.o] Error 1
gmake: *** [Makefile:284: .obj/acce.o] Error 1
gmake: *** [Makefile:284: .obj/char_change_empire.o] Error 1
gmake: *** [Makefile:284: .obj/building.o] Error 1
gmake: *** [Makefile:284: .obj/char_event_equipo.o] Error 1
gmake: *** [Makefile:284: .obj/char_battle.o] Error 1
gmake: *** [Makefile:284: .obj/char_cards.o] Error 1
gmake: *** [Makefile:284: .obj/char.o] Error 1

 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 3 months later...
  • Premium

error: expected unqualified-id before '__int128'
       { typedef unsigned __int128 type; };

 

"Before __int128  there is  unsigned unqualified-id"

What should you do? 

As an extension the integer scalar type __int128 is supported for targets which have an integer mode wide enough to hold 128 bits.
Simply write __int128 for a signed 128-bit integer, or unsigned __int128 for an unsigned 128-bit integer.
There is no support in GCC for expressing an integer constant of type __int128 for targets with long long integer less than 128 bits wide.
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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