Hallo Leute,
ich bin gerade dabei, die Source von Kuratox zu compilen.
Habe alles nach Anleitung gemacht doch immer wieder tauchen Fehler auf die ich nicht lösen kann.
Ich habe mehrere Anleitungen befolgt, dennoch kommt immer der gleiche Fehler. ( Siehe Bild)
Bitte melden Sie sich an, um diesen Link zu sehen.
Ich habe in den ganzen Makefiles die CC ebenso geändert wie manche Leute meinten,
mehrere Sachen getestet und geändert wie SVN_VERSION und eben wie schon gesagt CC geändert.
Hier mal die Makefile:
Code
- PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1)
- GCC_VERSION = $(shell $(CC) --version 2>&1 | grep "(GCC)" | cut -d' ' -f3 | cut -d'.' -f1)
- BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1)
- SVN_VERSION = 60006
- CC = g++49
- INCDIR =
- LIBDIR =
- BINDIR = ..
- OBJDIR = OBJDIR
- $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)
- # Standard Setting
- LIBS = -pthread -lm -lmd
- # Removed -fno-rtti
- CFLAGS = -w -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG -D__SVN_VERSION__=\"$(SVN_VERSION)\"
- ifeq ($(GCC_VERSION), 4)
- CFLAGS += -mtune=i686 -fstack-protector-all
- else
- CFLAGS += -mcpu=i686
- endif
- # boost
- INCDIR += -I../../../Extern/include/boost
- # DevIL
- INCDIR += -I../../libdevil
- LIBDIR += -L../../libdevil
- LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg
- # MySQL
- ifeq ($(BSD_VERSION), 7)
- INCDIR += -I../../libmysql/7.x-5.1.35
- LIBDIR += -L../../libmysql/7.x-5.1.35
- else
- INCDIR += -I../../libmysql/5.x-5.1.35
- LIBDIR += -L../../libmysql/5.x-5.1.35
- endif
- LIBS += -lmysqlclient -lz
- # Miscellaneous external libraries
- INCDIR += -I../../../Extern/include
- LIBDIR += -L../../../Extern/lib
- LIBS += -lcryptopp -lgtest
- # HackShield
- INCDIR += -I../../libhackshield/include
- LIBDIR += -L../../libhackshield/lib
- LIBS += -lanticpxsvr
- # XTrap
- INCDIR += -I../../libxtrap/include
- # openssl
- #INCDIR += -I/usr/include
- LIBS += -lssl
- # Project Library
- INCDIR += -I../../liblua/include
- INCDIR += -I/usr/local/include
- INCDIR += -I../../libserverkey
- LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib -L../../liblua/lib -L../../libserverkey
- LIBDIR += -L/usr/local/lib
- LIBS += -lthecore -lpoly -llua -llualib -lsql -lgame -lserverkey
- USE_STACKTRACE = 0
- ifeq ($(USE_STACKTRACE), 1)
- LIBS += /usr/local/lib/libexecinfo.a
- endif
- TARGET = $(BINDIR)/game_r$(P4_VERSION)_$(PLATFORM)
- CFILE = minilzo.c
- CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.cpp TrafficProfiler.cpp ani.cpp\
- arena.cpp banword.cpp battle.cpp blend_item.cpp block_country.cpp buffer_manager.cpp building.cpp castle.cpp\
- char.cpp char_affect.cpp char_battle.cpp char_change_empire.cpp char_horse.cpp char_item.cpp char_manager.cpp\
- char_quickslot.cpp char_resist.cpp char_skill.cpp char_state.cpp PetSystem.cpp cmd.cpp cmd_emotion.cpp cmd_general.cpp\
- cmd_gm.cpp cmd_oxevent.cpp config.cpp constants.cpp crc32.cpp cube.cpp db.cpp desc.cpp\
- desc_client.cpp desc_manager.cpp desc_p2p.cpp dev_log.cpp dungeon.cpp empire_text_convert.cpp entity.cpp\
- entity_view.cpp event.cpp event_queue.cpp exchange.cpp file_loader.cpp fishing.cpp gm.cpp guild.cpp\
- guild_manager.cpp guild_war.cpp horse_rider.cpp horsename_manager.cpp input.cpp input_auth.cpp input_db.cpp\
- input_login.cpp input_main.cpp input_p2p.cpp input_teen.cpp input_udp.cpp ip_ban.cpp\
- item.cpp item_addon.cpp item_attribute.cpp item_manager.cpp item_manager_idrange.cpp locale.cpp\
- locale_service.cpp log.cpp login_data.cpp lzo_manager.cpp marriage.cpp matrix_card.cpp\
- messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
- party.cpp passpod.cpp pcbang.cpp polymorph.cpp priv_manager.cpp pvp.cpp\
- questevent.cpp questlua.cpp questlua_affect.cpp questlua_arena.cpp questlua_ba.cpp questlua_building.cpp\
- questlua_danceevent.cpp questlua_dungeon.cpp questlua_forked.cpp questlua_game.cpp questlua_global.cpp\
- questlua_guild.cpp questlua_horse.cpp questlua_pet.cpp questlua_item.cpp questlua_marriage.cpp questlua_mgmt.cpp\
- questlua_monarch.cpp questlua_npc.cpp questlua_oxevent.cpp questlua_party.cpp questlua_pc.cpp\
- questlua_quest.cpp questlua_target.cpp questmanager.cpp questnpc.cpp questpc.cpp\
- refine.cpp regen.cpp safebox.cpp sectree.cpp sectree_manager.cpp sequence.cpp shop.cpp\
- skill.cpp start_position.cpp target.cpp text_file_loader.cpp trigger.cpp utils.cpp vector.cpp war_map.cpp\
- wedding.cpp xmas_event.cpp version.cpp panama.cpp threeway_war.cpp map_location.cpp auth_brazil.cpp\
- BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
- HackShield.cpp HackShield_Impl.cpp char_hackshield.cpp skill_power.cpp affect.cpp\
- SpeedServer.cpp questlua_speedserver.cpp XTrapManager.cpp\
- auction_manager.cpp FileMonitor_FreeBSD.cpp ClientPackageCryptInfo.cpp cipher.cpp\
- buff_on_attributes.cpp dragon_soul_table.cpp DragonSoul.cpp\
- group_text_parse_tree.cpp char_dragonsoul.cpp questlua_dragonsoul.cpp\
- shop_manager.cpp shopEx.cpp item_manager_read_tables.cpp
- COBJS = $(CFILE:%.c=$(OBJDIR)/%.o)
- CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)
- MAINOBJ = $(OBJDIR)/main.o
- MAINCPP = main.cpp
- TESTOBJ = $(OBJDIR)/test.o
- TESTCPP = test.cpp
- TEST_TARGET = $(BINDIR)/test
- default: $(TARGET)
- @strip $(TARGET)
- $(OBJDIR)/minilzo.o: minilzo.c
- @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
- @echo compile $<
- $(OBJDIR)/version.o: version.cpp
- @$(CC) $(CFLAGS) -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__P4_VERSION__=\"$(P4_VERSION)\" -c $< -o $@
- @echo compile $<
- $(OBJDIR)/%.o: %.cpp
- @echo compile $<
- @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@
- limit_time:
- @echo update limit time
- @python update_limit_time.py
- $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
- @echo linking $(TARGET)....
- @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET)
- $(TEST_TARGET): $(TESTCPP) $(CPPOBJS) $(COBJS) $(TESTOBJ)
- @echo linking $(TEST_TARGET)
- @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(TESTOBJ) $(LIBS) -o ../test
- clean:
- @rm -f $(COBJS) $(CPPOBJS)
- @rm -f $(BINDIR)/game_r* $(BINDIR)/conv
- tag:
- ctags *.cpp *.h *.c
- dep:
- makedepend -f Depend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) $(TESTCPP) 2> /dev/null > Depend
- sinclude Depend
Wenn ich bei der Makefile bei CC g++49 die 49 entferne kommen dutzend Errors:
Code
- g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
- In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
- 38 | std::size_t hash_value(std::list<T, A> const& v);
- | ^~~~
- In file included 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:
- ../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
- 307 | inline std::size_t hash_value(long double v)
- | ^~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: reference to 'list' is ambiguous
- 38 | std::size_t hash_value(std::list<T, A> const& v);
- | ^~~~
- In file included from /usr/local/lib/gcc9/include/c++/list:63,
- from stdafx.h:17,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
- 552 | class list : protected _List_base<_Tp, _Alloc>
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
- 81 | template <class T, class Allocator> class list;
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token
- 38 | std::size_t hash_value(std::list<T, A> const& v);
- | ^
- ../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token
- 38 | std::size_t hash_value(std::list<T, A> const& v);
- | ^
- ../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const'
- 38 | std::size_t hash_value(std::list<T, A> const& v);
- | ^~~~~
- ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' redeclared as different kind of entity
- 69 | std::size_t hash_value(std::list<T, A> const& v)
- | ^~~~
- In file included 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:
- ../../../Extern/include/boost/functional/hash/hash.hpp:307:24: note: previous declaration 'std::size_t boost::hash_value(long double)'
- 307 | inline std::size_t hash_value(long double v)
- | ^~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: reference to 'list' is ambiguous
- 69 | std::size_t hash_value(std::list<T, A> const& v)
- | ^~~~
- In file included from /usr/local/lib/gcc9/include/c++/list:63,
- from stdafx.h:17,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
- 552 | class list : protected _List_base<_Tp, _Alloc>
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
- 81 | template <class T, class Allocator> class list;
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
- 69 | std::size_t hash_value(std::list<T, A> const& v)
- | ^
- ../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
- 69 | std::size_t hash_value(std::list<T, A> const& v)
- | ^
- ../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
- 69 | std::size_t hash_value(std::list<T, A> const& v)
- | ^~~~~
- In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
- from /usr/local/lib/gcc9/include/c++/ios:42,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
- 284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
- from /usr/local/lib/gcc9/include/c++/ios:42,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
- 284 | operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
- | ^
- In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
- from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
- from /usr/local/lib/gcc9/include/c++/ios:42,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
- 81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/bits/locale_classes.h:851,
- from /usr/local/lib/gcc9/include/c++/bits/ios_base.h:41,
- from /usr/local/lib/gcc9/include/c++/ios:42,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
- 81 | operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
- | ^
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
- 86 | return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
- | ^~~~
- /usr/local/lib/gcc9/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
- 87 | __s2.data(), __s2.data() + __s2.length()) < 0);
- | ^~~~
- In file included from /usr/local/lib/gcc9/include/c++/ios:43,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/streambuf: At global scope:
- /usr/local/lib/gcc9/include/c++/streambuf:176:6: error: reference to 'basic_string' is ambiguous
- 176 | basic_string<_CharT2, _Traits2, _Alloc>&);
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/ios:43,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/streambuf:176:6: error: 'basic_string' has not been declared
- 176 | basic_string<_CharT2, _Traits2, _Alloc>&);
- | ^~~~~~~~~~~~
- /usr/local/lib/gcc9/include/c++/streambuf:176:18: error: expected ',' or '...' before '<' token
- 176 | basic_string<_CharT2, _Traits2, _Alloc>&);
- | ^
- /usr/local/lib/gcc9/include/c++/streambuf:181:3: error: reference to 'basic_string' is ambiguous
- 181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/ios:43,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/streambuf:181:3: error: 'basic_string' has not been declared
- 181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
- | ^~~~~~~~~~~~
- /usr/local/lib/gcc9/include/c++/streambuf:181:15: error: expected ',' or '...' before '<' token
- 181 | basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
- | ^
- In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
- from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
- from /usr/local/lib/gcc9/include/c++/ios:44,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
- /usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
- 96 | const basic_string<_CharT>& __tn = __np.truename();
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
- from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
- from /usr/local/lib/gcc9/include/c++/ios:44,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
- 97 | _M_truename_size = __tn.size();
- | ^~~~
- /usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
- 101 | const basic_string<_CharT>& __fn = __np.falsename();
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/string:39,
- from /usr/local/lib/gcc9/include/c++/stdexcept:39,
- from /usr/local/lib/gcc9/include/c++/array:39,
- from /usr/local/lib/gcc9/include/c++/tuple:39,
- from /usr/local/lib/gcc9/include/c++/bits/stl_map.h:63,
- from /usr/local/lib/gcc9/include/c++/map:61,
- from stdafx.h:18,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stringfwd.h:74:11: note: candidates are: 'template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string'
- 74 | class basic_string;
- | ^~~~~~~~~~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: 'template<class charT, class traits, class Allocator> class std::basic_string'
- 63 | template <class charT, class traits, class Allocator> class basic_string;
- | ^~~~~~~~~~~~
- In file included from /usr/local/lib/gcc9/include/c++/bits/locale_facets.h:2655,
- from /usr/local/lib/gcc9/include/c++/bits/basic_ios.h:37,
- from /usr/local/lib/gcc9/include/c++/ios:44,
- from /usr/local/lib/gcc9/include/c++/ostream:38,
- from /usr/local/lib/gcc9/include/c++/iterator:64,
- from ../../../Extern/include/boost/detail/iterator.hpp:54,
- from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
- from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
- from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
- from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
- from ../../../Extern/include/boost/unordered_map.hpp:16,
- from char.h:4,
- from BattleArena.cpp:6:
- /usr/local/lib/gcc9/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
- 102 | _M_falsename_size = __fn.size();
- | ^~~~
- In file included from BattleArena.cpp:6:
- char.h: At global scope:
- char.h:917:9: error: reference to 'list' is ambiguous
- 917 | const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
- | ^~~
- In file included from /usr/local/lib/gcc9/include/c++/list:63,
- from stdafx.h:17,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
- 552 | class list : protected _List_base<_Tp, _Alloc>
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
- 81 | template <class T, class Allocator> class list;
- | ^~~~
- In file included from BattleArena.cpp:6:
- char.h:923:3: error: reference to 'list' is ambiguous
- 923 | std::list<CAffect *> m_list_pkAffect;
- | ^~~
- In file included from /usr/local/lib/gcc9/include/c++/list:63,
- from stdafx.h:17,
- from BattleArena.cpp:1:
- /usr/local/lib/gcc9/include/c++/bits/stl_list.h:552:11: note: candidates are: 'template<class _Tp, class _Alloc> class std::__cxx11::list'
- 552 | class list : protected _List_base<_Tp, _Alloc>
- | ^~~~
- In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17,
- from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
- 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:
- ../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: 'template<class T, class Allocator> class std::list'
- 81 | template <class T, class Allocator> class list;
- | ^~~~
- gmake: *** [Makefile:131: OBJDIR/BattleArena.o] Error 1
- root@localhost:/usr/home/Source/Server/game/src #
Habe alles versucht, doch komme ich nicht weiter. Hoffe einer kann mir helfen.