Jump to content
  • 0

Please HELP ME. Im Loosing my file char-server


Virtues46

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/11/14
  • Last Seen:  

Can someone help me with this error please ?

Error char-server.txt

login as: root
[email protected]'s password:
Last login: Tue Sep 30 17:52:42 2014 from 202.159.127.178
[root@moment-ro ~]# cd trunk
[root@moment-ro trunk]# ./athena-start stop
[root@moment-ro trunk]# ./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... yes
checking whether gcc supports __thread specifier (TLS)... yes
checking whether gcc supports -Wno-unused-parameter... no
checking whether gcc supports -flto... no
checking whether gcc supports -Wno-pointer-sign... yes
checking whether gcc can actually use -Wno-pointer-sign... yes
checking whether gcc supports -Wno-switch... yes
checking whether gcc supports -fPIC... yes
checking whether gcc supports -fno-strict-aliasing... yes
checking whether gcc supports -Wconversion... 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 for inflateEnd in -lz... yes
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 pthread_create in -lpthread... yes
checking for pthread_sigmask in -lpthread... yes
checking for pthread_attr_init in -lpthread... yes
checking for pthread_attr_setstacksize in -lpthread... yes
checking for pthread_attr_destroy in -lpthread... yes
checking for pthread_cancel in -lpthread... yes
checking for pthread_join in -lpthread... yes
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... 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 library containing pcre_study... -lpcre
checking PCRE library (optional)... yes (7.8)
checking host OS... Linux
checking for MinGW... no
configure: Configure finish, CFLAGS= -g -O2 -DMAXCONN=16384 -pipe -ffast-math -W all -march=i686 -DHAS_TLS -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHA VE_STRNLEN  -Wno-pointer-sign -DHAVE_MONOTONIC_CLOCK
configure: LDFLAGS= -march=i686 -L/usr/lib -lpthread
configure: output name =  login-server, char-server, map-server
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/tool/Makefile
config.status: creating src/test/Makefile
[root@moment-ro trunk]# make clean
make[1]: Entering directory `/root/trunk/src/common'
        CLEAN   common
make[1]: Leaving directory `/root/trunk/src/common'
make[1]: Entering directory `/root/trunk/3rdparty/mt19937ar'
        CLEAN   mt19937ar
make[1]: Leaving directory `/root/trunk/3rdparty/mt19937ar'
make[1]: Entering directory `/root/trunk/3rdparty/libconfig'
        CLEAN   libconfig
make[1]: Leaving directory `/root/trunk/3rdparty/libconfig'
make[1]: Entering directory `/root/trunk/src/login'
        CLEAN   login
make[1]: Leaving directory `/root/trunk/src/login'
make[1]: Entering directory `/root/trunk/src/char'
        CLEAN   char
make[1]: Leaving directory `/root/trunk/src/char'
make[1]: Entering directory `/root/trunk/src/map'
        CLEAN   map
make[1]: Leaving directory `/root/trunk/src/map'
make[1]: Entering directory `/root/trunk/src/tool'
        CLEAN   tool
make[1]: Leaving directory `/root/trunk/src/tool'
make[1]: Entering directory `/root/trunk/src/test'
        CLEAN   test
make[1]: Leaving directory `/root/trunk/src/test'
[root@moment-ro trunk]# make sql
make[1]: Entering directory `/root/trunk/3rdparty/mt19937ar'
        CC      mt19937ar.c
make[1]: Leaving directory `/root/trunk/3rdparty/mt19937ar'
make[1]: Entering directory `/root/trunk/3rdparty/libconfig'
        CC      libconfig.c
        CC      grammar.c
        CC      scanctx.c
        CC      scanner.c
        CC      strbuf.c
make[1]: Leaving directory `/root/trunk/3rdparty/libconfig'
make[1]: Entering directory `/root/trunk/src/common'
        MKDIR   obj_all
make[1]: Warning: File `../common/mmo.h' has modification time 5e+04 s in the fu ture
        CC      core.c
        CC      socket.c
        CC      timer.c
        CC      db.c
        CC      nullpo.c
        CC      malloc.c
        CC      showmsg.c
        CC      strlib.c
        CC      utils.c
        CC      grfio.c
        CC      mapindex.c
        CC      ers.c
        CC      md5calc.c
        CC      core.c
        CC      socket.c
        CC      malloc.c
        CC      random.c
        CC      des.c
        CC      conf.c
        CC      thread.c
        CC      mutex.c
        CC      raconf.c
        CC      mempool.c
        CC      msg_conf.c
        CC      cli.c
        AR      obj_all/common.a
        MKDIR   obj_sql
        CC      sql.c
        AR      obj_sql/common_sql.a
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/root/trunk/src/common'
make[1]: Entering directory `/root/trunk/src/login'
        MKDIR   obj_sql
make[1]: Warning: File `../common/mmo.h' has modification time 5e+04 s in the fu ture
        CC      login.c
        CC      account_sql.c
        CC      ipban_sql.c
        CC      loginlog_sql.c
        LD      login-server
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Leaving directory `/root/trunk/src/login'
make[1]: Entering directory `/root/trunk/src/char'
        MKDIR   obj_sql
        CC      char.c
char.c: In function 'mmo_char_fromsql':
char.c:1275: error: 'O' undeclared (first use in this function)
char.c:1275: error: (Each undeclared identifier is reported only once
char.c:1275: error: for each function it appears in.)
make[1]: *** [obj_sql/char.o] Error 1
make[1]: Leaving directory `/root/trunk/src/char'
make: *** [char] Error 2
[root@moment-ro trunk]# ./athena-start start
Athena Starting...
            (c) 2013 rAthena Project


checking...
char-server does not exist extiting
[root@moment-ro trunk]# ./athena-start start
Athena Starting...
            (c) 2013 rAthena Project


checking...
char-server does not exist extiting
[root@moment-ro trunk]# ./athena-start start

So, I want to compile mmo.h and then im using putty login into my trunk files and then I type a command like this :

./configure -> enter

Make clean -> enter

Make sql -> enter

And then after that I got an error like above what I’ve just told.

And suddendly my char-server.txt is gone T__T

So I can’t start my server when I type :

./athena-start start

How to solve this problem ? How to get my char-server.txt back ?
Please someone help me
...

 

Edited by Virtues46
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

1. you're not using the latest git. start from here. no further question

http://rathena.org/wiki/Category:Installation

 

are you still using SVN? how do you checkout a repository? svn checkout or git clone?

 

however, I told you to do ./configure --enable-64-bit. did you do that or is your system 32-bit?

and of course, char-server.exe is not there, on the GIT repo. each system that wants to run it must build it by themself

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   10
  • Joined:  07/17/14
  • Last Seen:  

chmod -R 777 path/rAthnea

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1511
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

what revision ? try download latest revision here : https://github.com/rathena/rathena/commits/master

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

Can someone help me with this error please ?

Error char-server.txt

So, I want to compile mmo.h and then im using putty login into my trunk files and then I type a command like this :

./configure -> enter

Make clean -> enter

Make sql -> enter

And then after that I got an error like above what I’ve just told.

And suddendly my char-server.txt is gone T__T

So I can’t start my server when I type :

./athena-start start

How to solve this problem ? How to get my char-server.txt back ?

Please someone help me ...

You mean, char-server.exe?

if you're using the latest git, then the command should follow:

./configure (if you're using a 64-bit OS (check: uname -m. x86_64 is 64 bit and i686 is 32 bit.), use ./configure --enable-64bit)

make clean

make server

 

There's a problem saying that "Clock skew detected".

try this: https://github.com/linux-sunxi/linux-sunxi/issues/62

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  09/11/14
  • Last Seen:  

 

Can someone help me with this error please ?

Error char-server.txt

So, I want to compile mmo.h and then im using putty login into my trunk files and then I type a command like this :

./configure -> enter

Make clean -> enter

Make sql -> enter

And then after that I got an error like above what I’ve just told.

And suddendly my char-server.txt is gone T__T

So I can’t start my server when I type :

./athena-start start

How to solve this problem ? How to get my char-server.txt back ?

Please someone help me ...

You mean, char-server.exe?

if you're using the latest git, then the command should follow:

./configure (if you're using a 64-bit OS (check: uname -m. x86_64 is 64 bit and i686 is 32 bit.), use ./configure --enable-64bit)

make clean

make server

 

There's a problem saying that "Clock skew detected".

try this: https://github.com/linux-sunxi/linux-sunxi/issues/62

 

 

 

Can someone help me with this error please ?

Error char-server.txt

So, I want to compile mmo.h and then im using putty login into my trunk files and then I type a command like this :

./configure -> enter

Make clean -> enter

Make sql -> enter

And then after that I got an error like above what I’ve just told.

And suddendly my char-server.txt is gone T__T

So I can’t start my server when I type :

./athena-start start

How to solve this problem ? How to get my char-server.txt back ?

Please someone help me ...

You mean, char-server.exe?

if you're using the latest git, then the command should follow:

./configure (if you're using a 64-bit OS (check: uname -m. x86_64 is 64 bit and i686 is 32 bit.), use ./configure --enable-64bit)

make clean

make server

 

There's a problem saying that "Clock skew detected".

try this: https://github.com/linux-sunxi/linux-sunxi/issues/62

 

 

yes sir , i mean char-server

yesterday i have that file and my server is on as normaly but yet after i

./configure

make clean

make sql

Like i told, i got an error that cause my char-server is deleted (or error cant be compiled?)

 

i've tried your suggestion

./configure

make clean

make server --> when i do this , this "make: *** No rule to make target `server'.  Stop." is appear...

Can you help me ? :)

what revision ? try download latest revision here : https://github.com/rathena/rathena/commits/master

i can't find char-server.exe there ...

 

is it possible to use another char-server.exe instead of using our own file?

What cause will appear after we using char-server.exe from another ? Rollback data? :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...