Jump to content
  • 0

Error while copmiling server at command [make sql]


Diana

Question


  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

Error while copmiling server at command [make sql] 

x4SFAol.png

error in words 

make sql
make[1]: Entering directory `/home/Server/3rdparty/mt19937ar'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Server/3rdparty/mt19937ar'
make[1]: Entering directory `/home/Server/3rdparty/libconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Server/3rdparty/libconfig'
make[1]: Entering directory `/home/Server/src/common'
        CXX     core.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized"
make[1]: *** [obj/core.o] Error 1
make[1]: Leaving directory `/home/Server/src/common'
make: *** [common] Error 2

 

Please Help me

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

4 hours ago, Diana said:

Error while copmiling server at command [make sql] 

x4SFAol.png

error in words 


make sql
make[1]: Entering directory `/home/Server/3rdparty/mt19937ar'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Server/3rdparty/mt19937ar'
make[1]: Entering directory `/home/Server/3rdparty/libconfig'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/Server/3rdparty/libconfig'
make[1]: Entering directory `/home/Server/src/common'
        CXX     core.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: warning: unrecognized command line option "-Wno-maybe-uninitialized"
make[1]: *** [obj/core.o] Error 1
make[1]: Leaving directory `/home/Server/src/common'
make: *** [common] Error 2

 

Please Help me

Hi diana. Please follow this tutorial. Its works on me. I believe it should works on you too. Good luck. 

https://rathena.org/board/topic/111492-guide-centos-6-gcc-update-to-49/

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

What is your  GCC version ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

How can i know it? @Cyro

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18) @Cyro

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Try updating it to 4.8 or later 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

Please can you tell me the command that can update it?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

What is your operating system ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

CentOS 6

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

Just now, Diana said:

CentOS 6

Isn't rA use make server? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

Yes, I downloaded it from here : 

git clone https://github.com/rathena/rathena.git ~/rAthena

and installed it like this page : https://github.com/rathena/rathena/wiki/Install-on-Centos

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

rA no longer use make sql command.. instead it use make server command lol

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

The same error

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo

yum -y install devtoolset-2-gcc devtoolset-2-binutils devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran
scl enable devtoolset-2 bash
source /opt/rh/devtoolset-2/enable

run this commands to update your GCC, then check your GCC version

and i suggest you to update your os to centos 7

 

make sql

make server  still works fine 

 

 

 

Edited by Cyro
  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

10 minutes ago, Diana said:

CentOS 6

please go through this link.. i'm not using centos, so i dunno how to fix this error. but,  read somewhere in the link down below. centos 6 got this problem. u need to use centos 7 instead..

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

maybe use should install G++

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  83
  • Topics Per Day:  0.03
  • Content Count:  188
  • Reputation:   3
  • Joined:  12/17/16
  • Last Seen:  

@mrlongshen It's working !! 

Thanks for al replies 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

On 7/4/2017 at 0:36 PM, Diana said:

@mrlongshen It's working !! 

Thanks for al replies 

Yeay ! Centos life ! AHAHAHAHA :D

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  399
  • Reputation:   69
  • Joined:  12/26/15
  • Last Seen:  

12 minutes ago, mrlongshen said:

Yeay ! Centos life ! AHAHAHAHA :D

dude... centos don't give me life in if i want view all the changes i have done using git diff command... the diff got NO colors to distinguish between the original contents / lines which got removed & added contents / lines.. u will see the diff more clearly on ubuntu.. the diff on ubuntu comes with green & red color which make u easier to notice the changes.. see the below screenshot... if u really optimize & utilize git diff & git diff command, i guess u should switch to ubuntu..

EDIT: -- markings are original contents / lines those u remove while ++ markings are added contents / lines

595cc1b161326_gitdiff.thumb.png.1e7f34ed3bba00adf312e0b7bce1a992.png

 

Edited by hazimjauhari90
  • Upvote 1
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...