make: *** No rule to make target 'clean'. Stop. checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make sets $(MAKE)... yes checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking for ar... /usr/bin/ar checking whether byte ordering is bigendian... no checking whether gcc produces 32bit code... yes checking whether gcc supports -march=i686 (and we can run it)... yes checking whether gcc supports __thread specifier (TLS)... yes checking whether gcc supports -flto... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc can actually use -Wno-unused-parameter... yes checking whether gcc supports -Wno-maybe-uninitialized... yes checking whether gcc supports -Wno-clobbered... yes checking whether gcc supports -Wempty-body... yes checking whether gcc supports -Wnewline-eof... no checking whether gcc supports -Wint-conversion... no checking whether gcc supports -Wenum-conversion... no checking whether gcc supports -Wshorten-64-to-32... no checking whether gcc supports -Wconstant-conversion... no checking whether gcc supports -Wbool-conversion... no checking whether gcc supports -Wno-switch... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether gcc supports -Wno-format-security... yes checking whether gcc supports -Wno-format-nonliteral... yes checking whether gcc supports -Wshadow... yes checking whether gcc can efficiently use -Wshadow... no checking whether gcc supports -fPIC... yes checking how to make shared objects... -shared yes checking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... yes checking whether gcc needs -fPIC for shared objects... no checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for uselocale... yes checking for newlocale... yes checking for freelocale... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking host OS... Linux checking for MinGW... no checking for library containing inflateEnd... -lz checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for library containing sqrt... -lm checking for library containing clock_gettime... none required checking whether CLOCK_MONOTONIC is supported and works... yes checking for library containing pthread_create... -lpthread checking for library containing pthread_sigmask... none required checking for library containing pthread_attr_init... none required checking for library containing pthread_attr_setstacksize... none required checking for library containing pthread_attr_destroy... none required checking for library containing pthread_cancel... none required checking for library containing pthread_join... none required checking for mysql_config... /usr/bin/mysql_config checking for mysql_init... yes checking mysql.h usability... yes checking mysql.h presence... yes checking for mysql.h... yes checking MySQL library (required)... yes (5.5.40) checking for pcre_study in -lpcre... yes checking PCRE library (optional)... yes checking for doxygen... no checking for perl... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/common/Makefile config.status: creating 3rdparty/mt19937ar/Makefile config.status: creating 3rdparty/libconfig/Makefile config.status: creating src/char/Makefile config.status: creating src/login/Makefile config.status: creating src/map/Makefile config.status: creating src/plugins/Makefile config.status: creating src/tool/Makefile config.status: creating src/test/Makefile config.status: creating tools/HPMHookGen/Makefile MAKE mt19937ar make[1]: Entering directory '/usr/local/test/3rdparty/mt19937ar' CC mt19937ar.c make[1]: Leaving directory '/usr/local/test/3rdparty/mt19937ar' MAKE libconfig make[1]: Entering directory '/usr/local/test/3rdparty/libconfig' CC libconfig.c CC grammar.c CC scanctx.c CC scanner.c CC strbuf.c make[1]: Leaving directory '/usr/local/test/3rdparty/libconfig' MAKE common_sql make[1]: Entering directory '/usr/local/test/src/common' MKDIR obj_all CC conf.c CC db.c CC des.c CC ers.c CC grfio.c CC HPM.c CC mapindex.c CC md5calc.c CC mutex.c CC nullpo.c CC random.c CC showmsg.c CC strlib.c CC sysinfo.c CC thread.c CC timer.c CC utils.c CC console.c CC core.c CC malloc.c CC socket.c AR obj_all/common.a MKDIR obj_sql CC sql.c AR obj_sql/common_sql.a CC console.c CC core.c CC malloc.c CC socket.c AR obj_all/common_mini.a make[1]: Leaving directory '/usr/local/test/src/common' MAKE login_sql make[1]: Entering directory '/usr/local/test/src/login' MKDIR obj_sql CC account_sql.c CC HPMlogin.c CC ipban_sql.c CC login.c CC loginlog_sql.c LD login-server console.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters In file included from console.c:531:0, from :90: /usr/include/bits/string3.h: In function ‘console_parse_list_subs’: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] In file included from console.c:535:0, from :90: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] In file included from socket.c:1028:0, from :92: socket.c: In function ‘do_close’: socket.c:1246:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from socket.c:647:0, from :63: socket.c: In function ‘connect_client’: socket.c:487:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from socket.c:652:0, from :63: socket.c: In function ‘make_listen_bind’: socket.c:537:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from socket.c:667:0, from :63: socket.c: In function ‘make_connection’: socket.c:588:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from socket.c:680:0, from :63: socket.c: In function ‘do_sockets’: socket.c:822:6: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] make[1]: Leaving directory '/usr/local/test/src/login' MAKE char_sql make[1]: Entering directory '/usr/local/test/src/char' MKDIR obj_sql CC char.c CC HPMchar.c CC loginif.c CC mapif.c CC geoip.c CC inter.c CC int_auction.c CC int_elemental.c CC int_guild.c CC int_homun.c CC int_mail.c CC int_mercenary.c CC int_party.c CC int_pet.c CC int_quest.c CC int_storage.c CC pincode.c LD char-server console.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters In file included from console.c:528:0, from :154: /usr/include/bits/string3.h: In function ‘console_parse_list_subs’: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] In file included from console.c:532:0, from :154: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] In file included from malloc.c:736:0, from :100: socket.c: In function ‘connect_client’: socket.c:487:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from malloc.c:741:0, from :100: socket.c: In function ‘make_listen_bind’: socket.c:537:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from malloc.c:756:0, from :100: socket.c: In function ‘make_connection’: socket.c:588:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from malloc.c:769:0, from :100: socket.c: In function ‘do_sockets’: socket.c:822:6: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from malloc.c:792:0, from :100: socket.c: In function ‘do_close’: socket.c:1246:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] make[1]: Leaving directory '/usr/local/test/src/char' MAKE map_sql make[1]: Entering directory '/usr/local/test/src/map' MKDIR obj_sql CC atcommand.c CC battle.c CC battleground.c In file included from battleground.c:360:0: battleground.c: In function ‘bg_guild_build_data’: ../mods/Brenth/BG/battleground_28.txt:67:9: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] CC buyingstore.c CC chat.c CC chrif.c CC clif.c CC date.c CC duel.c CC elemental.c CC guild.c CC homunculus.c CC HPMmap.c CC instance.c CC intif.c CC irc-bot.c CC itemdb.c CC log.c CC mail.c CC map.c CC mapreg_sql.c CC mercenary.c CC mob.c CC npc.c CC npc_chat.c CC party.c CC path.c CC pc.c CC pc_groups.c CC pet.c CC quest.c CC script.c In file included from script.c:6650:0: ../mods/Brenth/BG/script_4.txt: In function ‘buildin_storeitem2’: ../mods/Brenth/BG/script_4.txt:126:6: warning: variable ‘iden’ set but not used [-Wunused-but-set-variable] In file included from script.c:11550:0: ../mods/Brenth/BG/script_5.txt: In function ‘buildin_viewpointmap’: ../mods/Brenth/BG/script_5.txt:18:18: warning: variable ‘color’ set but not used [-Wunused-but-set-variable] ../mods/Brenth/BG/script_5.txt:18:15: warning: variable ‘id’ set but not used [-Wunused-but-set-variable] ../mods/Brenth/BG/script_5.txt:18:13: warning: variable ‘y’ set but not used [-Wunused-but-set-variable] ../mods/Brenth/BG/script_5.txt:18:11: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] ../mods/Brenth/BG/script_5.txt:18:6: warning: variable ‘type’ set but not used [-Wunused-but-set-variable] In file included from script.c:16821:0: ../mods/Brenth/BG/script_32.txt: In function ‘buildin_bg_monster_reveal’: ../mods/Brenth/BG/script_32.txt:7:3: warning: unused variable ‘color’ [-Wunused-variable] ../mods/Brenth/BG/script_32.txt:6:3: warning: unused variable ‘flag’ [-Wunused-variable] ../mods/Brenth/BG/script_32.txt:3:19: warning: variable ‘md’ set but not used [-Wunused-but-set-variable] In file included from script.c:16858:0: ../mods/Brenth/BG/script_35.txt: In function ‘buildin_bg_cleanmap’: ../mods/Brenth/BG/script_35.txt:12:6: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] In file included from script.c:16948:0: ../mods/Brenth/BG/script_39.txt: In function ‘buildin_bg_rankpoints’: ../mods/Brenth/BG/script_39.txt:48:20: warning: variable ‘flag’ set but not used [-Wunused-but-set-variable] ../mods/Brenth/BG/script_39.txt: In function ‘buildin_bg_rankpoints_area’: ../mods/Brenth/BG/script_39.txt:136:13: warning: variable ‘add_value’ set but not used [-Wunused-but-set-variable] In file included from script.c:16858:0: script.c: At top level: ../mods/Brenth/BG/script_35.txt:1:12: warning: ‘bg_cleanmap_sub’ defined but not used [-Wunused-function] CC searchstore.c CC skill.c In file included from skill.c:5257:0: ../mods/Brenth/BG/skill_1.txt: In function ‘skill_castend_nodamage_id’: ../mods/Brenth/BG/skill_1.txt:1:1: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] In file included from skill.c:6798:0: ../mods/Brenth/BG/skill_2.txt:1:1: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] skill.c:7581:5: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] In file included from skill.c:11686:0: ../mods/Brenth/BG/skill_4.txt: In function ‘skill_unit_onplace_timer’: ../mods/Brenth/BG/skill_4.txt:1:1: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] CC status.c status.c: In function ‘status_change_start’: status.c:6800:3: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] CC storage.c CC trade.c CC unit.c CC vending.c LD map-server console.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters In file included from showmsg.c:647:0, from :1103: socket.c: In function ‘connect_client’: socket.c:487:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from showmsg.c:722:0, from :1103: socket.c: In function ‘make_listen_bind’: socket.c:537:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from showmsg.c:717:0, from :1103: socket.c: In function ‘make_connection’: socket.c:588:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from showmsg.c:728:0, from :1103: socket.c: In function ‘do_sockets’: socket.c:822:6: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from showmsg.c:710:0, from :1103: socket.c: In function ‘do_close’: socket.c:1246:2: warning: call to ‘__fdelt_warn’ declared with attribute warning: bit outside of fd_set selected [enabled by default] In file included from showmsg.c:977:0, from :1103: /usr/include/bits/string3.h: In function ‘console_parse_list_subs’: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] In file included from showmsg.c:981:0, from :1103: /usr/include/bits/string3.h:81:30: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] make[1]: Leaving directory '/usr/local/test/src/map' MAKE tools make[1]: Entering directory '/usr/local/test/src/tool' MKDIR obj_all CC mapcache.c LD mapcache make[1]: Leaving directory '/usr/local/test/src/tool' building conf/import folder... MAKE plugins make[1]: Entering directory '/usr/local/test/src/plugins' CC sample.c /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: /tmp/ccXi1djY.ltrans0.ltrans.o: warning: relocation in readonly section `.text'. /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. PLUGIN sample CC db2sql.c /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: /tmp/cc0vnPfQ.ltrans0.ltrans.o: warning: relocation in readonly section `.rodata'. /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. PLUGIN db2sql CC HPMHooking.c (CHAR) /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: /tmp/ccEEFErc.ltrans0.ltrans.o: warning: relocation in readonly section `.text'. /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. PLUGIN HPMHooking_char CC HPMHooking.c (LOGIN) /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: /tmp/ccfFECfm.ltrans0.ltrans.o: warning: relocation in readonly section `.rodata'. /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. PLUGIN HPMHooking_login CC HPMHooking.c (MAP) In file included from HPMHooking.c:178:0: ../plugins/HPMHooking/HPMHooking_map.Hooks.inc: In function ‘HP_bg_team_delete’: ../plugins/HPMHooking/HPMHooking_map.Hooks.inc:2660:3: error: too few arguments to function ‘HPMHooks.source.bg.team_delete’ ../plugins/HPMHooking/HPMHooking_map.Hooks.inc: In function ‘HP_bg_create’: ../plugins/HPMHooking/HPMHooking_map.Hooks.inc:2821:3: warning: passing argument 4 of ‘HPMHooks.source.bg.create’ makes integer from pointer without a cast [enabled by default] ../plugins/HPMHooking/HPMHooking_map.Hooks.inc:2821:3: note: expected ‘int’ but argument is of type ‘const char *’ ../plugins/HPMHooking/HPMHooking_map.Hooks.inc:2821:3: error: too few arguments to function ‘HPMHooks.source.bg.create’ Makefile:94: recipe for target '../../plugins/HPMHooking_map.so' failed make[1]: *** [../../plugins/HPMHooking_map.so] Error 1 make[1]: Leaving directory '/usr/local/test/src/plugins' Makefile:116: recipe for target 'plugins' failed make: *** [plugins] Error 2