Hello, i'm trying to make the server right after cloning it from repo. My os is ubuntu 14.10. Prerequirements and installation from README.md done. when i try to "make sql" i got an error:
make[1]: вход в каталог «/home/ekta/Hercules/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/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crt1.o: In function `_start':/build/buildd/glibc-2.19/csu/../sysdeps/x86_64/start.S:118: undefined reference to `main'collect2: error: ld returned 1 exit statusMakefile:89: ошибка выполнения рецепта для цели «../../login-server»make[1]: *** [../../login-server] Ошибка 1make[1]: выход из каталога «/home/ekta/Hercules/src/login»Makefile:96: ошибка выполнения рецепта для цели «login_sql»
configure log(mb someone need it):
checking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables...checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking whether make sets $(MAKE)... yeschecking for gcc... (cached) gccchecking whether we are using the GNU C compiler... (cached) yeschecking whether gcc accepts -g... (cached) yeschecking for gcc option to accept ISO C89... (cached) none neededchecking how to run the C preprocessor... gcc -Echecking for ar... /usr/bin/archecking whether byte ordering is bigendian... nochecking whether gcc produces 32bit code... nochecking whether gcc supports __thread specifier (TLS)... yeschecking whether gcc supports -flto... yeschecking whether gcc supports -Wno-unused-parameter... yeschecking whether gcc can actually use -Wno-unused-parameter... yeschecking whether gcc supports -Wno-clobbered... yeschecking whether gcc supports -Wempty-body... yeschecking whether gcc supports -Wnewline-eof... nochecking whether gcc supports -Wint-conversion... nochecking whether gcc supports -Wenum-conversion... nochecking whether gcc supports -Wshorten-64-to-32... nochecking whether gcc supports -Wconstant-conversion... nochecking whether gcc supports -Wbool-conversion... nochecking whether gcc supports -Wformat-security... yeschecking whether gcc supports -Wno-format-nonliteral... yeschecking whether gcc supports -Wno-switch... yeschecking whether gcc supports -Wno-missing-field-initializers... yeschecking whether gcc supports -Wshadow... yeschecking whether gcc can efficiently use -Wshadow... yeschecking whether gcc supports -fPIC... yeschecking how to make shared objects... -shared yeschecking whether gcc needs -Wl,--no-undefined to check for undefined references in shared objects... nochecking whether gcc needs -fPIC for shared objects... yeschecking whether gcc supports -fno-strict-aliasing... yeschecking for setrlimit... yeschecking for strnlen... yeschecking for uselocale... yeschecking for newlocale... yeschecking for freelocale... yeschecking xlocale.h usability... yeschecking xlocale.h presence... yeschecking for xlocale.h... yeschecking host OS... Linuxchecking for MinGW... nochecking for library containing inflateEnd... -lzchecking zlib.h usability... yeschecking zlib.h presence... yeschecking for zlib.h... yeschecking for library containing sqrt... -lmchecking for library containing clock_gettime... none requiredchecking whether CLOCK_MONOTONIC is supported and works... yeschecking for library containing pthread_create... -lpthreadchecking for library containing pthread_sigmask... none requiredchecking for library containing pthread_attr_init... none requiredchecking for library containing pthread_attr_setstacksize... none requiredchecking for library containing pthread_attr_destroy... none requiredchecking for library containing pthread_cancel... none requiredchecking for library containing pthread_join... none requiredchecking for mysql_config... /usr/bin/mysql_configchecking for mysql_init... yeschecking mysql.h usability... yeschecking mysql.h presence... yeschecking for mysql.h... yeschecking MySQL library (required)... yes (5.5.41)checking for pcre_study in -lpcre... yeschecking PCRE library (optional)... yeschecking for doxygen... nochecking for perl... yesconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/common/Makefileconfig.status: creating 3rdparty/mt19937ar/Makefileconfig.status: creating 3rdparty/libconfig/Makefileconfig.status: creating src/char/Makefileconfig.status: creating src/login/Makefileconfig.status: creating src/map/Makefileconfig.status: creating src/plugins/Makefileconfig.status: creating src/tool/Makefileconfig.status: creating src/test/Makefileconfig.status: creating tools/HPMHookGen/Makefile
Please help If i choose wrong section, please move this topic to right one
Hello, i'm trying to make the server right after cloning it from repo.
My os is ubuntu 14.10. Prerequirements and installation from README.md done.
when i try to "make sql" i got an error:
configure log(mb someone need it):
Please help If i choose wrong section, please move this topic to right one
Share this post
Link to post
Share on other sites