Traceur3RUN 75 Posted August 20, 2014 Share Posted August 20, 2014 (edited) how to repair? it makefile: MAKE = gmake CC = g++ INCDIR = LIBDIR = BINDIR = .. OBJDIR = .obj GCC_VERSION = 4 BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) SVN_VERSION = $(shell svn info |grep Revision: |cut -c11-) $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) TARGET = $(BINDIR)/db_r$(SVN_VERSION) CFLAGS = -g -Wall -O2 -pipe -fno-rtti -fno-exceptions -pthread -D_THREAD_SAFE ifeq ($(GCC_VERSION), 4) CFLAGS += -mtune=i686 else CFLAGS += -mcpu=i686 endif # boost INCDIR += -I../../../Extern/include/boost LIBDIR += -L../../libthecore/lib -L../../libsql -L../../libpoly -L../../libgame/lib LIBDIR += -L/usr/local/lib/mysql # Extern INCDIR += -I../../../Extern/include LIBDIR += -I../../../Extern/lib # Project Library INCDIR += -I/usr/local/include 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 += -lthecore -lmysqlclient -lsql -lpoly -lgame -lm -lz SRCS = Config.cpp NetBase.cpp Peer.cpp PeerBase.cpp Main.cpp Lock.cpp DBManager.cpp Cache.cpp LoginData.cpp ClientManager.cpp ClientManagerPlayer.cpp ClientManagerLogin.cpp ClientManagerBoot.cpp ClientManagerParty.cpp ClientManagerGuild.cpp GuildManager.cpp HB.cpp PrivManager.cpp MoneyLog.cpp ItemAwardManager.cpp ClientManagerEventFlag.cpp Marriage.cpp Monarch.cpp BlockCountry.cpp ItemIDRangeManager.cpp ClientManagerHorseName.cpp version.cpp AuctionManager.cpp ProtoReader.cpp CsvReader.cpp OBJS = $(SRCS:%.cpp=$(OBJDIR)/%.o) default: $(TARGET) $(TARGET): $(OBJS) @echo linking ... @$(CC) $(CFLAGS) $(LIBDIR) $(OBJS) $(LIBS) -o $(TARGET) @touch version.cpp $(OBJDIR)/%.o: %.cpp @echo compile $< @$(CC) $(CFLAGS) $(INCDIR) -c $< -o $@ $(OBJDIR)/version.o: version.cpp @$(CC) $(CFLAGS) -D__USER__="$(USER)" -D__HOSTNAME__="$(HOSTNAME)" -D__PWD__="$(PWD)" -D__SVN_VERSION__="$(SVN_VERSION)" -c $< -o $@ @echo compile $< $(OBJDIR): @mkdir $(OBJDIR) clean: @rm -f $(OBJS) $(BINDIR)/db_r* dep: @touch Depend makedepend -fDepend $(INCDIR) -I/usr/include/c++/3.3 -I/usr/include/c++/4.2 -p$(OBJDIR)/ $(SRCS) 2> /dev/null sinclude Depend Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
cBaraN 109 Posted August 20, 2014 Share Posted August 20, 2014 Search: SVN_VERSION = $(shell svn info |grep Revision: |cut -c11-) Add replace: SVN_VERSION = xxx (your core version) Save and compile Best Regards Can BARAN... 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 20, 2014 Author Share Posted August 20, 2014 (edited) Search: SVN_VERSION = $(shell svn info |grep Revision: |cut -c11-) Add replace: SVN_VERSION = xxx (your core version) Save and compile not working error Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
cBaraN 109 Posted August 20, 2014 Share Posted August 20, 2014 cd /usr/src/novaline/Srcs/Server/ gmake dep cd /usr/src/novaline/Srcs/Server/db/src/ gmake dep And recompile db. Best Regards Can BARAN... 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 20, 2014 Author Share Posted August 20, 2014 cd /usr/src/novaline/Srcs/Server/ gmake dep cd /usr/src/novaline/Srcs/Server/db/src/ gmake dep And recompile db. Best Regards Can BARAN... the same error Link to comment Share on other sites More sharing options...
Night 367 Posted August 20, 2014 Share Posted August 20, 2014 take a look here http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3137022-sammelthread-metin2-source-errors-soulutions.html 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 21, 2014 Author Share Posted August 21, 2014 (edited) take a look here http://www.elitepvpers.com/forum/metin2-pserver-guides-strategies/3137022-sammelthread-metin2-source-errors-soulutions.html error now: Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Invence 8 Posted August 21, 2014 Share Posted August 21, 2014 (edited) DBManager.cpp / DBManager.h from mainline/Srcs/Server/db/src and DBManager.o from mainline/Srcs/Server/db/src/.obj tu your directory and you can compile if doesn't work bring from "mainline_released" i don't remeber it.And who have this problem -> https://metin2.download/picture/91n4TNoapsyYH4468UU73Ij9IvrWlzr1/.png Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Night 367 Posted August 21, 2014 Share Posted August 21, 2014 (edited) DBManager.cpp / DBManager.h from mainline/Srcs/Server/db/src and DBManager.o from mainline/Srcs/Server/db/src/.obj tu your directory and you can compile if doesn't work bring from "mainline_released" i don't remeber it.And who have this problem -> https://metin2.download/picture/91n4TNoapsyYH4468UU73Ij9IvrWlzr1/.png its from mainline_released Edited August 30, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 21, 2014 Author Share Posted August 21, 2014 (edited) DBManager.cpp / DBManager.h from mainline/Srcs/Server/db/src and DBManager.o from mainline/Srcs/Server/db/src/.obj tu your directory and you can compile if doesn't work bring from "mainline_released" i don't remeber it.And who have this problem -> https://metin2.download/picture/91n4TNoapsyYH4468UU73Ij9IvrWlzr1/.png its from mainline_released ok i go try but its from mainline_released? cant here compile db game on mainline can only build db on novaline only game i go to mainline DB copy DBManager.cpp and DBManager.h from mainline to novaline DB and i got this error now: and i try copy DBManager.cpp and DBManager.h from mainline_sg to novaline and i got the same error.. ok closed. db_r40250 done thanks all for help Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 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