Jump to content
  • 0

Error while compiling in debian.


Raijin

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  09/10/13
  • Last Seen:  

root@kd28052:~/Server# make sql
make[1]: Entering directory `/root/Server/3rdparty/mt19937ar'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Server/3rdparty/mt19937ar'
make[1]: Entering directory `/root/Server/3rdparty/libconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Server/3rdparty/libconfig'
make[1]: Entering directory `/root/Server/src/common'
make[1]: Nothing to be done for `sql'.
make[1]: Leaving directory `/root/Server/src/common'
make[1]: Entering directory `/root/Server/src/login'
        LD      login-server
make[1]: Leaving directory `/root/Server/src/login'
make[1]: Entering directory `/root/Server/src/char'
        LD      char-server
make[1]: Leaving directory `/root/Server/src/char'
make[1]: Entering directory `/root/Server/src/map'
make[1]: *** No rule to make target `obj_sql/map.o', needed by `map-server'.  Stop.
make[1]: Leaving directory `/root/Server/src/map'
make: *** [map] Error 2


 

When im trying to compile i got these error somebody have any idea?

 

Greets Raijin

 

EDIT:

I just testet a complete new rAthena folder.(Without changes)

Its working. But why my folder (its the same revision) not working. (there are some custom settings in my folder like rates and joblevel etc. working perfect on windows)

 

EDIT2:

My obj_sql folder in map is empty

 

 

./configure --enable-packetver=YYYYMMDD  
 

doesnt generate make files for this folder why??

Edited by Raijin
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  270
  • Reputation:   20
  • Joined:  12/10/11
  • Last Seen:  

what source code edits did you do

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  09/10/13
  • Last Seen:  

i edited :map.h, renewal.h, mmo.h. But i tested it i put the orginal header files but it the same :/

Edited by Raijin
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Raijin,

 

Show us the results of './configure'.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  09/10/13
  • Last Seen:  

root@kd28052:~/Server# ./configure --enable-packetver=20120410
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 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.66)
checking for library containing pcre_study... -lpcre
checking PCRE library (optional)... yes (8.02)
checking host OS... Linux
checking for MinGW... no
configure: Configure finish, CFLAGS= -g -O2 -DMAXCONN=16384 -pipe -ffast-math -Wall -DHAS_TLS -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DPACKETVER=20120410  -Wno-pointer-sign -DHAVE_MONOTONIC_CLOCK
configure: LDFLAGS= -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

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Raijin,

 

Your './configure' looks fine... maybe try running 'make clean' before doing 'make sql'.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

Have you tried applying your changes to a newly cloned rAthena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  09/10/13
  • Last Seen:  

THX everyone its working but I dont know why.

Edited by Raijin
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...