Jump to content
  • 0

Error while copmiling server at command [make sql]


Question

Posted

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

18 answers to this question

Recommended Posts

  • 1
Posted
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
  • 0
Posted (edited)
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
  • 0
Posted
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..

 

  • 0
Posted (edited)
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...