DaRealPain 0 Posted December 28, 2014 Share Posted December 28, 2014 Hey guys ^-^ I wanted to compile the novaline Everything is up on my root but when I want to compile somethin I become some errors !I haven't changed anything. I only wanted to look if it works! Errors: Command: cd /usr/src/novaline/Server/ gmake Error: Makefile:47: warning: overriding recipe for target 'libserverkey' Makefile:13: warning: ignoring old recipe for target 'libserverkey' gmake -C libthecore/src dep gmake[1]: Entering directory '/usr/src/novaline/Server/libthecore/src' g++ -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend g++: not found Makefile:33: recipe for target 'dep' failed gmake[1]: *** [dep] Error 127 gmake[1]: Leaving directory '/usr/src/novaline/Server/libthecore/src' Makefile:41: recipe for target 'libthecore' failed gmake: *** [libthecore] Error 2 Command: cd /usr/src/novaline/Server/db/src gmake clean gmake -j20 Error: root@p2:/usr/src/novaline/Server/db/src # gmake clean svn: not found svn: not found root@p2:/usr/src/novaline/Server/db/src # gmake -j20 svn: not found svn: not found gmake: *** No rule to make target '/usr/include/c++/4.2/vector', needed by '.obj/Config.o'. Stop. Command: cd /usr/src/novaline/Server/game/src gmake clean gmake -j20 Error: gmake: *** No rule to make target '/usr/include/c++/4.2/cstdlib', needed by 'OBJDIR/BattleArena.o'. Stop. Somebody could help me? Link to comment Share on other sites More sharing options...
Reboot 772 Posted December 28, 2014 Share Posted December 28, 2014 Hey guys ^-^ I wanted to compile the novaline Everything is up on my root but when I want to compile somethin I become some errors !I haven't changed anything. I only wanted to look if it works! Errors: Command: cd /usr/src/novaline/Server/ gmake Error: Makefile:47: warning: overriding recipe for target 'libserverkey' Makefile:13: warning: ignoring old recipe for target 'libserverkey' gmake -C libthecore/src dep gmake[1]: Entering directory '/usr/src/novaline/Server/libthecore/src' g++ -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend g++: not found Makefile:33: recipe for target 'dep' failed gmake[1]: *** [dep] Error 127 gmake[1]: Leaving directory '/usr/src/novaline/Server/libthecore/src' Makefile:41: recipe for target 'libthecore' failed gmake: *** [libthecore] Error 2 Command: cd /usr/src/novaline/Server/db/src gmake clean gmake -j20 Error: root@p2:/usr/src/novaline/Server/db/src # gmake clean svn: not found svn: not found root@p2:/usr/src/novaline/Server/db/src # gmake -j20 svn: not found svn: not found gmake: *** No rule to make target '/usr/include/c++/4.2/vector', needed by '.obj/Config.o'. Stop. Command: cd /usr/src/novaline/Server/game/src gmake clean gmake -j20 Error: gmake: *** No rule to make target '/usr/include/c++/4.2/cstdlib', needed by 'OBJDIR/BattleArena.o'. Stop. Somebody could help me? You need freebsd 9.2 or 9.3 not work on 9.3+ If you want to compile on FreeBSD 9.3 +, you must copy the FreeBSD 9.3 in / usr / include folder c ++. In FreeBSD 9.3+ Follow the steps pkg install gmake pkg install boost-all pkg install subversion pkg install gcc49 pkg install makedepend 1) Open a virtual image FreeBSD 9.2. 2) Create an archive folder / usr / include / c ++ 3) upload archive c ++ in the same directory as in FreeBSD 9.2. Install the above programs. Upload source folder, try to compile. Link to comment Share on other sites More sharing options...
DaRealPain 0 Posted December 30, 2014 Author Share Posted December 30, 2014 I ... I don't get it. Could you please explain me once more with more "details" PLEASE ^-^ Link to comment Share on other sites More sharing options...
Reboot 772 Posted December 30, 2014 Share Posted December 30, 2014 I ... I don't get it. Could you please explain me once more with more "details" PLEASE ^-^ OMG Install the above programs. Link to comment Share on other sites More sharing options...
Former Staff flygun 304 Posted December 30, 2014 Former Staff Share Posted December 30, 2014 w8 w8 ..... what version of FreeBSD you got ?? type "uname -a" in visualbox or putty or the virtual machine you are using Link to comment Share on other sites More sharing options...
Isolation 54 Posted December 30, 2014 Share Posted December 30, 2014 ... Think before you post. You don't need 9.2 If you really downgrade your system just because people without knowledge in this topic tell you to do so you're nothing more than plain stupid. Get a grip on freebsd, compilers and most likely cpp before you do such a task. FreeBSD dropped gcc in favour of clang. But you can just simply install gcc without the need of a new installation. lang/gcc should do the trick. g++ is the cpp compiler so if you install gcc you're ready to go. It's better to install a newer version but that just belongs to you. what would you do in a battle of survival? It's coming soon Link to comment Share on other sites More sharing options...
DaRealPain 0 Posted December 31, 2014 Author Share Posted December 31, 2014 Ouk thanks Now I get it more or less Link to comment Share on other sites More sharing options...
Denis 1474 Posted December 31, 2014 Share Posted December 31, 2014 Post here your Makefile from db and game Link to comment Share on other sites More sharing options...
DaRealPain 0 Posted January 17, 2015 Author Share Posted January 17, 2015 Error: Makefile:47: warning: overriding recipe for target 'libserverkey' Makefile:13: warning: ignoring old recipe for target 'libserverkey' gmake -C libthecore/src dep gmake[1]: Entering directory '/usr/src/novaline/Server/libthecore/src' g++ -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend g++: not found Makefile:33: recipe for target 'dep' failed gmake[1]: *** [dep] Error 127 gmake[1]: Leaving directory '/usr/src/novaline/Server/libthecore/src' Makefile:41: recipe for target 'libthecore' failed gmake: *** [libthecore] Error 2 Makefile from /usr/src/novaline/Server: CC=gcc CXX=g++ PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) default: libthecore libpoly libgame liblua libsql libserverkey game db @echo "--------------------------------------" @echo "Build Done" @echo "--------------------------------------" libserverkey: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ liblua: . $(MAKE) -C $@ clean $(MAKE) -C $@ libsql: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ libgame: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src libpoly: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ libthecore: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src libserverkey: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ game: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src limit_time # $(MAKE) -C $@/src db: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean # $(MAKE) -C $@/src all: @echo "--------------------------------------" @echo "Full Build Start" @echo "--------------------------------------" $(MAKE) -C liblua clean $(MAKE) -C liblua @touch libsql/Depend $(MAKE) -C libsql dep $(MAKE) -C libsql clean $(MAKE) -C libsql @touch libgame/src/Depend $(MAKE) -C libgame/src dep $(MAKE) -C libgame/src clean $(MAKE) -C libgame/src @touch libpoly/Depend $(MAKE) -C libpoly dep $(MAKE) -C libpoly clean $(MAKE) -C libpoly @touch libthecore/src/Depend $(MAKE) -C libthecore/src dep $(MAKE) -C libthecore/src clean $(MAKE) -C libthecore/src @touch game/src/Depend $(MAKE) -C game/src dep $(MAKE) -C game/src clean $(MAKE) -C game/src limit_time # $(MAKE) -C game/src @touch db/src/Depend $(MAKE) -C db/src dep $(MAKE) -C db/src clean # $(MAKE) -C db/src @echo "--------------------------------------" @echo "Full Build End" @echo "--------------------------------------" Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted January 17, 2015 Former Staff Share Posted January 17, 2015 Error: Makefile:47: warning: overriding recipe for target 'libserverkey' Makefile:13: warning: ignoring old recipe for target 'libserverkey' gmake -C libthecore/src dep gmake[1]: Entering directory '/usr/src/novaline/Server/libthecore/src' g++ -Wall -O2 -pipe -mcpu=i686 -g -I../include -MM *.c > Depend g++: not found Makefile:33: recipe for target 'dep' failed gmake[1]: *** [dep] Error 127 gmake[1]: Leaving directory '/usr/src/novaline/Server/libthecore/src' Makefile:41: recipe for target 'libthecore' failed gmake: *** [libthecore] Error 2 Makefile from /usr/src/novaline/Server: CC=gcc CXX=g++ PLATFORM = $(shell file /bin/ls | cut -d' ' -f3 | cut -d'-' -f1) BSD_VERSION = $(shell uname -v 2>&1 | cut -d' ' -f2 | cut -d'.' -f1) default: libthecore libpoly libgame liblua libsql libserverkey game db @echo "--------------------------------------" @echo "Build Done" @echo "--------------------------------------" libserverkey: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ liblua: . $(MAKE) -C $@ clean $(MAKE) -C $@ libsql: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ libgame: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src libpoly: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ libthecore: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src libserverkey: . @touch $@/Depend $(MAKE) -C $@ dep $(MAKE) -C $@ clean $(MAKE) -C $@ game: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean $(MAKE) -C $@/src limit_time # $(MAKE) -C $@/src db: . @touch $@/src/Depend $(MAKE) -C $@/src dep $(MAKE) -C $@/src clean # $(MAKE) -C $@/src all: @echo "--------------------------------------" @echo "Full Build Start" @echo "--------------------------------------" $(MAKE) -C liblua clean $(MAKE) -C liblua @touch libsql/Depend $(MAKE) -C libsql dep $(MAKE) -C libsql clean $(MAKE) -C libsql @touch libgame/src/Depend $(MAKE) -C libgame/src dep $(MAKE) -C libgame/src clean $(MAKE) -C libgame/src @touch libpoly/Depend $(MAKE) -C libpoly dep $(MAKE) -C libpoly clean $(MAKE) -C libpoly @touch libthecore/src/Depend $(MAKE) -C libthecore/src dep $(MAKE) -C libthecore/src clean $(MAKE) -C libthecore/src @touch game/src/Depend $(MAKE) -C game/src dep $(MAKE) -C game/src clean $(MAKE) -C game/src limit_time # $(MAKE) -C game/src @touch db/src/Depend $(MAKE) -C db/src dep $(MAKE) -C db/src clean # $(MAKE) -C db/src @echo "--------------------------------------" @echo "Full Build End" @echo "--------------------------------------" Put here your Makefile from /usr/src/novaline/Server/game/src and /usr/src/novaline/Server/db/src Link to comment Share on other sites More sharing options...
DaRealPain 0 Posted January 18, 2015 Author Share Posted January 18, 2015 /usr/src/novaline/Server/game/src 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 = $(shell svnversion -n .) CC = g++ INCDIR = LIBDIR = BINDIR = .. OBJDIR = OBJDIR $(shell if [ ! -d $(OBJDIR) ]; then mkdir $(OBJDIR); fi) # Standard Setting LIBS = -pthread -lm -lmd # Removed -fno-rtti CFLAGS = -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 shutdown_manager.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) $(TEST_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 /usr/src/novaline/Server/db/src 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 # 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 Link to comment Share on other sites More sharing options...
siemka256 12 Posted March 11, 2015 Share Posted March 11, 2015 bump 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