Es geht um folgenden Fehler kann da jemand helfen?
Infos was alles installiert ist:
Freebsd:13.1 p3
Code
- binutils-2.37_4,1 GNU binary tools
- ca_root_nss-3.83 Root certificate bundle from the Mozilla Project
- cryptopp-8.7.0 Free C++ class library of Cryptographic Primitives
- curl-7.85.0 Command line tool and library for transferring data with URLs
- cyrus-sasl-2.1.28 RFC 2222 SASL (Simple Authentication and Security Layer)
- devil-1.8.0_1,1 Cross-platform image library
- freeglut-3.2.1 Open source implementation of GLUT library
- gcc10-10.4.0 GNU Compiler Collection 10
- gettext-runtime-0.21 GNU gettext runtime libraries and programs
- gmake-4.3_2 GNU version of 'make' utility
- gmp-6.2.1 Free library for arbitrary precision arithmetic
- groff-1.22.4_4 Software typesetting package
- indexinfo-0.3.1 Utility to regenerate the GNU info page index
- jasper-3.0.6 Implementation of the codec specified in the JPEG-2000 standard
- jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes
- jpeg-turbo-2.1.4 SIMD-accelerated JPEG codec which replaces libjpeg
- lcms-1.19_6,1 Light Color Management System -- a color management library
- lcms2-2.13.1 Accurate, fast, and small-footprint color management engine
- libGLU-9.0.2_1 OpenGL utility library
- libICE-1.0.10,1 Inter Client Exchange library for X11
- libSM-1.2.3,1 Session Management library for X11
- libX11-1.7.2,1 X11 library
- libXau-1.0.9 Authentication Protocol library for X11
- libXdmcp-1.1.3 X Display Manager Control Protocol library
- libXext-1.3.4,1 X11 Extension library
- libXfixes-6.0.0 X Fixes extension library
- libXi-1.8,1 X Input extension library
- libXmu-1.1.3,1 X Miscellaneous Utilities libraries
- libXrandr-1.5.2 X Resize and Rotate extension library
- libXrender-0.9.10_2 X Render extension library
- libXt-1.2.1,1 X Toolkit library
- libXxf86vm-1.1.4_3 X Vidmode Extension
- libdeflate-1.14 Fast, whole-buffer DEFLATE-based compression library
- libedit-3.1.20210910,1 Command line editor library
- libevent-2.1.12 API for executing callback functions on events or timeouts
- libffi-3.4.2 Foreign Function Interface
- libglvnd-1.4.0_2 GL Vendor-Neutral Dispatch library
- libiconv-1.17 Character set conversion library
- libidn2-2.3.3 Implementation of IDNA2008 internationalized domain names
- libjpeg-turbo-2.1.4_1 SIMD-accelerated JPEG codec library, provides libTurboJPEG
- liblz4-1.9.4,1 LZ4 compression library, lossless and very fast
- libmng-1.0.10_3 Multiple-image Network Graphics (MNG) reference library
- libnghttp2-1.48.0 HTTP/2.0 C Library
- libpaper-1.1.28 Library providing routines for paper size management
- libpsl-0.21.1_4 C library to handle the Public Suffix List
- libpthread-stubs-0.4 Weak aliases for pthread functions
- libssh2-1.10.0,3 Library implementing the SSH2 protocol
- libunistring-1.0 Unicode string library
- libxcb-1.15 The X protocol C-language Binding (XCB) library
- libxml2-2.10.3 XML parser library for GNOME
- llvm-9,1 Meta-port for the default version of the LLVM Toolchain
- llvm90-9.0.1_6 LLVM and Clang
- lzo2-2.10_1 Portable speedy, lossless data compression library
- lzop-1.04 Fast file compressor similar to gzip, using the LZO library
- mpc-1.2.1 Library of complex numbers with arbitrarily high precision
- mpdecimal-2.5.1 C/C++ arbitrary precision decimal floating point libraries
- mpfr-4.1.0_1 Library for multiple-precision floating-point computations
- mysql57-client-5.7.39 Multithreaded SQL database (client)
- mysql57-server-5.7.39 Multithreaded SQL database (server)
- openldap26-client-2.6.3 Open source LDAP client implementation
- perl5-5.32.1_3 Practical Extraction and Report Language
- pkg-1.18.4 Package manager
- png-1.6.37_1 Library for manipulating PNG images
- protobuf-3.20.1,1 Data interchange format library
- psutils-1.17_5 Utilities for manipulating PostScript documents
- python27-2.7.18_2 Interpreted object-oriented programming language
- python39-3.9.15 Interpreted object-oriented programming language
- readline-8.1.2 Library for editing command lines as they are typed
- squish-1.15 Open source DXT compression library
- tiff-4.4.0 Tools and library routines for working with TIFF images
- uchardet-0.0.7 Universal charset detection library
- xorgproto-2022.1 X Window System unified protocol definitions
- zstd-1.5.2_1
Fehler:
Code
- linking ../game_r41035
- /usr/local/bin/ld: /usr/local/lib/libcryptopp.a(integer.o): undefined reference to symbol '_ZNSt3__18ios_base33__set_badbit_and_consider_rethrowEv'
- /usr/local/bin/ld: /usr/lib/libc++.so.1: error adding symbols: DSO missing from command line
- collect2: error: ld returned 1 exit status
- gmake[1]: *** [Makefile:174: ../game_r41035] Error 1
- gmake[1]: Leaving directory '/Server/Srcs/Server/game/src'
- gmake: *** [Makefile:48: game] Error 2
Makefile
Code
- CXX = g++10
- GAME_VERSION := $(shell cat ../../__REVISION__)
- GccMajorVersion := $(shell expr `$(CXX) -dumpversion | cut -f1 -d.`)
- GccMinorVersion := $(shell expr `$(CXX) -dumpversion | cut -f2 -d.`)
- GccMinorEGT8 := $(shell expr $(GccMinorVersion) \>= 8)
- INCDIR =
- LIBDIR =
- BINDIR = ..
- OBJDIR = .obj
- $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi)
- ## LIST OF CONSTANTS BEGIN
- ENABLE_GOOGLE_TEST = 0
- ENABLE_LUA_5_VERSION = 0
- ENABLE_GCC_AUTODEPEND = 1
- ENABLE_STATIC = 0
- ## LIST OF CONSTANTS END
- # Depend Path File
- ifneq ($(ENABLE_GCC_AUTODEPEND), 1)
- DEPFILE = Depend
- endif
- # Standard Libraries
- LIBS = -lm -lmd
- # Project Flags
- CFLAGS = -m64 -g -w -O2 -pipe -fexceptions -fno-strict-aliasing -pthread -D_THREAD_SAFE -DNDEBUG
- CFLAGS += -Wno-deprecated-declarations -Wno-nonnull-compare -Wno-deprecated-declarations -Wno-array-bounds -Wno-address
- CFLAGS += -Wno-int-in-bool-context -Wno-format-truncation -Wno-stringop-truncation -Wno-sign-compare
- CXXFLAGS = -std=c++20 -Wl,-rpath=/usr/local/lib/gcc10
- ifeq ($(ENABLE_STATIC), 1)
- CFLAGS += -static
- endif
- ifeq ($(GccMinorEGT8), 1)
- CFLAGS += -Wno-unused-local-typedefs
- endif
- # FreeBSD stack protector
- CFLAGS += -fstack-protector-all
- # Version defines
- CFLAGS += -D__USER__=\"$(USER)\" -D__HOSTNAME__=\"$(HOSTNAME)\" -D__PWD__=\"$(PWD)\" -D__GAME_VERSION__=\"$(GAME_VERSION)\"
- # Boost
- INCDIR += -I/usr/local/include/boost
- # DevIL
- INCDIR += -I/usr/local/include/IL
- LIBDIR += -L/usr/local/lib
- LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg
- # MySQL
- INCDIR += -I/usr/local/include/mysql
- LIBS += /usr/local/lib/mysql/libmysqlclient.a /usr/lib/libz.a
- # CryptoPP
- LIBS += /usr/local/lib/libcryptopp.a
- # GTest
- ifeq ($(ENABLE_GOOGLE_TEST), 1)
- LIBS += /usr/local/lib/libgtest.a
- CFLAGS += -DENABLE_GOOGLE_TEST
- endif
- # OpenSSL
- INCDIR += -I/usr/include
- LIBS += -lssl -lcrypto
- # LIBS += /usr/lib/libssl.a
- # Lua
- CFLAGS += -DENABLE_LUA_5_VERSION=ENABLE_LUA_5_VERSION
- ifeq ($(ENABLE_LUA_5_VERSION), 2)
- INCDIR += -I../../liblua/5.2/install/include
- LIBDIR += -L../../liblua/5.2/install/lib
- LIBS += ../../liblua/5.2/install/lib/liblua.a
- else
- INCDIR += -I../../liblua/5.0/include
- LIBDIR += -L../../liblua/5.0/lib
- LIBS += ../../liblua/5.0/lib/liblua.a ../../liblua/5.0/lib/liblualib.a
- endif
- # Project Libraries
- INCDIR += -I../../../Extern/include
- INCDIR += -I/usr/local/include
- LIBDIR += -L/usr/local/lib
- LIBDIR += -L../../libthecore/lib -L../../libpoly -L../../libsql -L../../libgame/lib
- LIBS += -lthecore -lpoly -lsql -lgame
- # PROJECT_SRC_FILES BEGIN
- MAINCPP = main.cpp
- CFILE = minilzo.c
- CPPFILE = BattleArena.cpp FSM.cpp MarkConvert.cpp MarkImage.cpp MarkManager.cpp OXEvent.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 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_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\
- messenger_manager.cpp mining.cpp mob_manager.cpp monarch.cpp motion.cpp over9refine.cpp p2p.cpp packet_info.cpp\
- party.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\
- BlueDragon.cpp BlueDragon_Binder.cpp DragonLair.cpp questlua_dragonlair.cpp\
- skill_power.cpp affect.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 shutdown_manager.cpp\
- questlua_dnd.cpp
- # PROJECT_SRC_FILES END
- # PROJECT_OBJ_FILES BEGIN
- COBJS = $(CFILE:%.c=$(OBJDIR)/%.o)
- CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o)
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- CDEPS = $(COBJS:%.o=%.d)
- CPPDEPS = $(CPPOBJS:%.o=%.d)
- endif
- MAINOBJ = $(MAINCPP:%.cpp=$(OBJDIR)/%.o)
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- MAINDEPS = $(MAINOBJ:%.o=%.d)
- endif
- # PROJECT_OBJ_FILES END
- # Target Paths
- MAIN_TARGET = $(BINDIR)/game_r$(GAME_VERSION)
- default: $(MAIN_TARGET)
- $(OBJDIR)/%.o: %.c
- @echo compiling $<
- @$(CXX) $(CFLAGS) $(INCDIR) -c $< -o $@
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- @$(CXX) -MM -MG -MP $(CFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
- @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
- endif
- $(OBJDIR)/%.o: %.cpp
- @echo compiling $<
- @$(CXX) $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $@
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- @$(CXX) -MM -MG -MP $(CFLAGS) $(CXXFLAGS) $(INCDIR) -c $< -o $(OBJDIR)/$*.d
- @sed -i '' -e's/$*.o:/$(OBJDIR)\/$*.o:/g' $(OBJDIR)/$*.d
- endif
- limit_time:
- @echo update limit time
- @python update_limit_time.py
- $(MAIN_TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ)
- @echo linking $(MAIN_TARGET)
- @$(CXX) $(CFLAGS) $(CXXFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(MAIN_TARGET)
- symlink:
- @ln -fs game_r$(GAME_VERSION) $(BINDIR)/game_symlink
- strip:
- @cp $(MAIN_TARGET) $(BINDIR)/game_r
- @strip $(BINDIR)/game_r
- clean:
- @echo cleaning $(MAIN_TARGET) $(OBJDIR)
- @rm -f $(COBJS) $(CPPOBJS) $(MAINOBJ)
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- @rm -f $(CDEPS) $(CPPDEPS) $(MAINDEPS)
- endif
- @rm -f $(BINDIR)/game_r*
- dep:
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- @echo "Note: gcc autodepend is autodetected, so target dep skipped"
- else
- makedepend -f $(DEPFILE) $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(CPPFILE) $(CFILE) $(MAINCPP) 2> /dev/null > $(DEPFILE)
- endif
- # AUTO_DEPEND_CHECK BEGIN
- ifeq ($(ENABLE_GCC_AUTODEPEND), 1)
- sinclude $(CDEPS)
- sinclude $(CPPDEPS)
- sinclude $(MAINDEPS)
- else
- sinclude $(DEPFILE)
- endif
- # AUTO_DEPEND_CHECK END