ParadoxDEV 5 Posted August 10, 2018 Share Posted August 10, 2018 (edited) This is the error i am getting: Spoiler PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) P4_VERSION = 40250 CC = g++49 INCDIR = LIBDIR = BINDIR = .. OBJDIR = OBJDIR $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) LIBS = -pthread -lm -lmd CFLAGS = -g -Wall -O2 -m32 -pipe -fexceptions -D_THREAD_SAFE -DNDEBUG # -D_USE_SERVER_KEY_ CFLAGS += -mtune=i686 -fstack-protector-all CFLAGS += -Wno-strict-aliasing -Wno-delete-non-virtual-dtor -Wno-unused-local-typedefs -Wno-conversion-null -std=c++11 INCDIR += -I../../../Extern/include/boost INCDIR += -I../../libdevil LIBDIR += -L../../libdevil LIBS += -lIL -lpng -ltiff -lmng -llcms -ljpeg INCDIR += -I../../libmysql/7.x-5.1.35 LIBDIR += -L../../libmysql/7.x-5.1.35 LIBS += -lmysqlclient -L/usr/local/lib/mysql -lz INCDIR += -I../../../Extern/include LIBDIR += -L../../../Extern/lib/c++11 LIBDIR += -L../../../Extern/lib/cryptopp LIBS += -lcryptopp INCDIR += -I../../libhackshield/include LIBDIR += -L../../libhackshield/lib LIBS += -lanticpxsvr INCDIR += -I../../libxtrap/include INCDIR += -I../../liblua/include INCDIR += -I/usr/local/include INCDIR += -L/usr/local/lib/mysql 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 CFILE = minilzo.c CPPFILE = $(shell ls *.cpp | grep -v "^main.cpp" | tr '\n' ' ') COBJS = $(CFILE:%.c=$(OBJDIR)/%.o) CPPOBJS = $(CPPFILE:%.cpp=$(OBJDIR)/%.o) MAINOBJ = $(OBJDIR)/main.o MAINCPP = main.cpp default: $(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 $@ $(TARGET): $(CPPOBJS) $(COBJS) $(MAINOBJ) @echo EN: Creating $(TARGET)... @echo PT: Criando $(TARGET)... @$(CC) $(CFLAGS) $(LIBDIR) $(COBJS) $(CPPOBJS) $(MAINOBJ) $(LIBS) -o $(TARGET) @echo EN: Stripping $(TARGET)... @echo PT: Comprimindo $(TARGET)... @strip --strip-all $(TARGET) clean: @rm -f $(COBJS) $(CPPOBJS) $(BINDIR)/game $(BINDIR)/conv Depend* 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) 2> /dev/null > Depend sinclude Depend I just added Pet System and this happened... not sure how to fix this been a while since i touched a metin2 source. Edited August 25, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
ParadoxDEV 5 Posted August 10, 2018 Author Share Posted August 10, 2018 #Fixed you can close. 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