akbare

Members
  • Content count

    39
  • Joined

  • Last visited

  1. hmm... What version should I wear ? im use centos
  2. this ./configure [[email protected] ~]# cd /root/eAkbare [[email protected]]# ./configure 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... no checking whether gcc supports __thread specifier (TLS)... yes checking whether gcc accepts -rdynamic... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc can actually use -Wno-unused-parameter... 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 -Wformat-security... yes checking whether gcc supports -Wno-format-nonliteral... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -Wno-missing-field-initializers... 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 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... -lrt checking whether CLOCK_MONOTONIC is supported and works... yes checking for library containing pthread_create... none required 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 execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for library containing backtrace... 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.1.73) 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 [[email protected]]# and this ./make sql [[email protected]]# make sql MAKE mt19937ar make[1]: Entering directory `/root/eAkbare/3rdparty/mt19937ar' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/eAkbare/3rdparty/mt19937ar' MAKE libconfig make[1]: Entering directory `/root/eAkbare/3rdparty/libconfig' CC libconfig.c CC grammar.c CC scanctx.c CC scanner.c CC strbuf.c make[1]: Leaving directory `/root/eAkbare/3rdparty/libconfig' MAKE common_sql make[1]: Entering directory `/root/eAkbare/src/common' AR obj_all/common.a AR obj_sql/common_sql.a AR obj_all/common_mini.a make[1]: Leaving directory `/root/eAkbare/src/common' MAKE login_sql make[1]: Entering directory `/root/eAkbare/src/login' LD login-server make[1]: Leaving directory `/root/eAkbare/src/login' MAKE char_sql make[1]: Entering directory `/root/eAkbare/src/char' LD char-server make[1]: Leaving directory `/root/eAkbare/src/char' MAKE map_sql make[1]: Entering directory `/root/eAkbare/src/map' LD map-server obj_sql/npc_chat.o: In function `npc_chat_defaults': /root/eAkbare/src/map/npc_chat.c:464: undefined reference to `pcre_free' /root/eAkbare/src/map/npc_chat.c:461: undefined reference to `pcre_compile' /root/eAkbare/src/map/npc_chat.c:462: undefined reference to `pcre_study' /root/eAkbare/src/map/npc_chat.c:463: undefined reference to `pcre_exec' /root/eAkbare/src/map/npc_chat.c:465: undefined reference to `pcre_copy_substring' /root/eAkbare/src/map/npc_chat.c:466: undefined reference to `pcre_free_substring' /root/eAkbare/src/map/npc_chat.c:467: undefined reference to `pcre_copy_named_substring' /root/eAkbare/src/map/npc_chat.c:468: undefined reference to `pcre_get_substring' collect2: ld returned 1 exit status make[1]: *** [../../map-server] Error 1 make[1]: Leaving directory `/root/eAkbare/src/map' make: *** [map_sql] Error 2 [[email protected]]#
  3. oke thanks' compile not error how about this CC status.c CC storage.c CC trade.c CC unit.c CC vending.c LD map-server obj_sql/npc_chat.o: In function `npc_chat_defaults': /root/eAkbare/src/map/npc_chat.c:464: undefined reference to `pcre_free' /root/eAkbare/src/map/npc_chat.c:461: undefined reference to `pcre_compile' /root/eAkbare/src/map/npc_chat.c:462: undefined reference to `pcre_study' /root/eAkbare/src/map/npc_chat.c:463: undefined reference to `pcre_exec' /root/eAkbare/src/map/npc_chat.c:465: undefined reference to `pcre_copy_substring' /root/eAkbare/src/map/npc_chat.c:466: undefined reference to `pcre_free_substring' /root/eAkbare/src/map/npc_chat.c:467: undefined reference to `pcre_copy_named_substring' /root/eAkbare/src/map/npc_chat.c:468: undefined reference to `pcre_get_substring' collect2: ld returned 1 exit status make[1]: *** [../../map-server] Error 1 make[1]: Leaving directory `/root/eAkbare/src/map' make: *** [map_sql] Error 2 [[email protected]]#
  4. i try move to other VPS and this my error sir i try this command : # yum install dos2unix # dos2unix sysinfogen.sh # chmod +x sysinfogen.sh and same error i try to use antoher file [configure] [hercules] can compile thanks for advance
  5. yup, i use ./configure --with-pcre && make clean && make sql and try to ./configure make clean make sql same for error
  6. i found this error. maybe someone can help me make[1]: Entering directory `/root/hercules/3rdparty/mt19937ar' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/hercules/3rdparty/mt19937ar' MAKE libconfig make[1]: Entering directory `/root/hercules/3rdparty/libconfig' CC libconfig.c CC grammar.c CC scanctx.c CC scanner.c CC strbuf.c make[1]: Leaving directory `/root/hercules/3rdparty/libconfig' MAKE common_sql make[1]: Entering directory `/root/hercules/src/common' AR obj_all/common.a AR obj_sql/common_sql.a AR obj_all/common_mini.a make[1]: Leaving directory `/root/hercules/src/common' MAKE login_sql make[1]: Entering directory `/root/hercules/src/login' LD login-server make[1]: Leaving directory `/root/hercules/src/login' MAKE char_sql make[1]: Entering directory `/root/hercules/src/char' LD char-server make[1]: Leaving directory `/root/hercules/src/char' MAKE map_sql make[1]: Entering directory `/root/hercules/src/map' LD map-server obj_sql/clif.o: In function `clif_parse_GlobalMessage': /root/hercules/src/map/clif.c:9849: undefined reference to `npc_chat' obj_sql/HPMmap.o: In function `HPM_shared_symbols': /root/hercules/src/map/../common/HPMSymbols.inc.h:401: undefined reference to `npc_chat' /root/hercules/src/map/../common/HPMSymbols.inc.h:422: undefined reference to `libpcre' obj_sql/map.o: In function `map_load_defaults': /root/hercules/src/map/map.c:5777: undefined reference to `npc_chat_defaults' obj_sql/npc.o: In function `npc_unload': /root/hercules/src/map/npc.c:2285: undefined reference to `npc_chat' obj_sql/script.o: In function `op_2str': /root/hercules/src/map/script.c:3774: undefined reference to `libpcre' /root/hercules/src/map/script.c:3784: undefined reference to `libpcre' /root/hercules/src/map/script.c:3787: undefined reference to `libpcre' /root/hercules/src/map/script.c:3795: undefined reference to `libpcre' /root/hercules/src/map/script.c:3823: undefined reference to `libpcre' obj_sql/script.o:/root/hercules/src/map/script.c:3825: more undefined references to `libpcre' follow obj_sql/script.o:(.rodata+0x37e0): undefined reference to `buildin_defpattern' obj_sql/script.o:(.rodata+0x3800): undefined reference to `buildin_activatepset' obj_sql/script.o:(.rodata+0x3820): undefined reference to `buildin_deactivatepset' obj_sql/script.o:(.rodata+0x3840): undefined reference to `buildin_deletepset' collect2: ld returned 1 exit status make[1]: *** [../../map-server] Error 1 make[1]: Leaving directory `/root/hercules/src/map' make: *** [map_sql] Error 2 yum -y install pcre pcre-devel httpd-devel subversion gcc makeerror libpcreOS: centos 6 fresh emu just edited define PACKETVER thanks for advance
  7. maybe u can contact gepard for this info
  8. stay here
  9. try in item_db
  10. the file ready in my Hercules folder check in my attach file not yet experienced this yet, but search on internet shows that, if you have imported it from windows, then linebreaks are different(linux and windows handles it differently)So do these commands dos2unix sysinfogen.shchmod +x sysinfogen.shThen , make all thanks for reply brother OMG im forget this command ok thanks problem solve
  11. the file ready in my Hercules folder check in my attach file
  12. Hello Hercules i want to ask about compiling my server i'm use latest git Hercules source i'm found trouble this CentOS Linux 6.5 ./configure --with-pcre && make clean && make sql [[email protected]]# chmod a+x sysinfogen.sh[[email protected]]# make sql MAKE mt19937armake[1]: Entering directory `/root/Hercules/3rdparty/mt19937ar'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/root/Hercules/3rdparty/mt19937ar' MAKE libconfigmake[1]: Entering directory `/root/Hercules/3rdparty/libconfig'make[1]: Nothing to be done for `all'.make[1]: Leaving directory `/root/Hercules/3rdparty/libconfig'make: ./sysinfogen.sh: Command not found someone can help me ?? thanks for advance
  13. no vending check in mapflags npc/mapflag/novending.txt disable to allow use // use GIT to checkout